获取应用程序开发者名 [英] Get Application developer name
问题描述
我想获得应用程序开发人员的姓名。有人请告诉我怎样才能得到这个。
我试过了,但只有安装了应用程序和它们的图标。
i希望显示开发人员名称
要获取安装的应用程序的列表,请执行以下操作:
final Intent mainIntent = new Intent(Intent.ACTION_MAIN,null);
mainIntent.addCategory(Intent.CATEGORY_LAUNCHER);
final列表< ResolveInfo> pkgAppsList = context.getPackageManager()。queryIntentActivities(mainIntent,0);
CATEGORY_LAUNCHER 表示它应该作为顶级应用程序出现在启动器中。
queryIntentActivities Retrieve所有可以针对给定意图执行的活动。
为了获得开发者的名字,谷歌没有官方api这样做。
但有一个非官方 Api允许您这样做,请检查 Android Market Api 并检查链接中提供的示例。
请给我一些反馈
希望帮助
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
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
这篇关于获取应用程序开发者名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!