Amazon Mobile App Distribution Home » Forums » App Distribution Portal » General Discussion

Thread: How to identify that app is downloaded from Amazon?

This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 1 - Pages: 1 - Last Post: May 26, 2013 9:51 PM by: Sujoy@Amazon
kpoxas

Posts: 1
Registered: 5/24/13
How to identify that app is downloaded from Amazon?
Posted: May 24, 2013 1:19 AM
 

Hello,
i'm looking theway to identify that app is installed from amazon.
i'm checking like this:
PackageManager packageManager = mContext.getPackageManager();
String installerName = packageManager.getInstallerPackageName(PackageName);
if (installerName.startsWith("com.amazon")) {...}

but not sure what getInstallerPackageName i have to check for?
in play.google its com.android....
what is it for amazon?

Thanks for help.

Message was edited by:
kpoxas

Sujoy@Amazon

Posts: 1,847
From: Bangalore
Registered: 3/12/13
Re: How to identify that app is downloaded from Amazon?
Posted: May 26, 2013 9:51 PM   in response to: kpoxas
 

Hi Kpoxas,

Thank you for your post. It should be "com.amazon.venezia".

Legend
Ace: 2000 + pts
Expert: 750 - 1999 pts
Guide: 300 - 749 pts
Enthusiast: 50 - 299 pts
Newbie: 5 - 49 pts
Amazonian
Helpful Answer (5 pts)
Correct Answer (10 pts)