1 / 13

How to publish your app

How to publish your app. Step 1: Remove any debug logging. Good practice: comment out any debug logging Why?. Step 2: Build your final apk. Use Apache Ant For windows: http://code.google.com/p/winant / In a command line run:  set path=%PATH%;C:devandroid-sdk-windowstools 

berny
Télécharger la présentation

How to publish your app

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. How to publish your app CS440

  2. Step 1: Remove any debug logging • Good practice: comment out any debug logging • Why? CS440

  3. Step 2: Build your final apk • Use Apache Ant • For windows: http://code.google.com/p/winant/ • In a command line run: •  set path=%PATH%;C:\dev\android-sdk-windows\tools  • Go to your project root path then run: • >android update project –t 2 --path . CS440

  4. Step 3: Generate a key • When debugging with eclipse the package is technically signed • You need to sign your app with a real key • What is a key??? • In the project base directory run: keytool -genkey -v -keystore my-release-key.keystore CS440

  5. More info about keys • Trust needs to be established between market and developer • The key is your personal signature • You can use the same key for multiple app releases • What is a private key? • What is a public key? • What is authentication? CS440

  6. Public key cryptography CS440

  7. Public key cryptography CS440

  8. Step 4: Build your app with the key • Run: ant release or • With Eclipse • To export an unsigned APK from Eclipse, right-click the project in the Package Explorer and select Android Tools > Export Signed Application Package. • Use the key you just created • Then specify the file location for the unsigned APK. CS440

  9. Step 4: Build your app with the key • You app is built with your key… time to upload to the market! • Register to the market ($25 fee) • Upload your release apk CS440

  10. References • http://support.google.com/googleplay/android-developer/answer/113469?hl=en • http://developer.android.com/distribute/googleplay/publish/preparing.html • http://www.techrepublic.com/blog/app-builder/app-store-fees-percentages-and-payouts-what-developers-need-to-know/1205 • http://mobile.tutsplus.com/tutorials/android/publish-to-android-market/ • http://adf.ly/3509232/banner/http://android-helper4u.blogspot.in/search/label/5.%20How%20to%20sign%20and%20export%20%20and%20publish%20APK%20application%20file%20in%20Andrioid • http://en.wikipedia.org/wiki/Public-key_cryptography CS440

  11. To publish in market • AndroidManifest: • Install location: auto • Version code • Version • From eclipse Export => generate new key • You can use keypass to save your keys • developer.android.com => publish • To make money: setup paypal account • At least two screenshots needed • Application icon needed

  12. To publish a change • Make a change • Goto manifest: • Change version code • Change version • Do not regenerate the key or keystore • Just use different keys for different applications • Export again CS440

  13. Different ways to publish • Google play • Amazon • Send the apk on an e-mail: automatically installs from gmail accounts • Put it on your website CS440

More Related