IT. Expert System.

Android Reference

MediaStore.Images.Media


android.provider

Class MediaStore.Images.Media

    • Field Detail

      • INTERNAL_CONTENT_URI

        public static final Uri INTERNAL_CONTENT_URI
        The content:// style URI for the internal storage.
      • EXTERNAL_CONTENT_URI

        public static final Uri EXTERNAL_CONTENT_URI
        The content:// style URI for the "primary" external storage volume.
      • CONTENT_TYPE

        public static final String CONTENT_TYPE
        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.
        See Also:
        Constant Field Values
      • DEFAULT_SORT_ORDER

        public static final String DEFAULT_SORT_ORDER
        The default sort order for this table
        See Also:
        Constant Field Values
    • Constructor Detail

      • MediaStore.Images.Media

        public MediaStore.Images.Media()
    • Method Detail

      • insertImage

        public static final String insertImage(ContentResolver cr,
                         String imagePath,
                         String name,
                         String description)
                                        throws FileNotFoundException
        Insert an image and create a thumbnail for it.
        Parameters:
        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
        Returns:
        The URL to the newly created image
        Throws:
        FileNotFoundException
      • insertImage

        public static final String insertImage(ContentResolver cr,
                         Bitmap source,
                         String title,
                         String description)
        Insert an image and create a thumbnail for it.
        Parameters:
        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
        Returns:
        The URL to the newly created image, or null if the image failed to be stored for any reason.
      • getContentUri

        public static Uri getContentUri(String volumeName)
        Get the content:// style URI for the image media table on the given volume.
        Parameters:
        volumeName - the name of the volume to get the URI for
        Returns:
        the URI to the image media table on the given volume


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 310 / 158677972. Delta: 0.02856 с