The following will get you a list of all applications on your phone as
ApplicationInfo objects (assuming you have a Context object):

PackageManager mgr = context.getPackageManager();
ArrayList<ApplicationInfo> appList =
(ArrayList<ApplicationInfo>)mgr.getInstalledApplications(0);

Hope this helps,
Justin

----------------------------------------------------------------------
There are only 10 types of people in the world...
Those who know binary and those who don't.
----------------------------------------------------------------------


On Tue, Sep 22, 2009 at 1:36 AM, Sean Hodges <[email protected]>wrote:

> I think he's trying to launch the Youtube app
>
> On Sep 22, 2009 7:29 AM, "Justin Anderson" <[email protected]>
> wrote:
>
> Are you trying to launch an activity that you created, or an arbitrary
> third party app?
>
> Thanks,
> Justin
> ----------------------------------------------------------------------
> There are only 10 types of people in the world...
> Those who know binary and those who don't.
> ----------------------------------------------------------------------
>
> On Fri, Sep 18, 2009 at 7:46 AM, Abhi <[email protected]> wrote:
> > > > Hi, > > After se...
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to