public static final class MediaStore.Images.Media extends Object implements MediaStore.Images.ImageColumns
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTENT_TYPE |
static String |
DEFAULT_SORT_ORDER |
static Uri |
EXTERNAL_CONTENT_URI |
static Uri |
INTERNAL_CONTENT_URI |
BUCKET_DISPLAY_NAME, BUCKET_ID, DATE_TAKEN, DESCRIPTION, IS_PRIVATE, LATITUDE, LONGITUDE, MINI_THUMB_MAGIC, ORIENTATION, PICASA_IDDATA, DATE_ADDED, DATE_MODIFIED, DISPLAY_NAME, HEIGHT, MIME_TYPE, SIZE, TITLE, WIDTH_COUNT, _ID| Constructor and Description |
|---|
MediaStore.Images.Media() |
| Modifier and Type | Method and Description |
|---|---|
static Bitmap |
getBitmap(ContentResolver cr,
Uri url) |
static Uri |
getContentUri(String volumeName) |
static String |
insertImage(ContentResolver cr,
Bitmap source,
String title,
String description) |
static String |
insertImage(ContentResolver cr,
String imagePath,
String name,
String description) |
static Cursor |
query(ContentResolver cr,
Uri uri,
String[] projection) |
static Cursor |
query(ContentResolver cr,
Uri uri,
String[] projection,
String where,
String orderBy) |
static Cursor |
query(ContentResolver cr,
Uri uri,
String[] projection,
String selection,
String[] selectionArgs,
String orderBy) |
public static final Uri INTERNAL_CONTENT_URI
public static final Uri EXTERNAL_CONTENT_URI
public static final String CONTENT_TYPE
public static final String DEFAULT_SORT_ORDER
public static final Cursor query(ContentResolver cr, Uri uri, String[] projection)
public static final Cursor query(ContentResolver cr, Uri uri, String[] projection, String where, String orderBy)
public static final Cursor query(ContentResolver cr, Uri uri, String[] projection, String selection, String[] selectionArgs, String orderBy)
public static final Bitmap getBitmap(ContentResolver cr, Uri url) throws FileNotFoundException, IOException
FileNotFoundExceptionIOExceptionpublic static final String insertImage(ContentResolver cr, String imagePath, String name, String description) throws FileNotFoundException
FileNotFoundExceptionpublic static final String insertImage(ContentResolver cr, Bitmap source, String title, String description)
Copyright © 2008-2013. All Rights Reserved.