Hello,

I am struggling with a weird problem. I have an application manifest
that defines intent filters for office files, .doc, .ppt, etc. So, the
user can go to an office file in a file explorer, choose open, and
select my application. My application is not really a document viewer;
it allows a user to extract images from a file.

Now, inside my application, I want to allow the user to view the
selected office file in a document viewer. For this, I am providing an
open button, which fires an ACTION_VIEW intent. When the activity
chooser comes up, it displays my application also as an option because
I have declared the intent filters in my manifest. In a nut shell, I
do not want my application to be one of the options when my
application sends the ACTION_VIEW intent.

Is there a way I can filter out my application from this chooser
dialog?

Thanks,

Akshay

P.S: I cannot register for the SEND filter instead of the VIEW filter
in my manifest due to my requirements.

-- 
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

Reply via email to