SlideShare a Scribd company logo
Google Android Development James Williams BarCamp SD
What is Google Android? Building blocks of an Android App Demo
What is Android? Software stack for mobile devices (based on Linux) Uses Java source code for applications* All features of the hardware are accessible to the developer First device is T-Mobile G1, others due next year
Building Blocks Activities Intent Permissions Services Content Providers
Activity Life Cycle
Views Objects that know how to draw themselves on the screen Equivalent to Java Swing components Can layout in code or in XML
Sample Layout <LinearLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;  android:layout_width=&quot;wrap_content&quot;  android:layout_height=&quot;wrap_content&quot; android:orientation=&quot;vertical&quot; android:paddingLeft=&quot;6dip&quot; android:paddingRight=&quot;6dip&quot; android:paddingBottom=&quot;3dip&quot;> <EditText android:id=&quot;@+id/title&quot;  android:maxLines=&quot;1&quot;  android:layout_marginTop=&quot;2dip&quot; android:layout_width=&quot;wrap_content&quot; android:ems=&quot;25&quot; android:layout_height=&quot;wrap_content&quot;  android:autoText=&quot;true&quot; android:capitalize=&quot;sentences&quot; android:scrollHorizontally=&quot;true&quot; /> <Button android:id=&quot;@+id/ok&quot; android:layout_width=&quot;wrap_content&quot;  android:layout_height=&quot;wrap_content&quot;  android:layout_gravity=&quot;right&quot; android:text=&quot;@string/button_ok&quot; /> </LinearLayout>
Intents A declaration to the OS that you want to do something (pre-defined action) VIEW (url, contact, pictures) PICK  EDIT DIAL
Permissions Provide low-level access to features (like SMS, GPS, Internet, etc) Declared by the dev at creation time Users are prompted by Android Market when installing the app
Android Market (Beta) $25 per developer/entity for unlimited apps Only free apps for the moment Upgrades aren't seamless Paid app alternatives Only Android:  http://onlyandroid.mobihand.com/ Handago: http://www.handango.com
Demo
Resources Android http://www.android.com Android Market http://www.android.com/market DroidDraw Construct GUIs visually -  http://www.droiddraw.org/ Twitter/FriendFeed: @ecspike

More Related Content

PPT
Bpstudy ajnreview
PDF
臉 - The Face Detection Functions on Android
PDF
Effective Android UI - English
PDF
Introduction to Griffon
ODP
SVCC Intro to Grails
PDF
Intro to HTML5 Game Programming
PDF
PPS
Quien Soy Yo
Bpstudy ajnreview
臉 - The Face Detection Functions on Android
Effective Android UI - English
Introduction to Griffon
SVCC Intro to Grails
Intro to HTML5 Game Programming
Quien Soy Yo

Similar to Android Development (20)

ODP
Geekcamp Android
PPTX
Building apps for multiple devices
PPT
21 android2 updated
PDF
Advanced Android gReporter
PDF
Getting Started with Android - OSSPAC 2009
PDF
Introduction to Android - Mobile Portland
PDF
Android TCJUG
PPTX
Introduction to Android Programming
PPT
Bridging the gap
PDF
Android Intro
PDF
android level 3
PDF
Mobile Software Engineering Crash Course - C03 Android
PDF
Android Minnebar
PPTX
Basic android workshop
PPT
Cross Platform Mobile Development: The Easy Way to Develop Native iPhone & An...
PPT
Yahoo Mobile Widgets
PPT
BluePrint Mobile Framework
PPTX
Java User Meetup Bandung "Android" by Agate Studio
PPT
Silver Light By Nyros Developer
PPT
Beautifully Usable, Multiple Screens Too
Geekcamp Android
Building apps for multiple devices
21 android2 updated
Advanced Android gReporter
Getting Started with Android - OSSPAC 2009
Introduction to Android - Mobile Portland
Android TCJUG
Introduction to Android Programming
Bridging the gap
Android Intro
android level 3
Mobile Software Engineering Crash Course - C03 Android
Android Minnebar
Basic android workshop
Cross Platform Mobile Development: The Easy Way to Develop Native iPhone & An...
Yahoo Mobile Widgets
BluePrint Mobile Framework
Java User Meetup Bandung "Android" by Agate Studio
Silver Light By Nyros Developer
Beautifully Usable, Multiple Screens Too
Ad

More from James Williams (14)

KEY
Introduction to WebGL and Three.js
PPT
Ratpack - Classy and Compact Groovy Web Apps
PDF
Griffon for the Enterprise
PPT
Game programming with Groovy
PDF
Java development with MongoDB
PDF
Enterprise Griffon
PDF
Porting legacy apps to Griffon
PPT
Using MongoDB With Groovy
PDF
Creating Voice Powered Apps with Ribbit
PDF
Griffon: Swing just got fun again
PPT
Griffon: Swing just got fun again
PPT
Extending Groovys Swing User Interface in Builder to Build Richer Applications
PPT
Boosting Your Testing Productivity with Groovy
ODP
Griffon: Re-imaging Desktop Java Technology
Introduction to WebGL and Three.js
Ratpack - Classy and Compact Groovy Web Apps
Griffon for the Enterprise
Game programming with Groovy
Java development with MongoDB
Enterprise Griffon
Porting legacy apps to Griffon
Using MongoDB With Groovy
Creating Voice Powered Apps with Ribbit
Griffon: Swing just got fun again
Griffon: Swing just got fun again
Extending Groovys Swing User Interface in Builder to Build Richer Applications
Boosting Your Testing Productivity with Groovy
Griffon: Re-imaging Desktop Java Technology
Ad

Recently uploaded (20)

PPTX
Spectroscopy.pptx food analysis technology
PDF
Approach and Philosophy of On baking technology
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
MIND Revenue Release Quarter 2 2025 Press Release
DOCX
The AUB Centre for AI in Media Proposal.docx
PPT
Teaching material agriculture food technology
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Machine learning based COVID-19 study performance prediction
PPTX
MYSQL Presentation for SQL database connectivity
Spectroscopy.pptx food analysis technology
Approach and Philosophy of On baking technology
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Chapter 3 Spatial Domain Image Processing.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Unlocking AI with Model Context Protocol (MCP)
Encapsulation_ Review paper, used for researhc scholars
Review of recent advances in non-invasive hemoglobin estimation
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
MIND Revenue Release Quarter 2 2025 Press Release
The AUB Centre for AI in Media Proposal.docx
Teaching material agriculture food technology
sap open course for s4hana steps from ECC to s4
Machine learning based COVID-19 study performance prediction
MYSQL Presentation for SQL database connectivity

Android Development

  • 1. Google Android Development James Williams BarCamp SD
  • 2. What is Google Android? Building blocks of an Android App Demo
  • 3. What is Android? Software stack for mobile devices (based on Linux) Uses Java source code for applications* All features of the hardware are accessible to the developer First device is T-Mobile G1, others due next year
  • 4. Building Blocks Activities Intent Permissions Services Content Providers
  • 6. Views Objects that know how to draw themselves on the screen Equivalent to Java Swing components Can layout in code or in XML
  • 7. Sample Layout <LinearLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; android:layout_width=&quot;wrap_content&quot; android:layout_height=&quot;wrap_content&quot; android:orientation=&quot;vertical&quot; android:paddingLeft=&quot;6dip&quot; android:paddingRight=&quot;6dip&quot; android:paddingBottom=&quot;3dip&quot;> <EditText android:id=&quot;@+id/title&quot; android:maxLines=&quot;1&quot; android:layout_marginTop=&quot;2dip&quot; android:layout_width=&quot;wrap_content&quot; android:ems=&quot;25&quot; android:layout_height=&quot;wrap_content&quot; android:autoText=&quot;true&quot; android:capitalize=&quot;sentences&quot; android:scrollHorizontally=&quot;true&quot; /> <Button android:id=&quot;@+id/ok&quot; android:layout_width=&quot;wrap_content&quot; android:layout_height=&quot;wrap_content&quot; android:layout_gravity=&quot;right&quot; android:text=&quot;@string/button_ok&quot; /> </LinearLayout>
  • 8. Intents A declaration to the OS that you want to do something (pre-defined action) VIEW (url, contact, pictures) PICK EDIT DIAL
  • 9. Permissions Provide low-level access to features (like SMS, GPS, Internet, etc) Declared by the dev at creation time Users are prompted by Android Market when installing the app
  • 10. Android Market (Beta) $25 per developer/entity for unlimited apps Only free apps for the moment Upgrades aren't seamless Paid app alternatives Only Android: http://onlyandroid.mobihand.com/ Handago: http://www.handango.com
  • 11. Demo
  • 12. Resources Android http://www.android.com Android Market http://www.android.com/market DroidDraw Construct GUIs visually - http://www.droiddraw.org/ Twitter/FriendFeed: @ecspike