在Android应用程序中集成Adobe Photoshop Mobile

【在Android应用程序中集成Adobe Photoshop Mobile】恢弘志士之气,不宜妄自菲薄。这篇文章主要讲述在Android应用程序中集成Adobe Photoshop Mobile相关的知识,希望能为你提供帮助。

  1. // code inside an Activity method
  2. Uri imageToEditUri = a€| // uri of image to edit
  3. String imageToEditMimeType = a€| // must be of type a€?image/*a€?
  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. }


    推荐阅读