Android Development
Upcoming SlideShare
Loading in...5
×
 

Android Development

on

  • 6,320 views

Intro to Android Development

Intro to Android Development

Statistics

Views

Total Views
6,320
Views on SlideShare
6,278
Embed Views
42

Actions

Likes
7
Downloads
483
Comments
0

5 Embeds 42

http://www.slideshare.net 27
https://www.linkedin.com 9
http://www.linkedin.com 4
http://www.lmodules.com 1
http://twintwo.ipg.pt 1

Accessibility

Upload Details

Uploaded via as OpenOffice

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Android Development Android Development Presentation Transcript

      • 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