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

