java.lang.Object | |
↳ | android.provider.MediaStore.Images.Media |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | CONTENT_TYPE | The MIME type of of this directory of images. | |||||||||
String | DEFAULT_SORT_ORDER | The default sort order for this table |
[Expand]
Inherited Constants
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.provider.BaseColumns
|
|||||||||||
From interface
android.provider.MediaStore.Images.ImageColumns
|
|||||||||||
From interface
android.provider.MediaStore.MediaColumns
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
EXTERNAL_CONTENT_URI | The content:// style URI for the "primary" external storage volume. | |||||||||
|
INTERNAL_CONTENT_URI | The content:// style URI for the internal storage. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Retrieves an image for the given url as a
Bitmap
.
|
||||||||||
|
Get the content:// style URI for the image media table on the
given volume.
|
||||||||||
|
Insert an image and create a thumbnail for it.
|
||||||||||
|
Insert an image and create a thumbnail for it.
|
||||||||||
|
|
||||||||||
|
|
||||||||||
|
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
The MIME type of of this directory of images. Note that each entry in this directory will have a standard image MIME type as appropriate -- for example, image/jpeg.
The default sort order for this table
The content:// style URI for the "primary" external storage volume.
The content:// style URI for the internal storage.
Retrieves an image for the given url as a
Bitmap
.
cr | The content resolver to use |
---|---|
url | The url of the image |
FileNotFoundException | |
IOException | |
FileNotFoundException |
Get the content:// style URI for the image media table on the given volume.
volumeName | the name of the volume to get the URI for |
---|
Insert an image and create a thumbnail for it.
cr | The content resolver to use |
---|---|
imagePath | The path to the image to insert |
name | The name of the image |
description | The description of the image |
FileNotFoundException |
---|
Insert an image and create a thumbnail for it.
cr | The content resolver to use |
---|---|
source | The stream to use for the image |
title | The name of the image |
description | The description of the image |
null
if the image failed to be stored
for any reason.