You would have to write your own chooser...  I have done this before when I
wanted to create a chooser that would all the user to choose between taking
a picture with the camera or choosing an existing picture from the
gallery.

I couldn't find a way to do that with the default chooser mechanism so I
wrote my own.  Basically I just created a listview  with a custom adapter
that takes a list of intents... I then query the PackageManager to get the
list of apps that can respond to those intents in the adapter.  Finally I
display the listview of apps in a dialog.

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Tue, Apr 17, 2012 at 5:03 AM, Mark Murphy <[email protected]>wrote:

> On Tue, Apr 17, 2012 at 4:55 AM, Put_tiMe <[email protected]> wrote:
> > I call 'Intent.createChooser' to let the user choose the app that he
> wants
> > to use to do the necessary action.
> >
> > Is it possible to get what the user chose, before the user chosen app
> starts
> > up.
>
> No, sorry.
>
> --
> 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
>

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