On Thu, Jul 14, 2011 at 5:18 AM, Mohammad Abdelhadi <[email protected]> wrote: > I'm using the following code to call gallery browser and pick an image in my > App: > > Intent intent = new Intent(); > intent.setType("image/*"); > intent.setAction(Intent.ACTION_GET_CONTENT); > startActivityForResult(Intent.createChooser(intent, "Select Picture"), > SELECT_PICTURE); > > and it works well, but when i installed ES File Explorer on my device, I > noticed that it is being called too by the above code, which is something I > don't want!
Your users may have installed any number of applications capable of picking images. Please allow them to use whichever application they wish. If you absolutely must control the user experience, write your own image-picker activity. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- 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

