问题
I want to get the application developer name. Somebody please show me how I can get this. i tried but only get with installed applications and their icon . i want to display developer name
回答1:
to get a list of the installed applications installed do the following :
final Intent mainIntent = new Intent(Intent.ACTION_MAIN, null);
mainIntent.addCategory(Intent.CATEGORY_LAUNCHER);
final List<ResolveInfo> pkgAppsList = context.getPackageManager().queryIntentActivities( mainIntent, 0);
the CATEGORY_LAUNCHER means it should appear in the Launcher as a top-level application .
the queryIntentActivities Retrieve all activities that can be performed for the given intent.
To get the developer name , there is no offical api from Google to do so.
but there is an UNoffical Api that allows you to do so , check this Android Market Api and check the example provided in the link .
Please give me some feedback
Hope that Helps
来源:https://stackoverflow.com/questions/21520928/get-application-developer-name