Presentation is loading. Please wait.

Presentation is loading. Please wait.

© 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Android Boot Camp.

Similar presentations


Presentation on theme: "© 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Android Boot Camp."— Presentation transcript:

1 © 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Android Boot Camp for Developers Using Java, 3E Chapter 12: Finale! Publishing Your Android App 1 Android Boot Camp for Developers using Java, 3rd Ed.

2 © 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Objectives In this chapter, you learn to: Understand Google Play Target various device configurations and languages Prepare your app for publishing Create an APK package by exporting an app Prepare promotional materials Publish your app on Google Play 2 Android Boot Camp for Developers using Java, 3rd Ed.

3 © 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Understanding Google Play There are many distribution networks Apps can be published to: –Google Play (Google’s Android Market, the largest marketplace) –Amazon Appstore –AppBrain –SlideME 3 Android Boot Camp for Developers using Java, 3rd Ed.

4 © 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Understanding Google Play (continued) Steps to publish the App: 1.Test your app. 2.Prepare the app for publication. 3.Create an APK package and digitally sign your application. 4.Prepare promotional materials. 5.Publish your app to Google Play. 4 Android Boot Camp for Developers using Java, 3rd Ed.

5 © 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Understanding Google Play (continued) Google Play is the online storefront for paid and free Android apps –https://play.google.com –Contains features and services of the Android Market, Google Music, and Google e-books –Provides free cloud storage services –Used by over 130 countries –Apps install directly on the Android device –Part of the default setup on new Android devices 5 Android Boot Camp for Developers using Java, 3rd Ed.

6 © 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Targeting Different Device Configurations and Languages 6 Android Boot Camp for Developers using Java, 3rd Ed. –Reach a larger audience by translating your app into multiple languages Create two resource directories in the strings directory (the strings.xml file) to write one app that recognizes many local languages Use http://translate.google.com to translate into 58 different languages –Note: translation is not perfect!

7 © 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Translations Editor supports multiple languages Localization –The process of adapting an app or webpage to a language –Considers cultural differences such as whether the language is read left-to-right or right-to-left, calendar layout, measurements, currency, number formats such as date and time, and traditions of the target audience. Adding Localization Using the Translations Editor 7 Android Boot Camp for Developers using Java, 3rd Ed.

8 © 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Use the Eclipse built-in emulators to test design and functionality Check real-world functionality by using the Android Debug Bridge (adb), which will communicate with a connected Android device Testing Your App on an Android Device 8 Android Boot Camp for Developers using Java, 3rd Ed.

9 © 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Creating an APK Package 9 Android Boot Camp for Developers using Java, 3rd Ed. An Application Package File (.apk) is similar to a zip file Contains the application, the manifest file, and all associated resources, such as image files, music, and other related content Created by the Eclipse Export Wizard All Android apps must be digitally signed with a certificate that identifies the author and establishes trues relationships between applications

10 © 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 10 Android Boot Camp for Developers using Java, 3rd Ed. Creating an APK Package (continued)

11 © 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 11 Android Boot Camp for Developers using Java, 3rd Ed. Creating an APK Package (continued)

12 © 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Creating an APK Package (continued) 12 Android Boot Camp for Developers using Java, 3rd Ed.

13 © 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Creating an APK Package (continued) 13 Android Boot Camp for Developers using Java, 3rd Ed.

14 © 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 14 Android Boot Camp for Developers using Java, 3rd Ed. Google Play requires images from your app to assist with marketing Your image should standout Use screen shots Preparing Promotional Materials to Upload

15 © 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Providing Images Application icon size should be 512 X 512 pixels Stored in a PNG file 2 screen shots are required –480 X 320, 800 X 480, or 854 X 480 PNG files –Up to 8 screen shots can be uploaded –Videos can be used to demo the app »Should be between 30 seconds and 2 minutes 15 Android Boot Camp for Developers using Java, 3rd Ed. Preparing Promotional Materials to Upload

16 © 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 16 Android Boot Camp for Developers using Java, 3rd Ed. Preparing Promotional Materials to Upload (cont.) Providing a Description –An app description provides a quick overview to the purpose of the app and what it does Include features the app provides You want to sell the app to the widest audience possible Motivate users to download the app Revise the description as you update the app

17 © 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 17 Android Boot Camp for Developers using Java, 3rd Ed. Preparing Promotional Materials to Upload (cont.)

18 © 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 18 Android Boot Camp for Developers using Java, 3rd Ed. Including App Information Preparing Promotional Materials to Upload (cont.)

19 © 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 19 Android Boot Camp for Developers using Java, 3rd Ed. Preparing Promotional Materials to Upload (cont.)

20 © 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 20 Android Boot Camp for Developers using Java, 3rd Ed. Preparing Promotional Materials to Upload (cont.) Including Social Networks

21 © 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Registering for a Google Play Account 21 Android Boot Camp for Developers using Java, 3rd Ed. A Gmail account is needed Register at http://play.google.com/apps/publish A one-time payment of $25 is required to register as an Android application developer and enrolls you in a Google Checkout account –If you charge for apps, Google Checkout disperses revenue for application sales You get 70 % and the phone carriers get 30%

22 © 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Registering for a Google Play Account (cont.) 22 Android Boot Camp for Developers using Java, 3rd Ed.

23 © 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Uploading an App to Google Play 23 Android Boot Camp for Developers using Java, 3rd Ed.

24 © 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Uploading an App to Google Play (cont.) 24 Android Boot Camp for Developers using Java, 3rd Ed.

25 © 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Uploading an App to Google Play (cont.) 25 Android Boot Camp for Developers using Java, 3rd Ed.

26 © 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Uploading an App to Google Play (cont.) 26 Android Boot Camp for Developers using Java, 3rd Ed.

27 © 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Uploading an App to Google Play (cont.) 27 Android Boot Camp for Developers using Java, 3rd Ed.

28 © 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Summary Google Play is the storefront for Android devices and apps, and provides access to Android Market, Google Music, and Google e-books To reach a larger audience within the Google Play market, you should target multiple Android devices and translate your app into multiple languages Provide alternate resources such as strings of text translated into multiple languages that change depending on the default locale detected on the device 28 Android Boot Camp for Developers using Java, 3rd Ed.

29 © 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Summary (continued) Before publishing an Android app, test it on various devices Using different built-in emulators in Eclipse, you can test the design and functionality of your application on a wide range of devices and see how your development application performs in a real-world environment Using the Android Debug Bridge (adb) tool in Eclipse, you can develop and debug an Android application on an Android device 29 Android Boot Camp for Developers using Java, 3rd Ed.

30 © 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Summary (continued) After testing an Android app, you must create an.apk file (application package file), which is a release-ready package that users can install and run on their Android phones and tablets An.apk file is a compressed archive that contains the application, the manifest file, and all associated resources, such as image files, music, and other required content. Using the Eclipse Export Wizard, you can build a release-ready.apk file that is signed with your private key and optimized for publication 30 Android Boot Camp for Developers using Java, 3rd Ed.


Download ppt "© 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Android Boot Camp."

Similar presentations


Ads by Google