Hi,
I want to display all the installed packages to user. Below is the
code snippet I used but not sure why it is not working.
int flags=0;
PackageManager pack = null;
List<PackageInfo> packInfo= pack.getInstalledPackages(flags);
CharSequence[] items = new CharSequence[packInfo.size()];
Vector <Process>allProcesses = new Vector <Process>();
for (int i=0;i<packInfo.size();i++)
{
String packI = "Packages"+packInfo;
Toast.makeText(this, packI, Toast.LENGTH_LONG).show();
}
I just to display the entire list of packages to user. Any idea what's
the problem with the above code?
Thanks In Advance,
Perumal
--
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
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.