The PackageManager
class supplies the getInstallerPackageName method that will tell you the package name of whatever installed the package you specify. Side-loaded apps will not contain a value.
EDIT: Note @mttmllns’ answer below regarding the Amazon app store.
More Related Contents:
- Check if application is installed – Android
- updating Google play services in Emulator
- open link of google play store in mobile version android
- Google Play Services in emulator, implementing Google Plus login button etc
- Lost my keystore for uploaded app on android market [duplicate]
- How to test android referral tracking?
- What does this Google Play APK publish error message mean?
- WebView: how to avoid security alert from Google Play upon implementation of onReceivedSslError
- App on Google Play always shows “Update” instead of open [closed]
- How to debug apk signed for release?
- Disable LogCat Output COMPLETELY in release Android app?
- Android – Is it possible to get install referrer programmatically
- How do you to check if a user has rated your app on the Google Play?
- How to get app market version information from google play store?
- Get Android Google Analytics referrer tag
- Checking my app version programmatically in Android market
- How to know if a specific user has rated a Android App?
- How to sign an APK with more than one certificate?
- You uploaded an APK or Android App Bundle which has an activity, activity alias, service or broadcast receiver with intent filter, but without the ‘an
- Google Play Security Alert – Your app is using an unsafe implementation of the HostnameVerifier
- Is Google Play Store supported in avd emulators?
- query the google play store for the version of an app?
- Opening Google Play in popup (like Vimeo, Wisher, Buzzfeed) – Instant App
- Published Android apk gives error “Package file was not signed correctly”
- How to know my app is uninstalled from the device…?
- Google App is Published on Internal Test Track but Can’t Be Found/Downloaded
- Find package name for Android apps to use Intent to launch Market app from web
- Is it possible to debug locally Google Play’s in-app billing in Android Studio?
- How Do I Create A Certificate For My Android Market APK?
- This app won’t run unless you update Google Play services error