Home

Kumar Bibek edited this page Mar 1, 2016 · 9 revisions

Wiki

Runtime Permissions

The library uses two permissions which should be granted at runtime for devices running Android 6.0 and above. These permissions are: WRITE_EXTERNAL_STORAGE and READ_CONTACTS. Your app should handle the job of granting these permissions.

Common methods

Setting extras

The values will be directly passed to the target application. You should use this to take advantage of specific applications. Ex, some applications support cropping or editing the image before they give you the final image.

public void setExtras(Bundle extras);

# Setting cache location

Set the cache location for the intermediate files by passing a CacheLocation.

public void setCacheLocation(int cacheLocation);