搜尋此網誌

2011年3月16日

Android developing flow / Android 開發流程與重點元件

  • Ready stage:
    1. Setup developing environment.
    2. First Hello program, then refer Android SDK examples (First should be ApiDemos).
    3. Find a sample and download APKs from Android Market. Just have a trial. Emulator is just ok.
    4. Documents study (Especially all documents / FAQ in Android Developers Site, and some FAQ in big Forums). Also compare new functions Android provided.

  • Study stage: (Application level)
    1. Android APK structure
      • AndroidManifest.xml
      • res
        • layout
        • values
        • others
      • src
      • others
    2. AndroidManifest.xml structure
    3. Four components (Activity / Service / Broadcast Receiver / Content Provider)
      • Details of Activity
        • Life cycle
        • Activity stack
        • View (UI components) / Layout / Menus / List / Widget / Dialogs / Others
        • Intent / Intent flags (To control Activity attributes)
          • Launch mode
          • Task attributes
          • Task affinities
          • Intent flags
        • Others
      • Details of Service
        • Life cycle
        • Binders
        • Remote services
      • Details of BR
        • Life cycle
      • Details of CP
    4. Interaction of four components
    5. Thread / Timer / Handler / Messaging using
    6. Activity / Task / Process / Thread relationship
    7. Data exchange => http://pontiffkao.blogspot.com/2011/02/activity.html
    8. Queue / FIFO?
    9. Rich functions:
      • Debug => http://pontiffkao.blogspot.com/2011/02/android-android-debug-tool-eclipse-ant.html
      • Graphics (2D / 3D / Animation / Surface)
      • Multimedia (Audio / Video / Camera)
      • Location (Navi / GPS / Maps)
      • 2G / 3G / 4G (Data / Voice / Message / Phone related)
      • Widget
      • Networking
      • Database
      • Web (WebView / WebKit
      • Wireless (BT / WLAN)
      • Touch (Touch screen / Gesture)
      • Sensors
      • VoIP
      • NFC
      • Others
    10. Application publish to Market
    11. Unit test
    12. CTS test
    13. Coding style / Coding performance

  • Advance stage: (System level)
    1. Android source code parsing / study
    2. Android CTS study
    3. Android boot flow (bootchart / init)
    4. Android system process (Dalvik / Zygote / Others)
    5. Dalvik study
    6. Cross compile environment
    7. Image build system
      • Kernel porting / patching
      • BSP / Driver
      • Android porting / patching
    8. Your owned framework / library (Native code)
    9. Your owned HAL

參考連結:
  • http://eagle.phys.utk.edu/guidry/android/index.html
  • http://blog.akquinet.de/
  • http://developer.android.com/

沒有留言:

張貼留言