Issue
I'd like to add an unlocker for my app, which is only available on the Play Store. How can I check, if the package was installed by the Play Store? I've seen this in SD Maid, but I didn't find a solution yet.
Solution
I found a method for that: PackageManager.getInstallerPackageName(String packageName); This returns the package name of the installer application.
Answered By - Jbk
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.