ryan_f wrote:
> I have Photoshop.com 1.1.0 (build 3) installed on my T-Mobile G1,
> Android 1.6 phone.  When trying to use the described intent, no
> application was found to handle it.
> ActivityNotFoundException
> No Activity found to handle Intent { act=android.intent.action.EDIT
> dat = file:///sdcard/pictures/20061021_NewYorkCity_121.jpg typ=image/
> * }
> 
> The code being used to launch:
>               String theIntentType = "image/*";
>               Intent theIntent = new Intent(Intent.ACTION_EDIT);
>               theIntent.setDataAndType(Uri.fromFile(aFile), theIntentType);
>               try {
>                       startActivity(theIntent);
>               } catch (Exception e) {
>                       //display dialog
>               }

Try an actual image type (e.g., image/png) instead of image/*, and see
if that has an impact.

Also, if aFile is not on the SD card, the Photoshop app may not have the
rights to access it.

(BTW, if the Adobe folk are watching this thread, you might want to
update your developer page with a pointer to where people should ask
this sort of question for you to be able to find it -- here?
StackOverflow on a specific tag? Some forum in adobe.com?)

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android Training in US: 14-18 June 2010: http://bignerdranch.com

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to