Your SlideShare is downloading. ×
0
Introducing Android Platform
Introducing Android Platform
Introducing Android Platform
Introducing Android Platform
Introducing Android Platform
Introducing Android Platform
Introducing Android Platform
Introducing Android Platform
Introducing Android Platform
Introducing Android Platform
Introducing Android Platform
Introducing Android Platform
Introducing Android Platform
Introducing Android Platform
Introducing Android Platform
Introducing Android Platform
Introducing Android Platform
Introducing Android Platform
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Introducing Android Platform

1,569

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,569
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
21
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. PRESENTATION Introducing ANDROID PLATFORM by Armen Polischuk
  • 2. Android Structure Feb, 20 2011 Lohika
  • 3. Core OS Libraries Feb, 20 2011 Lohika
  • 4. Framework Libraries Feb, 20 2011 Lohika
  • 5. APK Structure Feb, 20 2011 Lohika
  • 6. Native APK Structure Feb, 20 2011 Lohika
  • 7. Foundational Components <ul><li>Resources
  • 8. Intents
  • 9. Activities
  • 10. Content Providers </li></ul>Feb, 20 2011 Lohika
  • 11. Resources <ul><li>XML-based
  • 12. Raw resources
  • 13. Assets </li></ul>Feb, 20 2011 Lohika
  • 14. XML-based Resources <ul><li>Compiled animation files
  • 15. Bitmaps
  • 16. UI definitions
  • 17. Colors, dimensions, strings, styles
  • 18. Compiled XML files </li></ul>Feb, 20 2011 Lohika
  • 19. Resolving Resources Directory structure: /res/values/(strings | colors | dimens | attrs | styles).xml /drawable/(*.png | *.jpg | *.gif) /anim/*.xml /layout/*.xml /raw/*.* /xml/*.xml /assets/*.*/*.* And suffixes: drawable-mcc310-en-rUS-large-long-port-mdpi-stylus-keyssoft-qwerty-dpad-v3 Feb, 20 2011 Lohika
  • 20. Intents <ul>- is an action with its associated data payload Important Parameters: <li>Action
  • 21. Category
  • 22. URI </li></ul>Feb, 20 2011 Lohika
  • 23. Intents - Examples <ul>Intent intent = new Intent(Intent.ACTION_VIEW); intent.setData(Uri.parse(&quot;http://www.google.com&quot;)); activity.startActivity(intent); Intent intent = new Intent(Intent.ACTION_CALL); intent.setData(Uri.parse(&quot;tel:555-555-5555&quot;)); activity.startActivity(intent); </ul>Feb, 20 2011 Lohika
  • 24. Activities <ul><li>Represents a screen that an application can show to its users.
  • 25. Can be wired up with Intents
  • 26. Or can be called from code </li></ul>Feb, 20 2011 Lohika
  • 27. Activities – Intent Filter <activity android:name=&quot;...&quot; android:label=&quot;....&quot;> …… <intent-filter> <action android:name=&quot;android.intent.action.GET_CONTENT&quot; /> <category android:name=&quot;android.intent.category.DEFAULT&quot; /> <data android:mimeType=&quot;vnd.android.cursor.item/vnd..<pkg>..user&quot; /> </intent-filter> … .. </activity> Feb, 20 2011 Lohika
  • 28. Data Providers <ul><li>Exposes data sources
  • 29. As RESTfull service
  • 30. Uses URI to retrieve data
  • 31. Uses MIME types for data distinction </li></ul>Feb, 20 2011 Lohika
  • 32. Data Providers - Examples Retrieve data: Cursor cursor = getContentResolver().query( uri, projection, where, sort); URI creation rules: content://com.<Company>.provider.<AppName>/<DataPath> MIME types: Single item - vnd.<companyName>.cursor.item/<contenttype> All items - vnd.<companyName>.cursor.dir/<contenttype> Feb, 20 2011 Lohika
  • 33. Working Example Mercurial: http://eadditives.hg.sourceforge.net/hgweb/eadditives/eadditives/ Android Market: https://market.android.com/details?id=net.sf.additives Feb, 20 2011 Lohika
  • 34. Docs & Publications Core Android Resources http://developer.android.com Feb, 20 2011 Lohika

×