Return to Snippet

Revision: 24617
at March 5, 2010 07:25 by funkypanda


Initial Code
// code inside an Activity method
Uri imageToEditUri = … // uri of image to edit
String imageToEditMimeType = … // must be of type “image/*”
Intent launchEditor = new Intent();
launchEditor.setAction(Intent.ACTION_EDIT);
launchEditor.setDataAndType(imageToEditUri, imageToEditMimeType);

try
{
    // start the editor activity
    startActivityForResult(launchEditor, LAUNCH_EDITOR);
}
catch (ActivityNotFoundException e)
{
    // Handle error condition. Correct version of
    // Photoshop.com Mobile not installed?
}

Initial URL
http://mobile.photoshop.com/android/developers.html

Initial Description


Initial Title
Integrate Adobe Photoshop Mobile inside your Android application

Initial Tags
image, android

Initial Language
Java