I don't see how it would be.

On Wed, Apr 27, 2011 at 12:18 PM, Akshay Goel <[email protected]> wrote:

> Thanks Dianne!
>
> Would creating a content provider be of any help?
>
> -Akshay
>
> On Apr 26, 11:36 pm, Dianne Hackborn <[email protected]> wrote:
> > Sorry there is not a way to do this.  You'd have to query the package
> > manager yourself and show a selection UI that doesn't include your app.
> >
> >
> >
> >
> >
> > On Tue, Apr 26, 2011 at 5:26 PM, Akshay Goel <[email protected]>
> wrote:
> > > 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
> >
> > --
> > Dianne Hackborn
> > Android framework engineer
> > [email protected]
> >
> > Note: please don't send private questions to me, as I don't have time to
> > provide private support, and so won't reply to such e-mails.  All such
> > questions should be posted on public forums, where I and others can see
> and
> > answer them.
>
> --
> 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
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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