0

Is there a way to get info on an Android application (e.g., publisher name) if you know the name of the package? I don't see it in packageinfo or applicationinfo.

Charles
  • 50,943
  • 13
  • 104
  • 142
Will
  • 163
  • 4
  • 12

3 Answers3

1

Is there a way to get info on an Android application (e.g., publisher name) if you know the name of the package?

Checkout

1) get application name from package name

2) Find package name for Android apps to use Intent to launch Market app from web questions.

You may get some details using PackageManager and ApplicationInfo. The first one seems to answer that. Hope this is of some use to you.

Community
  • 1
  • 1
Shobhit Puri
  • 25,769
  • 11
  • 95
  • 124
1

If what you want is not in PackageInfo or ApplicationInfo, then it is not accessible via PackageManager. For example, "publisher name" is only something that a marketplace like the Play Store knows -- that is not a piece of metadata that a developer needs to put into the APK.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491
  • Yeah, I was looking for a way to query the Play store to get the info that I needed. – Will Jul 20 '13 at 01:37
0

Whilst the original question turned out to be about how to get the Play Store information for an application, there is often information to be discovered about the app publisher or developer (not always the same thing) by looking at the apk on the device.

For example, the package name is in a reversed domain name form, such as com.google.android.apps.maps, and thus gives you a pretty big clue that this is a Google published application.

Apks also contain certificate(s) which are available via packageInfo.signatures. These signatures are "unregulated" (they are generally self signed) and thus can contain anything so should not be trusted to be truthful, but in practice often give a good indication as to the developer (even to the extent of many of them containing the personal name of the lead programmer of the app!)

You can use an app such as App Detective to see the signatures contained in your device's installed apps.

zmarties
  • 4,809
  • 22
  • 39