Your SlideShare is downloading. ×
0
<ul><li>Google Android Development </li></ul><ul><li>James Williams </li></ul><ul><li>BarCamp SD </li></ul>
<ul><li>What is Google Android? </li></ul><ul><li>Building blocks of an Android App </li></ul><ul><li>Demo </li></ul>
What is Android? <ul><li>Software stack for mobile devices (based on Linux) </li></ul><ul><li>Uses Java source code for ap...
Building Blocks <ul><li>Activities </li></ul><ul><li>Intent </li></ul><ul><li>Permissions </li></ul><ul><li>Services </li>...
Activity Life Cycle
Views <ul><li>Objects that know how to draw themselves on the screen </li></ul><ul><li>Equivalent to Java Swing components...
Sample Layout <ul><li><LinearLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;  </li></ul><ul><l...
Intents <ul><li>A declaration to the OS that you want to do something (pre-defined action) </li></ul><ul><ul><li>VIEW (url...
Permissions <ul><li>Provide low-level access to features (like SMS, GPS, Internet, etc) </li></ul><ul><li>Declared by the ...
Android Market (Beta) <ul><li>$25 per developer/entity for unlimited apps </li></ul><ul><li>Only free apps for the moment ...
Demo
Resources <ul><li>Android </li></ul><ul><ul><li>http://www.android.com </li></ul></ul><ul><li>Android Market </li></ul><ul...
Upcoming SlideShare
Loading in...5
×

Android Development

4,094

Published on

Intro to Android Development

Published in: Technology, Art & Photos
0 Comments
7 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
4,094
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
489
Comments
0
Likes
7
Embeds 0
No embeds

No notes for slide

Transcript of "Android Development"

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

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

×