@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: > > 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 that is public to every app on > the phone. Plus, apps can save files to the SD card specifically in > public mode so that anyone can see it, use it. File intents are meant > specifically for public files. Private files are indeed locked away > and cannot be used by anyone else and those would require a provider > of some kind for any app external to yours to be able to get at > anything contained within your private app space. > > On Mar 7, 11:29 pm, Frank Weiss <fewe...@gmail.com> wrote: > > 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 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. You have no idea what content provider supplies this particular > > > image since you aren't working with a provider, merely files on the SD > > > card itself. The mechanism Adobe has currently for just content > > > providers is all well and good, but the additional one for file > > > schemes would be nice too. =) > > > > > I wonder if a file browser should incorporate a file content provider > > > specifically to handle such tasks. *ponders* > > > > > On Mar 7, 7:33 pm, Streets Of Boston <flyingdutc...@gmail.com> wrote: > > > > 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 a file, you need to insert it into the > > > > MediaStore's image content-provider. The insert returns you an ID > > > > (Long value), which you then can use for Photoshop.com. > > > > > > 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) > > > > > -- > > > You received this message because you are subscribed to the Google > > > Groups "Android Developers" group. > > > To post to this group, send email to > android-developers@googlegroups.com > > > To unsubscribe from this group, send email to > > > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > <android-developers%2bunsubscr...@googlegroups.com<android-developers%252bunsubscr...@googlegroups.com> > > > > > For more options, visit this group at > > >http://groups.google.com/group/android-developers?hl=en > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en