One the Nexus One front, the gallery was developed by CoolIris. There is a article on that on AndroidGuys:
http://www.androidguys.com/2010/01/07/cooliris-develops-media-gallery-for-the-nexus-one-joins-open-handset-alliance/ My guess is that they support all required gallery intents, but that may not translate well in the case of a single image. -carmen http://www.talkingandroid.com On 2/27/10, Mark Wyszomierski <[email protected]> wrote: > Yeah there's always the chance that some other application can catch > the intent, but the OS should present the user with a list of all > these apps for them to choose from. If it becomes annoying for them, > they can just permanently set which app to use to open that type of > data, I think that works well. I guess I could copy/paste the old code > for whatever activity displays single images into my app, I'd prefer > to give the user a choice though, maybe they have some other cool > image viewer app they'd like to use instead. It just seems like the > nexus one implementation is getting confused, trying to merge this > image I pass it into an album or something before displaying, maybe > there is some intent extra I can pass it to not do that. > > Thanks > > On Feb 27, 10:25 am, jotobjects <[email protected]> wrote: >> On Feb 26, 3:49 pm, Mark Murphy <[email protected]> wrote: >> >> > Mark Wyszomierski wrote: >> > > Ok so I found this: >> >> > > Intent intent = new Intent(android.content.Intent.ACTION_VIEW); >> > > intent.setDataAndType(uri, "image/jpg"); >> > > startActivity(intent); >> >> > > works great on the G1, the image viewing intent is just what I need - >> > > just simple pan and zoom. >> >> > Oh, cool, a generic Intent! >> >> But some other app installed on the device could declare the same >> intent filter and the the user would have to select which one. There >> is no way to predict what apps might do this now or in the future and >> if the user might install such apps or not. Also a particular device >> might replace the the gallery app with one that works differently than >> the behavior you want. >> >> Is there any way other than to install the gallery app source, or >> something similar, in your own app and invoke it with an explicit >> intent if you want to ensure a particular user experience? If many >> apps do this you wind up with duplication of code that uses available >> memory. > > -- > 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 -- Carmen http://www.twitter.com/CarmenDelessio http://www.talkingandroid.com http://www.facebook.com/BFFPhoto http://www.twitter.com/DroidDrop -- 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

