Use PackageManager to find out the installed applications and such. In fact, you will find this book sample project does a fair bit of what you need.
Thank you very much! I didn't know about this useful class... – oscarello Apr 5 '10 at 15:48.
In short, you can't. But, Android will let you get a hold of a list of installed packages along with their fully qualified class names. Check out the code at this link for an example of how to get this package listing.As far as I know, there's no way to determine from where the package was installed, but what you could do is compare it against a list of known applications to be preinstalled on the device and filter those out.
The idea being that if it's not a preinstalled application, it was likely installed through the marketplace.
Thanks chris, I'll check out the link :) – oscarello Apr 5 '10 at 15:49.
I want to make an android application that shows a listing of applications (downloaded from the android market) and launches the one that the user selects. I just want to be able to launch the applications, not a specific activity that they could have. My question is: how could I launch these applications if I don't know their packageName or className?
Or maybe, how could I get to know their className and packageName, if it's a closed source application that I didn't develop.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.