SlideShare a Scribd company logo
Android




                             SMART.LABO
                                   Twitter : @tan1234jp

2012/02/25 Rev.2


                                                          1
Question.

✤   Android

✤   Android Market




                     2
Android

✤




    →

✤       Android


    →2/22                         Android                         37
             (http://japan.internet.com/allnet/20120223/7.html)




                                                                       3
Android

✤   Android           (
              SD           GPS     )



✤




    →              (AndroidManifest.xml
         )


                                          4
✤




        ID




✤




    →


             5
Android

✤   Android                       OS       126
    (http://developer.android.com/reference/android/Manifest.permission.html)




✤                                                 (10         )




                                                                                6
Corona          Android

✤   Corona   Android


    →




✤




                          7
Corona       Android

✤   Corona




                 •
                 •
                 •



                       8
✤   Corona


    •                               (Web            ,    , OpenFeint,
        Facebook, JSON, ...)
    •                          ID              (   ,Dashboard?)
    •                               (      )

✤




✤




                                                                        9
✤                           (android.permission.INTERNET)
    •


✤           /      (android.permission.READ_PHONE_STATE)
    •             /SIM      /


✤                           (android.permission.ACCESS_NETWORK_STATE)
    •


            (3G/WI-FI...)


✤   →                  /SIM     /
        (                   )

                                                                        10
✤




    →


    →
    →




        11
Corona

✤


    ✤




    ✤    /




             12
✤




✤   (   )



            13
✤   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
✤   apk             (     )

✤   AndroidManifest.xml

✤   apk

✤   apk

✤   apk




                              15
apk

✤                    (       )

✤   apk
          apk

      apktool d -s SampleApp.apk SampleApp
                                             (.apk   )


✤


    AndroidManifest.xml

                                                         16
AndroidManifest.xml

✤   Android


    •


    •


    •


    •   API             (   OS   )
    •


    •               (                )
    •   ...etc...


                                         17
Corona       AndroidManifest

         ✤



                             (versionName=”1.0”)
             (<uses-permission... />
             OS(minSdkVersion=”8”)→OS2.2
                 (<activity... />




                                                   18
✤




✤




    19
✤   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
✤                                microSD



✤           microSD
    AndroidManifest.xml



         android:installLocation="auto"
                             ↓
         android:installLocation="preferExternal"

    •   build751(2012.2.22   )
                                                    21
✤                   ON                 OFF

    •                          Android Market



        android:debuggable="true"
                     ↓
        android:debuggable="false"




                                                22
✤




✤   (papaya mobile)




✤




                      23
apk                                   (1)

✤                     (        )

✤   apk
          apk

      apktool b   SampleApp SampleApp-m.apk




                                              24
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
apk

✤




    →




              26
✤




    apk
     Corona


              27
✤




    →   Corona   Android Market



✤       Corona   apk




    →


                                  28
Any Questions?




                 29

More Related Content

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

Introduction to Android by Demian Neidetcher
Introduction to Android by Demian NeidetcherIntroduction to Android by Demian Neidetcher
Introduction to Android by Demian Neidetcher
Matthew McCullough
 
初心者向けデザイナーのためのAndroidアプリレイアウト勉強会 in 大阪
初心者向けデザイナーのためのAndroidアプリレイアウト勉強会 in 大阪初心者向けデザイナーのためのAndroidアプリレイアウト勉強会 in 大阪
初心者向けデザイナーのためのAndroidアプリレイアウト勉強会 in 大阪Tadaaki Akai
 
Android Overview
Android OverviewAndroid Overview
Android Overview
atomi
 
An Introduction To Android
An Introduction To AndroidAn Introduction To Android
An Introduction To Android
natdefreitas
 
Google Android @ AlphaCSP's JavaEdge
Google Android @ AlphaCSP's JavaEdgeGoogle Android @ AlphaCSP's JavaEdge
Google Android @ AlphaCSP's JavaEdge
yuvalb
 
Introduction to mobile reversing
Introduction to mobile reversingIntroduction to mobile reversing
Introduction to mobile reversingjduart
 
Introduction to mobile reversing
Introduction to mobile reversingIntroduction to mobile reversing
Introduction to mobile reversingzynamics GmbH
 
"JavaME + Android in action" CCT-CEJUG Dezembro 2008
"JavaME + Android in action" CCT-CEJUG Dezembro 2008"JavaME + Android in action" CCT-CEJUG Dezembro 2008
"JavaME + Android in action" CCT-CEJUG Dezembro 2008
Vando Batista
 
Android2.x/3.x/4.x向けアプリ開発で気付いたこと
Android2.x/3.x/4.x向けアプリ開発で気付いたことAndroid2.x/3.x/4.x向けアプリ開発で気付いたこと
Android2.x/3.x/4.x向けアプリ開発で気付いたことKenichi Kambara
 
Open Social Shindig Preso for FB and OpenSocial Meetup
Open Social Shindig Preso for FB and OpenSocial MeetupOpen Social Shindig Preso for FB and OpenSocial Meetup
Open Social Shindig Preso for FB and OpenSocial Meetup
Chris Schalk
 
Software Analytics for Mobile Applications – Insights & Lessons Learned [CSMR...
Software Analytics for Mobile Applications – Insights & Lessons Learned [CSMR...Software Analytics for Mobile Applications – Insights & Lessons Learned [CSMR...
Software Analytics for Mobile Applications – Insights & Lessons Learned [CSMR...
Roberto Minelli
 
X Means Y
X Means YX Means Y
X Means Y
CommonsWare
 
Android Development in a Nutshell
Android Development in a NutshellAndroid Development in a Nutshell
Android Development in a NutshellAleix Solé
 
Mobile & android apps presentation
Mobile & android apps  presentationMobile & android apps  presentation
Mobile & android apps presentation
Aya Taleb
 
Betabeers VII- Android Dev@GDGMallorca
Betabeers VII-  Android Dev@GDGMallorcaBetabeers VII-  Android Dev@GDGMallorca
Betabeers VII- Android Dev@GDGMallorca
GDGMallorca
 
Get Started with Android - Session 1
Get Started with Android - Session 1 Get Started with Android - Session 1
Get Started with Android - Session 1
um_adeveloper
 
Android Hacking
Android HackingAndroid Hacking
Android Hacking
antitree
 
Beginners guide-to-reverse-engineering-android-apps-pau-oliva-fora-viaforensi...
Beginners guide-to-reverse-engineering-android-apps-pau-oliva-fora-viaforensi...Beginners guide-to-reverse-engineering-android-apps-pau-oliva-fora-viaforensi...
Beginners guide-to-reverse-engineering-android-apps-pau-oliva-fora-viaforensi...
viaForensics
 
Begining Android Development
Begining Android DevelopmentBegining Android Development
Begining Android Development
Hayi Nukman
 

Similar to Androidアプリを公開する前にやっておきたい事 (20)

Introduction to Android by Demian Neidetcher
Introduction to Android by Demian NeidetcherIntroduction to Android by Demian Neidetcher
Introduction to Android by Demian Neidetcher
 
初心者向けデザイナーのためのAndroidアプリレイアウト勉強会 in 大阪
初心者向けデザイナーのためのAndroidアプリレイアウト勉強会 in 大阪初心者向けデザイナーのためのAndroidアプリレイアウト勉強会 in 大阪
初心者向けデザイナーのためのAndroidアプリレイアウト勉強会 in 大阪
 
Android Overview
Android OverviewAndroid Overview
Android Overview
 
An Introduction To Android
An Introduction To AndroidAn Introduction To Android
An Introduction To Android
 
Google Android @ AlphaCSP's JavaEdge
Google Android @ AlphaCSP's JavaEdgeGoogle Android @ AlphaCSP's JavaEdge
Google Android @ AlphaCSP's JavaEdge
 
Introduction to mobile reversing
Introduction to mobile reversingIntroduction to mobile reversing
Introduction to mobile reversing
 
Introduction to mobile reversing
Introduction to mobile reversingIntroduction to mobile reversing
Introduction to mobile reversing
 
"JavaME + Android in action" CCT-CEJUG Dezembro 2008
"JavaME + Android in action" CCT-CEJUG Dezembro 2008"JavaME + Android in action" CCT-CEJUG Dezembro 2008
"JavaME + Android in action" CCT-CEJUG Dezembro 2008
 
Android2.x/3.x/4.x向けアプリ開発で気付いたこと
Android2.x/3.x/4.x向けアプリ開発で気付いたことAndroid2.x/3.x/4.x向けアプリ開発で気付いたこと
Android2.x/3.x/4.x向けアプリ開発で気付いたこと
 
Open Social Shindig Preso for FB and OpenSocial Meetup
Open Social Shindig Preso for FB and OpenSocial MeetupOpen Social Shindig Preso for FB and OpenSocial Meetup
Open Social Shindig Preso for FB and OpenSocial Meetup
 
Software Analytics for Mobile Applications – Insights & Lessons Learned [CSMR...
Software Analytics for Mobile Applications – Insights & Lessons Learned [CSMR...Software Analytics for Mobile Applications – Insights & Lessons Learned [CSMR...
Software Analytics for Mobile Applications – Insights & Lessons Learned [CSMR...
 
Mobatsuku01
Mobatsuku01Mobatsuku01
Mobatsuku01
 
X Means Y
X Means YX Means Y
X Means Y
 
Android Development in a Nutshell
Android Development in a NutshellAndroid Development in a Nutshell
Android Development in a Nutshell
 
Mobile & android apps presentation
Mobile & android apps  presentationMobile & android apps  presentation
Mobile & android apps presentation
 
Betabeers VII- Android Dev@GDGMallorca
Betabeers VII-  Android Dev@GDGMallorcaBetabeers VII-  Android Dev@GDGMallorca
Betabeers VII- Android Dev@GDGMallorca
 
Get Started with Android - Session 1
Get Started with Android - Session 1 Get Started with Android - Session 1
Get Started with Android - Session 1
 
Android Hacking
Android HackingAndroid Hacking
Android Hacking
 
Beginners guide-to-reverse-engineering-android-apps-pau-oliva-fora-viaforensi...
Beginners guide-to-reverse-engineering-android-apps-pau-oliva-fora-viaforensi...Beginners guide-to-reverse-engineering-android-apps-pau-oliva-fora-viaforensi...
Beginners guide-to-reverse-engineering-android-apps-pau-oliva-fora-viaforensi...
 
Begining Android Development
Begining Android DevelopmentBegining Android Development
Begining Android Development
 

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

  • 1. Android SMART.LABO Twitter : @tan1234jp 2012/02/25 Rev.2 1
  • 2. Question. ✤ Android ✤ Android Market 2
  • 3. Android ✤ → ✤ Android →2/22 Android 37 (http://japan.internet.com/allnet/20120223/7.html) 3
  • 4. Android ✤ Android ( SD GPS ) ✤ → (AndroidManifest.xml ) 4
  • 5. ID ✤ → 5
  • 6. Android ✤ Android OS 126 (http://developer.android.com/reference/android/Manifest.permission.html) ✤ (10 ) 6
  • 7. Corona Android ✤ Corona Android → ✤ 7
  • 8. Corona Android ✤ Corona • • • 8
  • 9. Corona • (Web , , OpenFeint, Facebook, JSON, ...) • ID ( ,Dashboard?) • ( ) ✤ ✤ 9
  • 10. (android.permission.INTERNET) • ✤ / (android.permission.READ_PHONE_STATE) • /SIM / ✤ (android.permission.ACCESS_NETWORK_STATE) • (3G/WI-FI...) ✤ → /SIM / ( ) 10
  • 11. → → → 11
  • 12. Corona ✤ ✤ ✤ / 12
  • 13. ✤ ✤ ( ) 13
  • 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. apk ( ) ✤ AndroidManifest.xml ✤ apk ✤ apk ✤ apk 15
  • 16. apk ✤ ( ) ✤ apk apk apktool d -s SampleApp.apk SampleApp (.apk ) ✤ AndroidManifest.xml 16
  • 17. AndroidManifest.xml ✤ Android • • • • API ( OS ) • • ( ) • ...etc... 17
  • 18. Corona AndroidManifest ✤ (versionName=”1.0”) (<uses-permission... /> OS(minSdkVersion=”8”)→OS2.2 (<activity... /> 18
  • 19. ✤ ✤ 19
  • 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. microSD ✤ microSD AndroidManifest.xml android:installLocation="auto" ↓ android:installLocation="preferExternal" • build751(2012.2.22 ) 21
  • 22. ON OFF • Android Market android:debuggable="true" ↓ android:debuggable="false" 22
  • 23. ✤ ✤ (papaya mobile) ✤ 23
  • 24. apk (1) ✤ ( ) ✤ apk apk apktool b SampleApp SampleApp-m.apk 24
  • 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. apk ✤ → 26
  • 27. apk Corona 27
  • 28. → Corona Android Market ✤ Corona apk → 28