[android-developers] Re: Photoshop.com Mobile editor now available as an Intent

2010-03-15 Thread webmonkey
For your storePicture function it is better to run the MediaScanner to add an image file to the MediaStore, see http://developer.android.com/reference/android/media/MediaScannerConnection.html Just create a MediaScannerConnection, provide a MediaScannerConnectionClient, and scan the file. The

[android-developers] Re: Photoshop.com Mobile editor now available as an Intent

2010-03-15 Thread webmonkey
There is also a bug in PS mobile, and one more reason why you should not assume anything about the resulting intent data. When you send a PNG file for editing, PS returns a file with the PNG extension but it is actually a JPEG. On Mar 15, 4:54 pm, webmonkey webmonke...@gmail.com wrote: For your

Re: [android-developers] Re: Photoshop.com Mobile editor now available as an Intent

2010-03-15 Thread Kevin Gaudin
Thanks for the tip, my storePicture() function was based on some code that I had read in the android camera app... and I wasn't really happy with it so I will sure modify this soon. Thanks again ! On Mon, Mar 15, 2010 at 4:54 PM, webmonkey webmonke...@gmail.com wrote: For your storePicture

[android-developers] Re: Photoshop.com Mobile editor now available as an Intent

2010-03-14 Thread Nivek
You can use Astro File Manager or Estrongs File Explorer to backup the Photoshop app on your sdcard. Then, transfer the apk on your computer and install it on a running emulator using adb. adb install Photoshop.apk Now, I implemented a workaround for the problem I detected before: Photoshop

Re: [android-developers] Re: Photoshop.com Mobile editor now available as an Intent

2010-03-13 Thread nayana urs
can we test this feature in emulator with regards Nayana On Fri, Mar 12, 2010 at 6:18 PM, Nivek kevin.gau...@gmail.com wrote: They could have added the result to the MediaStore and returned that uri... I'll have to do it myself or my edit button disappears after editing a picture...

[android-developers] Re: Photoshop.com Mobile editor now available as an Intent

2010-03-12 Thread Nivek
There is an inconsistency in their Uri handling... The app accepts only content:// Uris but provides the result as a file:// Uri... so it can't edit it's own result again without us having to work this around... They could have added the result to the MediaStore and returned that uri... I'll have

[android-developers] Re: Photoshop.com Mobile editor now available as an Intent

2010-03-12 Thread Nivek
They could have added the result to the MediaStore and returned that uri... I'll have to do it myself or my edit button disappears after editing a picture... Actually, this is what I will have to do as a workaround, but I can't see any reason why they shouldn't accept a file:// uri as an input

[android-developers] Re: Photoshop.com Mobile editor now available as an Intent

2010-03-11 Thread webmonkey
The document provided by Adobe does not mention how you should read the returned Uri. For compatibility with future versions and other image editors, you should not assume that it is a 'file:' scheme Uri, it could also be a 'content:' scheme Uri. The ContentResolver will handle it. here is the

Re: [android-developers] Re: Photoshop.com Mobile editor now available as an Intent

2010-03-08 Thread Mark Murphy
ryan_f wrote: @Frank Weiss - I do not believe so. I have not run any personal tests, but I have not seen any data I have not put there either. Nor have I compared file space to see if there's any missing. So I believe the permissions are still set and therefore private files are still

[android-developers] Re: Photoshop.com Mobile editor now available as an Intent

2010-03-07 Thread ryan_f
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 =

Re: [android-developers] Re: Photoshop.com Mobile editor now available as an Intent

2010-03-07 Thread Mark Murphy
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 =

[android-developers] Re: Photoshop.com Mobile editor now available as an Intent

2010-03-07 Thread Streets Of Boston
Try a 'content:' Uri instead of a 'file:' Uri. On Mar 7, 9:38 am, ryan_f bluebaracu...@gmail.com 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.

[android-developers] Re: Photoshop.com Mobile editor now available as an Intent

2010-03-07 Thread ryan_f
Try an actual image type (e.g., image/png) instead of image/*... I started with this approach and it didn't work. However, see below. Also, if aFile is not on the SD card, the Photoshop app may not have the rights to access it. aFile is most definitely on the SD card and the world has public

[android-developers] Re: Photoshop.com Mobile editor now available as an Intent

2010-03-07 Thread Streets Of Boston
I agree that it should work on any (local) Uri, file: and content: But i think they somehow need to tie it to the MediaStore content- provider. And this makes sense, because content-providers are the main mechanism with which data is shared amongst the applications. This means, that if you have

[android-developers] Re: Photoshop.com Mobile editor now available as an Intent

2010-03-07 Thread ryan_f
But i think that the Photoshop.com intent is designed with the idea that another app queries the *content-provider* for images (not the file-system) If your app is a file browser/manager and the user wants to open a file to edit instead of view means you only have the file in which to work.

Re: [android-developers] Re: Photoshop.com Mobile editor now available as an Intent

2010-03-07 Thread Frank Weiss
Correct me if I'm wrong, but wouldn't an inter-activity file intent fail due to Android's file system sandboxing model? If so, then you'll need to add a provider to let the PS activity get the content. On Sun, Mar 7, 2010 at 7:36 PM, ryan_f bluebaracu...@gmail.com wrote: But i think that the

[android-developers] Re: Photoshop.com Mobile editor now available as an Intent

2010-03-07 Thread ryan_f
Correct me if I'm wrong, but wouldn't an inter-activity file intent fail due to Android's file system sandboxing model? For files that are private to the app, you would be correct. People can remove the SD card from the phone and plug it into a laptop/ desktop and download a bunch of content

Re: [android-developers] Re: Photoshop.com Mobile editor now available as an Intent

2010-03-07 Thread Frank Weiss
@ryan_f Thanks for the clarification. You taught me something new. Hope it helps the OP. One question: When you remove the SD card and read it externally, are all Android app's data accessable? Sounds like a security hole. On Sun, Mar 7, 2010 at 10:01 PM, ryan_f bluebaracu...@gmail.com wrote:

[android-developers] Re: Photoshop.com Mobile editor now available as an Intent

2010-03-07 Thread ryan_f
@Frank Weiss - I do not believe so. I have not run any personal tests, but I have not seen any data I have not put there either. Nor have I compared file space to see if there's any missing. So I believe the permissions are still set and therefore private files are still unreadable even