The document discusses Android programming. It explains that Android is a mobile operating system based on Linux, developed by Google. It can be programmed using Java and runs applications in a virtual machine called Dalvik. Resources include hardware independent components like a browser and multimedia support, as well as hardware dependent components like GPS. Applications are composed of activities, views, and other components. Programming Android involves using the Java SDK, Android SDK, Eclipse IDE, and finding help from online developer communities.
Driving Behavioral Change for Information Management through Data-Driven Gree...
Codebits Talk
1. Programming to
‐ The revolution has begun!! *
‐ A new way of thinking!
Diogo Júnior ‐ drjunior.org@gmail.com
* (www.androidpt.com - portuguese android community slogan)
2. 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
3. Programming Android Applications
● Written in Java
● Run in Dalvik Virtual Machine (optimized for mobile devices)
● Uses its own bytecode, not Java Bytecode
4. 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)
6. 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…
7. 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
8. How to code ?
●Java SDK
●Android SDK
- Android Emulator – Linux, Windows , Mac
- Command Line Tools
- adb - Android Debug Bridge
● Eclipse
● Eclipse Plugin - ADT
9. Finding Help
• Android developers website
- http://developer.android.com
• Android development community
- http://anddev.org
• Portuguese android community
-http://androidpt.com