Use queryIntentActivities(). On Wed, Apr 8, 2009 at 8:25 AM, nEx.Software <[email protected]>wrote:
> > To get a list of activities which can handle a data type: > Intent.queryIntentActivities() or Intent.queryIntentActivityOptions() > appear to be the ticket. > > or, just use: > > Intent.createChooser() > > On Apr 8, 7:56 am, "nEx.Software" <[email protected]> wrote: > > This is how I get the filename: > > > > File f1 = new File(getIntent().getData().getPath()); > > > > I don't know how to enumerate applications which can handle a certain > > type of file though. > > > > On Apr 7, 10:49 pm, Derek <[email protected]> wrote: > > > > > the other question is that if I'm develop an file explorer, how can I > > > know all the existing associations between file type (extensions) and > > > intents. > > > > > > > -- 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 -~----------~----~----~----~------~----~------~--~---

