Changes between Version 10 and Version 11 of BuildingSeattleOnAndroid

Changes between Version 10 and Version 11 of BuildingSeattleOnAndroid

Please note that these Trac pages are no longer being updated. Wiki contents/documentation have moved to GitHub.

Changes between Version 10 and Version 11 of BuildingSeattleOnAndroid

Please note that these Trac pages are no longer being updated. Wiki contents/documentation have moved to GitHub.

Changes between Version 10 and Version 11 of BuildingSeattleOnAndroid

Show
Ignore:
Timestamp:
08/11/12 06:37:44 (7 years ago)
Author:
justinc
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildingSeattleOnAndroid

    v10 v11  
    5050---- 
    5151 
    52 More to come. 
     52You should build and test the APK on both virtual and real Android devices.   To create virtual devices, follow the instructions at: http://developer.android.com/tools/devices/index.html 
     53 
     54 
    5355 
    5456[[BR]] 
    5557== Signing and Distributing the APK == 
    5658 
    57 Signing and aligning the release version.   These details are from the README.   I don't understand them. 
     59See the following docs: 
    5860 
    59 {{{ 
    60 jarsigner -keystore <keystore_path> -storepass <keystore_pass> -keypass <key_pass> <apk_path> <key_name> -digestalg SHA1 -sigfile CERT 
    61 zipalign <align> -f <unaligned_apk_path> <output_apk_path> 
     61http://developer.android.com/tools/publishing/app-signing.html 
    6262 
    63 <keystore_path>: path to keystore file 
    64 <keystore_pass>: keystore password 
    65 <key_pass>: key password 
    66 <apk_path>: path to unsigned apk 
    67 <key_name>: name of the private key to use 
    68  
    69 <align>: alignment in bytes, 4 would probably be a good bet 
    70 <unaligned_apk_path>: path to signed, but yet unaligned apk 
    71 <output_apk_path>: output path for the aligned apk 
    72 }}} 
     63http://developer.android.com/tools/publishing/preparing.html