If you can't read please download the document
Upload
armen-polischuk
View
1.575
Download
1
Embed Size (px)
Citation preview
2. Android Structure Feb, 202011 Lohika 3. Core OS Libraries Feb, 202011 Lohika 4. Framework Libraries Feb, 202011 Lohika 5. APK Structure Feb, 202011 Lohika 6. Native APK Structure Feb, 202011 Lohika 7. Foundational Components
8. Intents 9. Activities 10. Content Providers Feb, 202011 Lohika 11. Resources
12. Raw resources 13. Assets Feb, 202011 Lohika 14. XML-based Resources
15. Bitmaps 16. UI definitions 17. Colors, dimensions, strings, styles 18. Compiled XML files Feb, 202011 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, 202011 Lohika 20. Intents
21. Category 22. URI Feb, 202011 Lohika 23. Intents - Examples
Feb, 202011 Lohika 24. Activities
25. Can be wired up with Intents 26. Or can be called from code Feb, 202011 Lohika 27. Activities Intent Filter ..user" /> .. Feb, 202011 Lohika 28. Data Providers
29. As RESTfull service 30. Uses URI to retrieve data 31. Uses MIME types for data distinction Feb, 202011 Lohika 32. Data Providers - Examples Retrieve data: Cursor cursor =getContentResolver().query( uri, projection, where, sort);URI creation rules: content://com..provider./ MIME types: Single item - vnd..cursor.item/ All items - vnd..cursor.dir/ Feb, 202011 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, 202011 Lohika 34. Docs & Publications Core Android Resources http://developer.android.com Feb, 202011 Lohika