Integrate Adobe Photoshop Mobile inside your Android application


/ Published in: Java
Save to your folder(s)



Copy this code and paste it in your HTML
  1. // code inside an Activity method
  2. Uri imageToEditUri = … // uri of image to edit
  3. String imageToEditMimeType = … // must be of type “image/*”
  4. Intent launchEditor = new Intent();
  5. launchEditor.setAction(Intent.ACTION_EDIT);
  6. launchEditor.setDataAndType(imageToEditUri, imageToEditMimeType);
  7.  
  8. try
  9. {
  10. // start the editor activity
  11. startActivityForResult(launchEditor, LAUNCH_EDITOR);
  12. }
  13. catch (ActivityNotFoundException e)
  14. {
  15. // Handle error condition. Correct version of
  16. // Photoshop.com Mobile not installed?
  17. }

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.