0

For example user may download application from site or another Android device (and another Google account).
Now I learning Android LVL (License Verification Library). This way can say about user verification or device (and user) verification?

Alexmelyon
  • 1,168
  • 11
  • 18

1 Answers1

2

You can use PackageManager.getInstallerPackageName(), for Google Play it will return "com.android.vending" while Amazon Store return "com.amazon.venezia", side-loaded apps will not contain a value.

cw fei
  • 1,534
  • 1
  • 15
  • 33
  • No, this way allows to know what store application were downloaded, but I can't be sure application were downloaded exactly by user and not from other device or site. – Alexmelyon Nov 20 '15 at 08:21