Categories of applications correspond to the classification in the Android Market, but not something that you can check on the application itself. What you can do is request the Android Market for information about a specific application.
Android Market identifies applications by package name. So get ApplicationInfo for the package you want to request (check the PackageManager documentation) and use ApplicationInfo.packageName .
Then ask the Android Market for the name of the package you just received. Here's the unofficial API http://code.google.com/p/android-market-api/
Hope this helps.
source share