Hello, I'm developing a game based on the images. I would like when you select an image in the gallery, my application appears in the list "complete action using". and when I select my application, it loads the image. My question is in two stages: - In the AndroidManifest.xml, I did: ... <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <data android:mimeType="image/png" /> </ Intent-filter> ... it does not work.
but in my application, I created an intent: Intent i = new Intent (Intent.ACTION_PICK, android.provider.MediaStore.Images.Media.INTERNAL_CONTENT_URI); i.setType ("image / png"); i.putExtra ("return-data", true); startActivityForResult (i IMAGE_PICK); I like to do something similar in the AndroidManifest.xml but how? can we do? - What is the name of the method that retrieves the selected image? startActivityForResult? another? Thank you in advance for any help Meakin -- 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