Posted By

funkypanda on 03/05/10


Tagged

image photoshop android


Versions (?)

Integrate Adobe Photoshop Mobile inside your Android application


 / Published in: Java
 

URL: http://mobile.photoshop.com/android/developers.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. }

Report this snippet  

You need to login to post a comment.