Hi,

I want to create an application with a user interface displaying all
the installed applications name, and user can choose an application
from there. Is it possible to display the names of all the installed
applications?

Thanks In Advance,
Perumal

On Mar 23, 6:35 pm, Jaya Hoondlani <jaya.hoondl...@gmail.com> wrote:
> Do you need anything like file browser?
>
> If that is the case you can specify a particular directory like data
> or sdcard  and get it contents..
>
> Let me know.
>
> Jaya
> Diaspark,Inc.(www.diaspark.com)
>
> On Mar 23, 3:22 pm, perumal316 <perumal...@gmail.com> wrote:
>
> > Hi,
>
> > Is it possible to list down the names of all the apps that have been
> > installed ? So that I can list down all the names of the apps and not
> > only the PIDs.
>
> > Thanks In Advance,
> > Perumal
>
> > On Mar 23, 5:45 pm, perumal316 <perumal...@gmail.com> wrote:
>
> > > Hi Jaya,
>
> > > Thanks for the help. Managed to get it work.
>
> > > Thanks and Regards,
> > > Perumal
>
> > > On Mar 23, 5:32 pm, Jaya Hoondlani <jaya.hoondl...@gmail.com> wrote:
>
> > > > Hi Perumal,
>
> > > > You can do this to display all the PID's for running application
>
> > > >  Context context = getApplicationContext();
> > > >          Resources appR = context.getResources();
> > > >          ActivityManager
> > > > actmgr=(ActivityManager)context.getSystemService
> > > >          (Context.ACTIVITY_SERVICE);
> > > >          List<RunningAppProcessInfo> appList =
> > > >                                                         
> > > > actmgr.getRunningAppProcesses();
>
> > > >          CharSequence[] items = new CharSequence[appList.size()];
>
> > > >          Vector <Process>allProcesses = new Vector <Process>();
> > > >          for (int i=0;i<appList.size();i++)
> > > >          {
> > > >                  RunningAppProcessInfo  rti =
> > > > (RunningAppProcessInfo)appList.get(i);
> > > >                  Log.v( "", "PID"+rti.pid+"Process 
> > > > Name"+rti.processName );
>
> > > > }
>
> > > > Thanks
> > > > Jaya
> > > > Diaspark,Inc.(www.diaspark.com)
>
> > > > On Mar 23, 2:21 pm, perumal316 <perumal...@gmail.com> wrote:
>
> > > > > Hi All,
>
> > > > > Is there any way to display all the process IDs to a user?
>
> > > > > I think to display the current ID can use the following code:
>
> > > > > int myProcessID = Process.myPid();
>
> > > > > But how do I display all process IDs?
>
> > > > > Thanks In Advance,
> > > > > Perumal- Hide quoted text -
>
> > - Show quoted text -

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to