Questions about preparing an apk for the Amazon Android App Store

cottonBallPaws picture cottonBallPaws · Jun 2, 2011 · Viewed 11.2k times · Source

Amazon's documentation is surprising lacking in information about the submitting binary process. From what I can tell, you submit an unsigned binary and they wrap it in their own code and produce a signed apk?

This leaves several questions:

  1. Does the Amazon App Store perform a zipalign for you?
  2. If you have your app in the Android Market (Google's) already, is it recommended to use the same package name or a different one? Does it make any difference?
  3. I also saw elsewhere, that they offer the option to download the apk they prepare and sign it with your own key. Is it recommended to take this and then sign it with the same key you are using in the Android Market? Does it make any difference?

Are there any other considerations or pitfalls that one should know before diving into this process?

Thanks

Answer

Michael A. picture Michael A. · Jun 24, 2011
  1. Yes. Amazon wraps your binary with code specific to their appstore that allows them to collect analytics data and enforce DRM. The app will be repackaged after that.

  2. You should use the same package name. The Amazon distribution agreement currently has a number of provisos; e.g., that your app is not priced lower on another app store. They also do occasional checks to see whether the version of your app on the market is up to date. These checks are primarily done using the package name; changing the package name of your app could easily be viewed by them as a means to evade the terms of the agreement.

  3. No. There may be good reasons why one would want to do this, but none that I can think of. By default, Amazon signs your apk with a signature that is specific to your Amazon developer account.

Other:

Read this. In particular, ensure that the app links correctly to the Amazon app store and not the Android market, or others. I don't have inside data, but I'd wager a fair amount that the vast majority of submissions that Amazon turn down fall afoul of that requirement.

Edit: Point 2 is no longer correct; see comment below.