Click here to load reader
Upload
drjuniornet
View
103
Download
1
Embed Size (px)
DESCRIPTION
This are the slides that I used in my talk @ codebits' 09
Citation preview
Programming to
‐ The revolution has begun!! *
‐ A new way of thinking!
Diogo Júnior ‐ [email protected]
* (www.androidpt.com - portuguese android community slogan)
What is Android?
● Is a mobile operating system
● Run on the Linux kernel
● Developed by Google and the Open Handset Alliance(a consortium of 48 hardware, software, and telecom companies )
● Open Source Project
● Was announced publicly on 5 November 2007
● First mobile device, the G1, was announced on September 2008
Programming Android Applications
● Written in Java
● Run in Dalvik Virtual Machine (optimized for mobile devices)
● Uses its own bytecode, not Java Bytecode
Resources –Hardware Independent
● Integrated Browser based on WebKit Engine
● Graphics 2d and 3d optimized(OpenGL ES 1.0)
● SQLite to save structured data
● Multimedia support(MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, GIF)
Resources –Hardware Dependent
● GSM
● Bluetooth, 3G, WIFI
● Touchscreen
● Camera, GPS, Compass and Accelerometer
What is an application ? (1/2)
● Application package file : myapplication.apk
● Composed by one or more activities
● AndroidManifest.xml
● Activities-A single screen in your application
● Views-Object who know how t draw itself on the screen
- ListView, MapView, WebView, TextView, EditText…
What is an application ? (2/2)
● Layouts- Views Containers
- RelativeLayout, Linearlayout, FrameLayout…
● Permissions- Low level access to features(GSM, Internet, GPS, SMS…)
- Declared by the developer
- User prompt on the market at installation
● Services- Background services
● Notifications- Receive and react to broadcasted events
How to code ?
● Java SDK ●Android SDK
- Android Emulator – Linux, Windows , Mac
- Command Line Tools
- adb - Android Debug Bridge
● Eclipse
● Eclipse Plugin - ADT
Finding Help
• Android developers website- http://developer.android.com
• Android development community- http://anddev.org
• Portuguese android community-http://androidpt.com
Time to get your hands dirty!!!