Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Androidアプリを公開する前にやっておきたい事

1,134 views

Published on

  • Be the first to comment

Androidアプリを公開する前にやっておきたい事

  1. 1. Android SMART.LABO Twitter : @tan1234jp2012/02/25 Rev.2 1
  2. 2. Question.✤ Android✤ Android Market 2
  3. 3. Android✤ →✤ Android →2/22 Android 37 (http://japan.internet.com/allnet/20120223/7.html) 3
  4. 4. Android✤ Android ( SD GPS )✤ → (AndroidManifest.xml ) 4
  5. 5. ✤ ID✤ → 5
  6. 6. Android✤ Android OS 126 (http://developer.android.com/reference/android/Manifest.permission.html)✤ (10 ) 6
  7. 7. Corona Android✤ Corona Android →✤ 7
  8. 8. Corona Android✤ Corona • • • 8
  9. 9. ✤ Corona • (Web , , OpenFeint, Facebook, JSON, ...) • ID ( ,Dashboard?) • ( )✤✤ 9
  10. 10. ✤ (android.permission.INTERNET) •✤ / (android.permission.READ_PHONE_STATE) • /SIM /✤ (android.permission.ACCESS_NETWORK_STATE) • (3G/WI-FI...)✤ → /SIM / ( ) 10
  11. 11. ✤ → → → 11
  12. 12. Corona✤ ✤ ✤ / 12
  13. 13. ✤✤ ( ) 13
  14. 14. ✤ Java 6 SDK(Java7 Java 6 JRE )✤ Android SDK( ) http://developer.android.com/✤ ApkTool http://code.google.com/p/android-apktool/ ✤ SDK SDK tools/, platform-tools/ ✤ ApkTool 2 ( + jar ) 14
  15. 15. ✤ apk ( )✤ AndroidManifest.xml✤ apk✤ apk✤ apk 15
  16. 16. apk✤ ( )✤ apk apk apktool d -s SampleApp.apk SampleApp (.apk )✤ AndroidManifest.xml 16
  17. 17. AndroidManifest.xml✤ Android • • • • API ( OS ) • • ( ) • ...etc... 17
  18. 18. Corona AndroidManifest ✤ (versionName=”1.0”) (<uses-permission... /> OS(minSdkVersion=”8”)→OS2.2 (<activity... /> 18
  19. 19. ✤✤ 19
  20. 20. ✤ Android AndroidManifest.xml <uses- permission>✤ <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.READ_PHONE_STATE" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> 20
  21. 21. ✤ microSD✤ microSD AndroidManifest.xml android:installLocation="auto" ↓ android:installLocation="preferExternal" • build751(2012.2.22 ) 21
  22. 22. ✤ ON OFF • Android Market android:debuggable="true" ↓ android:debuggable="false" 22
  23. 23. ✤✤ (papaya mobile)✤ 23
  24. 24. apk (1)✤ ( )✤ apk apk apktool b SampleApp SampleApp-m.apk 24
  25. 25. apk (2)✤ apk ( ) jarsigner -keystore < > -signedjar SampleApp-s.apk SampleApp-m.apk < > apk apk✤ apk zipalign 4 SampleApp-s.apk SampleApp-z.apk apk apk →apk 25
  26. 26. apk✤ → 26
  27. 27. ✤ apk Corona 27
  28. 28. ✤ → Corona Android Market✤ Corona apk → 28
  29. 29. Any Questions? 29

×