I would like my app to appear in the list within gmail. This list comes up when I click the Preview button within the Gmail app.
I would like to know what entries need to be added in the intent filter?
Thanks for the help in advance.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Have a look at Intent Filters:
http://developer.android.com/guide/components/intents-filters.html
Specifically, I think you’ll find the Note Pad Example helpful:
http://developer.android.com/guide/components/intents-filters.html#npex
Personally, I had this same exact issue a few hours ago. I needed to open text files with my app. To do so, I had to add this to my manifest:
With just this, I was able to make my app appear in the list of available applications to open text files from Astro, and allow it to be launched.
To make it actually handle opening the files, you need to add something like this to your onCreate in the activity: