Adobe
Products

Top destinations

  • Adobe Creative Cloud
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • SiteCatalyst
  • Students
  • Elements family

Adobe Creative Cloud

  • What is Adobe Creative Cloud?
  • Design
  • Web
  • Photography
  • Video
  • Students
  • Teams
  • Enterprise
  • Educational institutions

Design and photography

  • Photoshop
  • Illustrator
  • InDesign
  • Adobe Muse
  • Lightroom

Video

  • Adobe Premiere
  • After Effects

Web development and HTML5

  • Edge Tools & Services [opens in a new window]
  • Dreamweaver
  • Gaming [opens in a new window]

Adobe Marketing Cloud

  • What is Adobe Marketing Cloud?
  • Digital analytics
  • Social marketing
  • Web experience management
  • Testing and targeting
  • Media optimization

Analytics

  • SiteCatalyst
  • Adobe Discover
  • Insight

Social

  • Adobe Social

Experience Manager

  • CQ
  • Scene7

Target

  • Test&Target
  • Recommendations
  • Search&Promote

Media Optimizer

  • AdLens
  • AudienceManager
  • AudienceResearch

Document services

  • Acrobat
  • EchoSign [opens in a new window]
  • FormsCentral [opens in a new window]
  • SendNow [opens in a new window]
  • Acrobat.com [opens in a new window]

Publishing

  • Digital Publishing Suite

  • See all products
Business solutions

By business need

  • Digital analytics
  • Digital publishing
  • Document management
  • Media optimization
  • Social marketing
  • Testing and targeting
  • Video editing and serving
  • Web development [opens in a new window]
  • Web experience management
  • See all business needs

By industry

  • Broadcast
  • Education
  • Financial services
  • Government
  • Publishing
  • Retail
  • See all industries
Support & Learning

I need help

  • Products
  • Adobe Creative Cloud
  • Adobe Marketing Cloud
  • Forums [opens in a new window]

I want to learn

  • Training and tutorials
  • Certification [opens in a new window]
  • Adobe Developer Connection
  • Adobe Design Center
  • Adobe TV [opens in a new window]
  • Adobe Marketing Center
  • Adobe Labs [opens in a new window]
Download
  • Product trials
  • Adobe Flash Player
  • Adobe Reader
  • Adobe AIR
  • See all downloads
Company
  • Careers at Adobe
  • Investor Relations
  • Newsroom
  • Privacy
  • Corporate Social Responsibility
  • Customer Showcase
  • Contact us
  • More company info
Buy
  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers
  • Adobe Marketing Cloud sales [opens in a new window]
Search
 
Info Sign in
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Welcome,
My Adobe
My orders
My information
My preferences
My products and services
Sign out
My cart
Privacy My Adobe
Adobe
Products Sections Buy   Search  
Solutions Company
Help Learning
Sign in Sign out Privacy My Adobe
Date Date
Qty:
Subtotal
Promotions
Estimated Shipping
VAT
Calculated at checkout
Total
Checkout
Digital Publishing Suite Help / 

Publishing process | Android and Amazon mobile devices

Adobe Community Help


Products Affected

  • Digital Publishing Suite

Contact support

 
By clicking Submit, you accept the Adobe Terms of Use.
 

What's covered

  • Overview
  • Checklist of required files
  • About retail content for Google Play
  • About retail content for the Amazon Appstore
  • Before you begin
  • Workflow overview
  • Prep for building the application 
  • Build and test the application 
  • Submit the app to Google Play or Amazon Appstore
  • Create required files
  • Application icons
  • Startup screens
  • Create a certificate file
  • (Mac OS) Create a certificate file using Keytool
  • (Windows) Create a certificate file using Keytool
  • Use DPS App Builder
  • Load the .apk file onto your Android device
  • Test the viewer app
  • Android Viewer limitations
  • Submit your app to Google Play
  • Set up in-app billing (Google Play)
  • Set up in-app purchases for Amazon Appstore
  • Test and submit your app for Amazon Appstore
  • Show All Show Less
To the top

Overview

With the Viewer Builder, you can create an .apk viewer app that you can submit to Google Play (previously Android Market) or Amazon Appstore. Follow the steps below to create the required files for your custom viewer app. The current version of the Viewer Builder is v2.5 (released January 2013). 

Checklist of required files

☐    Application icons (36 x 36, 48 x 48, and 72 x 72 PNG)

☐    Splash images (1280 x 800 and 800 x 1280 or larger 8-bit PNG)

☐    Valid certificate

About retail content for Google Play

Note the following:

  • You can create only multifolio viewer apps for Google Play. Single-folio apps are not available at this time.
  • DPS does not support Google Play subscriptions at this time.
  • You can use Google's in-app billing process to sell issues. If you offer retail issues through an enterprise subscription service, set up in-app billing for each retail folio. Otherwise, when your customers click a Buy button, they get an error message.

For information on Google Play app pricing, see Selling Your Apps in Google Play Help.

About retail content for the Amazon Appstore

Note the following:

  • You can create only multifolio viewer apps for the Amazon Appstore. Single-folio apps are not available at this time.
  • The Amazon Appstore now includes support for in-app purchases and subscriptions. Setup instructions are provided later in this document.

Before you begin

Make sure that every person working on the publication uses the same version of the digital publishing tools throughout the process. For example, don't create and test folios using one version of tools, and then build using a newer version without thoroughly testing. Otherwise, content incompatibility issues can arise. 

You cannot use the same Adobe ID to create multiple viewer apps. Create a different Adobe ID for each app. When signing in to publish folios, use the appropriate Adobe ID.

To the top

Workflow overview

Prep for building the application 

  • Register as an Android Market developer or Amazon Appstore developer. It costs $25 to sign up for Android Market (Google Play). Becoming an Amazon Appstore developer is free for the first year. Complete the sign-in process so that you become eligible to submit your apps to the Android Market or Amazon Appstore.
  • Create a private key certificate. You can use the same certificate for both platforms.
  • Create app icons and startup screens.

Build and test the application 

  • Download Viewer Builder, and create the custom Android Viewer app (.apk file). Specify the appropriate marketplace when you create the app. If you're submitting an app to both Google and Amazon, create two different .apk apps, each with the appropriate Marketplace setting.
  • Load .apk file onto mobile device.
  • Create and upload .folio files, and download them to the mobile devices.

Submit the app to Google Play or Amazon Appstore

Submit the .apk app to Google Play Store, Amazon Appstore, or both.

To the top

Create required files

To use the Viewer Builder to create a custom viewer app, create application icons, startup screens, and a cover.

Application icons

Create 36 x 36, 48 x 48, and 72 x 72 pixel icons in PNG format.

When you submit the final app to the store, you are required to provide additional application icons. Consider creating a 512 x 512 icon, and then scaling that image down to create the necessary sizes.

Startup screens

Create a pair of startup screens for all Android devices. When the viewer is started, a startup screen appears for approximately 3 seconds. Provide two startup screen 72-ppi 8-bit PNG images with any pair of the following dimensions: 1280 x 800/800 x 1280, 1920 x 1200/1200 x 1920, or 2048 x 1536/1536 x 2048.

All devices use the same horizontal or vertical startup screen. The viewer crops the edges of the images. So, center the design for the smallest Android device you are targeting, such as 800 x 600. For best results, treat the larger area as a bleed. When the startup screen for the device rendition is created, the outside areas of the image are cropped.

Make sure that the startup screen image is different from the cover.



Create a certificate file

The Android and Amazon systems require that all installed applications are digitally signed with a p12 certificate whose private key is held by the application’s developer. Make sure that all applications are signed. The system can't install an application that is not signed. You can use self-signed certificates to sign your applications. No certificate authority is needed.

It's necessary that the certificate you create expires after October 22 2033.

Several methods for creating certificates are available, including Adobe Flash Professional and Adobe Flash Builder. If you don’t have any developer tools installed, you can use the Keytool utility to create a certificate. Keytool is a Java SDK utility that is already available on Mac OS computers. In Windows, it's necessary to install and configure Java SDK (also called JDK).

The following instructions tell you how to use Keytool to create a certificate. For detailed information, see Signing Your Application on the Android Developers site.

(Mac OS) Create a certificate file using Keytool

  1. Open Terminal, which is located in the Applications > Utilities folder.
  2. Type (or paste) the following line (replace “myname.key.p12” with the actual name of your certificate):
    keytool -genkey -v -keystore myname.key.p12 -alias alias_name -keyalg RSA -keysize 2048 -storetype pkcs12 -validity 10000

    Specifying “10000” sets the expiration date after 22 October 2033.

  3. Enter and reenter a password. Until the Viewer Builder supports the creation of custom Android apps, it's necessary to share this password with Adobe. Create a password that you can share.

  4. Follow the prompts to specify the certificate information.



  5. When prompted to confirm choices, enter yes, and then press Return to use the same password.

    A certificate is created in your prompt location, such as your user name folder. Copy this certificate file to a known location. Write down the password as well.

(Windows) Create a certificate file using Keytool

  1. Download and install Java SDK (JDK). Note the install location.
  2. (Optional) Set a permanent path to run Java SDK commands. Setting a permanent path lets you type JDK commands such as “keytool” from any path. That way, you don’t have to navigate to the Java SDK directory. To set a permanent path, see step 4 of the JDK site.
  3. Open a command prompt. For example, enter “command” in the Run field or the search field.
  4. If you did not set a permanent path in step 2, navigate to the directory where JDK commands are located. For example, type cd \ and then type cd program files\Java\jdk1.6.0_24\bin (specify the correct version number).
  5. Type (or paste) the following line (replace “myname.key.p12” with the actual name of your certificate):
    keytool -genkey -v -keystore myname.key.p12 -alias alias_name -keyalg RSA -storetype pkcs12 -keysize 2048 -validity 10000

    Specifying “10000” sets the expiration date after 22 October 2033.

  6. Enter and reenter a password. Until the Viewer Builder supports the creation of custom Android apps, it's necessary to share this password with Adobe. Create a password that you can share.

  7. Follow the prompts to specify the certificate information.



    A certificate is created in your prompt location, such as your user name folder. Copy this certificate file to a known location. Write down the password as well.

    Note: If a certificate file is not created, replace “-keystore myname.keystore” with a target path (such as -keystore c:\users\bob\bobcert.keystore) that you have access to.

To the top

Use DPS App Builder

Use DPS App Builder to create the custom Android Viewer app (.apk file). See Create a custom viewer for Amazon and Android devices.

To the top

Load the .apk file onto your Android device

Your Android device requires Android 2.2 or later and AIR 2.6 or later, which you can download from the Android Market or Amazon Appstore.

  1. Allow your device to install non-Market applications. For example, on a Samsung Galaxy, go to Settings > Applications and select Unknown sources. When you finish installing, you can deselect this option again.
  2. Attach your device to your computer. If necessary, mount the device so that you can open the folder to view the files. If you cannot view the device on your computer, see Android File Transfer.
  3. If AIR 2.6 Runtime is not installed on your device, download the AIR 2.6 Runtime file (.apk) and install in on the device.
  4. Copy the Content Viewer (.apk) file to the device.
  5. Open a file manager app (such as “My files”), and tap the AIR 2.6 Runtime file (.apk) to install it, if necessary. Then tap your viewer.apk file to install it
To the top

Test the viewer app

For information on testing the viewer app on the Amazon Fire, see later in this article.

Unlike Apple and Amazon, Google does not require an approval process for submitting apps to Google Play. However, it's a good idea to test your custom viewer app (.apk) file before submitting it to Google.

  1. Load the custom viewer (.apk file) onto your device as described in the previous section.
  2. Publish your folio to the Distribution Service (fulfillment server), and change the status from Free to Public. Although it isn’t necessary to specify a Product ID, Adobe recommends that you use the “com.publisher.publication.monthyear” format for your folio name.
  3. Open the custom viewer, and make sure that you can download the public folios to the viewer app. Test the folios.
To the top

Android Viewer limitations

  • Panoramas are not supported.
  • Inline videos are not supported.
  • Video and audio clips in web views do not work.
  • HTML content that works in mobile Safari doesn't always work in browsers of other mobile devices. Make sure that you test HTML web content overlays and HTML articles.
To the top

Submit your app to Google Play

For detailed information on publishing apps in Google Play, go here:

http://developer.android.com/guide/publishing/publishing.html

  1. If you have not already done so, register as an Android Market developer at http://market.android.com/publish/Home.
  2. Navigate to https://market.android.com/publish.
  3. Click Upload Application.
  4. Click Choose File to select the .apk file.
  5. Click Upload.
  6. Fill out the rest of the information.
  7. Click Save to save the information without publishing. Click Publish when you're ready to submit the viewer app to the Google Play.

For best results, do not delete an app that you accidentally published. Unpublish it instead. 

If your Android app includes retail content of any kind, make sure that you specify your public key (shared secret) using the Account Administration tool. 

For information on Google Play Store app pricing, see Selling Your Apps in Android Market Help.

To the top

Set up in-app billing (Google Play)

You can use Google's In-app Billing service to sell individual folios within your viewer app. DPS does not support Google Play subscriptions at this time.

Make sure that you set up your billing before you make your content available to customers.

Even if you offer retail issues through a subscription service, set up in-app billing for each retail folio. Otherwise, when your customers click a Buy button, they get an error message.

  1. Use the Android Market developer site to upload your custom viewer (.apk) app as described in the previous section. While submitting your app, click Save instead of publish if you don't yet want your app in the store before you set up your in-app billing.
  2. Follow the steps in the Administering In-app Billing Help topic. As you go through these steps, note the following:
    • Specify the exact same In-app Product ID when setting up Android in-app billing that you use when you publish the folio using the Adobe tools. The Product ID ties the folio to the in-app billing item.
    • For Purchase Type, select "Managed," not "Unmanaged." Otherwise, your customers can't restore purchases.
    • Adobe does not support the Android Refund feature at this time.
    • Remember the information that you provide for "Public Key." Adobe needs this information to enable in-app billing.
  3. Copy the Public Key into the Android field in the Shared Secrets as described in the DPS online help topics Account Administration tool. Then sign in to the Folio Producer Organizer.

    To locate your Public Key value, sign in at https://market.android.com/publish/Home. Click the Edit Profile link, and then copy the text in the Public Key field. Also specify this Public Key value in the Adobe Account Administrator tool that is available on the DPS Dashboard. Add this Public Key value to the "Shared Secret" area of the Application account.
  4. To trigger the changes, sign in to the DPS Dashboard, and then click Folio Producer to open the Folio Producer Organizer.

To the top

Set up in-app purchases for Amazon Appstore

Amazon includes support for In-App Purchases: https://developer.amazon.com/sdk/in-app-purchasing.html

The Amazon Developer Portal provides an SDK and instructions for including in-app purchases in your app. However, this information is mostly irrelevant to DPS publishers because the Viewer Builder includes this information when it builds the app. Do the following actions on the Amazon site:

  1. Specify banking information so that Amazon can pay you when you sell content. On Amazon developer site, choose Settings > Payment Info.
  2. Set up entitlement IAPs for each retail folio. On the Amazon developer site, choose My Apps, and then choose In-app Items from the Actions menu next to the app you're preparing to submit. Choose Add In-App Item > Add Entitlement, and then specify the price of each folio you want to sell. (Use Add Entitlement, not Add Consumable.) Use a different IAP SKU for each retail folio. The SKU you specify for each retail folio is the Product ID you specify on the Adobe side when publishing the folio. Use a reverse DNS format such as "com.publisher.publication.issuedate" format. If you're selling this issue in other stores, such as the Apple Store, it's important that you use the same Product ID/SKU for each folio.
  3. If you're creating a subscription app. Set up a subscription IAP and terms (durations) for each subscription option. You create one parent SKU and individual child SKUs for each subscription duration. Again, use the reverse DNS format such as "com.publisher.publication.subscribe" for the parent and "com.publisher.publication.subscribe.annual." for each child. When you create the app in Viewer Builder, you specify one of the subscription SKUs you create.
  4. Obtain the shared key (also called the "public key" or "shared secret"). Then, copy and paste the shared key into appropriate field in the Account Administration tool. Obtain the public key from Amazon by choosing SDK > In-App Purchasing. Then, click the "Get your shared key to validate transactions outside your app" link. Copy it. Then sign in to the DPS Dashboard using your Application Adobe ID, open the Account Administration tool, and paste the shared key into the Amazon field.
To the top

Test and submit your app for Amazon Appstore

Amazon requires that the .apk file is wrapped before it can run properly on the Amazon Fire. If you sideload the .apk file to the Amazon Fire, any pre-v25 viewer app crashes when launched. (This crash occurs because the app is enabled for retail content and the app crashes when it cannot find the sandbox.) However, you can go to the Amazon Developer Portal and download a JSON file that lets you test your .apk file in a sandbox environment without crashing. Customizing this JSON file is also useful for testing retail purchases. See Testing Your App on the Amazon Developer site. Edit this JSON file and add it to the root directory of your device. See App crashes on Kindle Fire.

Amazon first evaluates your app for approval in the Appstore, and then it evaluates it for the Fire. Amazon notifies you when your app is approved in the Appstore, but doesn't necessarily notify when it's available for the Fire.

For information about publishing apps in the Amazon Appstore, go here:

Amazon Appstore Developer Portal

Publishers can test direct (third-party) entitlement, but cannot verify In-App Purchasing using the Amazon sandbox at this time.  This process cannot be tested end-to-end prior to releasing your app.  

What to expect:

Once the .json file is configured and placed at the root level of the device, you can launch the application without crashing. And, you can see your folios in your library and initiate a purchase.  The download fails and displays the following error message: "Error During Download - Could not verify this purchase."  This error is expected.   

Amazon's local sandbox client cannot communicate with their Receipt Verification Server. They have not communicated any plans to implement such a system.   

Testing In-App Purchases on Kindle Fire requires Amazon's assistance.

Keywords: cpsid_90052

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy

Products

  • Adobe Creative Cloud
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • Digital Publishing Suite
  • Elements family
  • SiteCatalyst
  • For education

Download

  • Product trials
  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR

Support & Learning

  • Product help
  • Forums

Buy

  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers

Company

  • News room
  • Partner programs
  • Corporate social responsibility
  • Career opportunities
  • Investor Relations
  • Events
  • Legal
  • Security
  • Contact Adobe
Choose your region United States (Change)
Choose your region Close

North America

Europe, Middle East and Africa

Asia Pacific

  • Canada - English
  • Canada - Français
  • Latinoamérica
  • México
  • United States

South America

  • Brasil
  • Africa - English
  • Österreich - Deutsch
  • Belgium - English
  • Belgique - Français
  • België - Nederlands
  • България
  • Hrvatska
  • Česká republika
  • Danmark
  • Eastern Europe - English
  • Eesti
  • Suomi
  • France
  • Deutschland
  • Magyarország
  • Ireland
  • Israel - English
  • ישראל - עברית
  • Italia
  • Latvija
  • Lietuva
  • Luxembourg - Deutsch
  • Luxembourg - English
  • Luxembourg - Français
  • الشرق الأوسط وشمال أفريقيا - اللغة العربية
  • Middle East and North Africa - English
  • Moyen-Orient et Afrique du Nord - Français
  • Nederland
  • Norge
  • Polska
  • Portugal
  • România
  • Россия
  • Srbija
  • Slovensko
  • Slovenija
  • España
  • Sverige
  • Schweiz - Deutsch
  • Suisse - Français
  • Svizzera - Italiano
  • Türkiye
  • Україна
  • United Kingdom
  • Australia
  • 中国
  • 中國香港特別行政區
  • Hong Kong S.A.R. of China
  • India - English
  • 日本
  • 한국
  • New Zealand
  • 台灣

Southeast Asia

  • Includes Indonesia, Malaysia, Philippines, Singapore, Thailand, and Vietnam - English

Copyright © 2013 Adobe Systems Incorporated. All rights reserved.

Terms of Use | Privacy | Cookies

Ad Choices

Reviewed by TRUSTe: site privacy statement