Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Android for Java Developers
Framework Overview <ul><li>http://developer.android.com/guide/basics/what-is-android.html </li></ul>
Framework – Linux Kernel <ul><li>Core system services </li></ul><ul><li>Handles security, memory management, process manag...
Framework - Dalvik <ul><li>Virtual Machine </li></ul><ul><li>Optimized for mobile devices </li></ul><ul><li>Every app runs...
Framework - Libraries <ul><li>Variety of libraries to provide built in functionality. </li></ul>
Framework – Application Framework <ul><li>Provides functionality to allow Applications to interact with underlying OS and ...
Framework – Applications <ul><li>The layer where custom-built applications live. </li></ul><ul><li>This is the place where...
Framework Overview
Get Developer Tools <ul><li>SDK </li></ul><ul><ul><li>http://developer.android.com/sdk/index.html </li></ul></ul><ul><ul><...
Developer Tools (cont ) <ul><li>Android command </li></ul><ul><li>Emulator </li></ul><ul><ul><li>Android Virtual Devices (...
Developing an App <ul><li>Create a new project </li></ul><ul><ul><li>Project content overview </li></ul></ul><ul><li>Code ...
Terminology <ul><ul><li>Most Commonly used elements </li></ul></ul><ul><ul><ul><li>Activity </li></ul></ul></ul><ul><ul><u...
Terminology - Activity <ul><li>Activity – (Noun) A single screen, your application is made up of one or more of these. </l...
Terminology - Layout <ul><li>Layout – describes the UI of an activity  </li></ul><ul><ul><li>Enables separation of UI from...
Terminology - Intent <ul><li>Intent – (Verb) code to perform an action  </li></ul><ul><ul><li>Wiring between activities, s...
Terminology - Resources <ul><li>Resource  – text, pictures, sound, etc </li></ul><ul><ul><li>are all abstracted from the c...
Terminology - Manifest <ul><li>Manifest File – describes your app  </li></ul><ul><ul><li>always named AndroidManifest.xml ...
Terminology – cont. <ul><ul><li>Other important elements </li></ul></ul><ul><ul><ul><li>Widget </li></ul></ul></ul><ul><ul...
Learn More <ul><li>http://developer.android.com </li></ul><ul><li>Phoenix Android Users Group </li></ul><ul><ul><li>http:/...
Questions? <ul><li>Follow me on twitter: @mikewolfson </li></ul>
Upcoming SlideShare
Loading in …5
×

of

Android For Java Developers Slide 1 Android For Java Developers Slide 2 Android For Java Developers Slide 3 Android For Java Developers Slide 4 Android For Java Developers Slide 5 Android For Java Developers Slide 6 Android For Java Developers Slide 7 Android For Java Developers Slide 8 Android For Java Developers Slide 9 Android For Java Developers Slide 10 Android For Java Developers Slide 11 Android For Java Developers Slide 12 Android For Java Developers Slide 13 Android For Java Developers Slide 14 Android For Java Developers Slide 15 Android For Java Developers Slide 16 Android For Java Developers Slide 17 Android For Java Developers Slide 18 Android For Java Developers Slide 19 Android For Java Developers Slide 20
Upcoming SlideShare
What to Upload to SlideShare
Next
Download to read offline and view in fullscreen.

1 Like

Share

Download to read offline

Android For Java Developers

Download to read offline

Presentation given to the Phoenix Android Users Group; May 2010.

Related Books

Free with a 30 day trial from Scribd

See all

Android For Java Developers

  1. 1. Android for Java Developers
  2. 2. Framework Overview <ul><li>http://developer.android.com/guide/basics/what-is-android.html </li></ul>
  3. 3. Framework – Linux Kernel <ul><li>Core system services </li></ul><ul><li>Handles security, memory management, process management, network access, etc </li></ul><ul><li>Abstraction layer between OS and hardware </li></ul>
  4. 4. Framework - Dalvik <ul><li>Virtual Machine </li></ul><ul><li>Optimized for mobile devices </li></ul><ul><li>Every app runs in its own instance of VM </li></ul><ul><li>Runs classes compiled by Java, and transformed into .dex files </li></ul>
  5. 5. Framework - Libraries <ul><li>Variety of libraries to provide built in functionality. </li></ul>
  6. 6. Framework – Application Framework <ul><li>Provides functionality to allow Applications to interact with underlying OS and other applications </li></ul><ul><li>Designed to simplify the reuse of components, and allow applications to publish, or make use of the capabilities of other applications </li></ul>
  7. 7. Framework – Applications <ul><li>The layer where custom-built applications live. </li></ul><ul><li>This is the place where most mobile developers will interact with Android. Your App Here! </li></ul>
  8. 8. Framework Overview
  9. 9. Get Developer Tools <ul><li>SDK </li></ul><ul><ul><li>http://developer.android.com/sdk/index.html </li></ul></ul><ul><ul><li>Requires Java SDK (5.0 +) </li></ul></ul><ul><ul><li>Updating versions </li></ul></ul><ul><ul><li>What the different versions mean </li></ul></ul><ul><li>ADT Plugin (for Eclipse) </li></ul><ul><ul><li>http://developer.android.com/guide/developing/tools/adt.html </li></ul></ul><ul><ul><li>Need Eclipse Ganymede (3.4+) </li></ul></ul><ul><ul><li>Update site: https://dl-ssl.google.com/android/eclipse </li></ul></ul><ul><li>Can develop without Eclipse </li></ul>
  10. 10. Developer Tools (cont ) <ul><li>Android command </li></ul><ul><li>Emulator </li></ul><ul><ul><li>Android Virtual Devices (AVD) </li></ul></ul><ul><li>Android Debug Bridge (ADB) </li></ul><ul><ul><li>Command line tool for interacting with phone/emulator. </li></ul></ul><ul><li>Dalvik Debug Monitor Server (DDMS) </li></ul><ul><ul><li>Debugging tool providing: screen capture, memory info, logging, info spoofing) </li></ul></ul><ul><li>http://developer.android.com/guide/developing/tools/index.html </li></ul>
  11. 11. Developing an App <ul><li>Create a new project </li></ul><ul><ul><li>Project content overview </li></ul></ul><ul><li>Code </li></ul><ul><li>Test on emulator (or device) </li></ul><ul><li>Debug </li></ul><ul><li>Sign </li></ul><ul><li>Export to device </li></ul><ul><ul><li>As APK ( A ndroid P ac K age file) </li></ul></ul>
  12. 12. Terminology <ul><ul><li>Most Commonly used elements </li></ul></ul><ul><ul><ul><li>Activity </li></ul></ul></ul><ul><ul><ul><li>Intent </li></ul></ul></ul><ul><ul><ul><li>Manifest file </li></ul></ul></ul><ul><ul><ul><li>Resources and Assets </li></ul></ul></ul><ul><ul><ul><li>Layout </li></ul></ul></ul>
  13. 13. Terminology - Activity <ul><li>Activity – (Noun) A single screen, your application is made up of one or more of these. </li></ul><ul><ul><li>Always extends Activity </li></ul></ul>
  14. 14. Terminology - Layout <ul><li>Layout – describes the UI of an activity </li></ul><ul><ul><li>Enables separation of UI from logic </li></ul></ul><ul><ul><li>There are a variety of layouts you can use including: Linear, Table, Relative, and Frame </li></ul></ul>
  15. 15. Terminology - Intent <ul><li>Intent – (Verb) code to perform an action </li></ul><ul><ul><li>Wiring between activities, services, broadcast receivers, or other functions </li></ul></ul><ul><ul><li>facility for late run-time binding between components in the same or different applications </li></ul></ul>
  16. 16. Terminology - Resources <ul><li>Resource – text, pictures, sound, etc </li></ul><ul><ul><li>are all abstracted from the code and logic </li></ul></ul><ul><ul><li>compiled and managed by system generated R.class file </li></ul></ul><ul><ul><li>Instantiate by getting reference to object </li></ul></ul>
  17. 17. Terminology - Manifest <ul><li>Manifest File – describes your app </li></ul><ul><ul><li>always named AndroidManifest.xml </li></ul></ul><ul><ul><li>declares the components of an application, describes security permissions required by the app, and lists required library dependencies </li></ul></ul>
  18. 18. Terminology – cont. <ul><ul><li>Other important elements </li></ul></ul><ul><ul><ul><li>Widget </li></ul></ul></ul><ul><ul><ul><li>Service </li></ul></ul></ul><ul><ul><ul><li>Broadcast Receiver </li></ul></ul></ul><ul><ul><ul><li>Security and Permission </li></ul></ul></ul><ul><ul><ul><li>Content Provider </li></ul></ul></ul>
  19. 19. Learn More <ul><li>http://developer.android.com </li></ul><ul><li>Phoenix Android Users Group </li></ul><ul><ul><li>http://groups.google.com/group/phoenix-android </li></ul></ul><ul><li>http://forum.xda-developers.com </li></ul><ul><li>http://www.openintents.org </li></ul><ul><li>http://www.anddev.org </li></ul><ul><li>Google Groups (Forums) </li></ul>
  20. 20. Questions? <ul><li>Follow me on twitter: @mikewolfson </li></ul>
  • Balu_Leo

    Mar. 13, 2011

Presentation given to the Phoenix Android Users Group; May 2010.

Views

Total views

8,488

On Slideshare

0

From embeds

0

Number of embeds

96

Actions

Downloads

84

Shares

0

Comments

0

Likes

1

×