0
Android Development

    An Introduction
    Ziya Suzen <ziya@suzen.net>
Hello World
What is Android
Application Fundamentals
•   Java
•   Android Package === .apk === One Application
•   Every app has its own Linux Process...
Components
• Activities - UI
• Services – Background tasks
• Broadcast Receivers – picture taken, timezone
  changed, batt...
Activities And Tasks
TASK


        activity

        App1
                   activity

                   App2
          ...
Activity Lifecycle
UI
UI Events
•   onClick
•   onLongClick
•   onFocusChange
•   onKey
•   onTouch
•   onCreateContextMenu
Adapters

View




       Adapter




                  Data
Installation
•   Java
•   SDK
•   Eclipse (classic)
•   Android Plugin
Setup
• Download kits (eg. 1.5)
• Create a device
• Create a project in Eclipse
Example Applications
Tips & tricks
•   adb logcat
•   adb shell
•   Create packages using Eclipse Export
•   Eclipse shortcut-keys
    – Ctrl-1...
Upcoming SlideShare
Loading in...5
×

Android Development

295

Published on

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
295
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
14
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "Android Development"

  1. 1. Android Development An Introduction Ziya Suzen <ziya@suzen.net>
  2. 2. Hello World
  3. 3. What is Android
  4. 4. Application Fundamentals • Java • Android Package === .apk === One Application • Every app has its own Linux Process • Each process has its own JVM • Every app has a unique Linux user id
  5. 5. Components • Activities - UI • Services – Background tasks • Broadcast Receivers – picture taken, timezone changed, battery low, network location changed • Content Providers – Database (SQLite, Phonebook) • Intents – Events / Messages
  6. 6. Activities And Tasks TASK activity App1 activity App2 activity App3
  7. 7. Activity Lifecycle
  8. 8. UI
  9. 9. UI Events • onClick • onLongClick • onFocusChange • onKey • onTouch • onCreateContextMenu
  10. 10. Adapters View Adapter Data
  11. 11. Installation • Java • SDK • Eclipse (classic) • Android Plugin
  12. 12. Setup • Download kits (eg. 1.5) • Create a device • Create a project in Eclipse
  13. 13. Example Applications
  14. 14. Tips & tricks • adb logcat • adb shell • Create packages using Eclipse Export • Eclipse shortcut-keys – Ctrl-1 Quick Fix – Ctrl-Space Auto-complete – Crtl-Shift-L List of shortcuts
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×