Your SlideShare is downloading. ×
Android Mobile 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

Android Mobile Platform

1,081

Published on

Published in: Technology, Business
1 Comment
0 Likes
Statistics
Notes
  • Be the first to like this

No Downloads
Views
Total Views
1,081
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
75
Comments
1
Likes
0
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. Android Presentation of mobile platform
  • 2. Index • Introduction to android • Development enviroment • Building blocks • Performance
  • 3. Introduction to android • What is android ? • Android – J2ME - iPhone • Features
  • 4. What is android ? • Android literally means “Robot with human qualities” • First open source mobile platform • Software stack – Operating system – Middleware – Key applications – Rich set of APIs
  • 5. Android linux kernel • Android is not linux • Based on linux 2.6, providing – Security – Memory managment – Process managment – Network stack – Driver model – Abstraction layer
  • 6. Unique platform characteristics • Open source • Android market • “all applications are equal” model • Dalvik virtual mashine Optimized for mobile
  • 7. Arhitecture
  • 8. Android - J2ME – iPhone Android J2ME iPhone J2ME or Java Objective C or Foundation Java FX Java App store Distribution Market Free Hype SDK cost Free Free Free Performance Average Average Best
  • 9. Features • Localization • Widgets • Security • Animations • Multimedia • Customization • Compas • OpenGL ES
  • 10. Localization • GoogleMaps • StreetView • Language localization
  • 11. Google Maps • External library (com.google.android.maps) • Maps API Key • Routing in 2.1
  • 12. StreetView • 3D view • Virtual look of city
  • 13. Localization • Default resources • Done without programming – res/values/strings.xml – res/values-fr/strings.xml • Depends on locale setting on phone
  • 14. Widgets • Home screen • Most important or timely information • Provided standard design
  • 15. Security and permissions • AndroidManifest.xml – Control file – “Glue” together Activitys – Specifies permissions
  • 16. Animations • In/Out animations • Alpha-transparency • Rotate • Scale • Translate • Combination of all 4
  • 17. Audio and video • Playback – MediaPlayer • Recording – MediaRecorder • JET content
  • 18. Bluetooth • Network stack for data exchange • Scan other devices • Establish RFCOMM channels • Connect via service discovery • Manage multiple connections
  • 19. Style and themes • Defined in resources • Changing between themes • Runtime change
  • 20. Screen orientation • Live change • Landscape / portrait
  • 21. Development enviroment • Eclipse • Plug-ins • Emulator
  • 22. Eclipse Eclipse is an extensible development platform • Extended with plug-ins • Lightweight plug-ins • Common used IDE • Emulator
  • 23. Plug-ins • Android SDK – Platforms – Add-ons – Tools – API-documentation • Android ADT – ADT- Android Development Tools – Accesing DDMS tool
  • 24. Emulator • Ability to – Prototype – Develop – Test • AVD configurations • Debuging
  • 25. Google applications • Android browser • Android dialer
  • 26. Custom components • Fundamental classes View and ViewGroup • Button, TextView, EditText ... • Own View subclass • Attributes and parameters from XML
  • 27. Activities Views Building blocks Intents Services Notifications AndroidManifest.xml ContentProviders
  • 28. Activities • Stacked like a deck of cards • Only one is visible • Ony one is active • New activities are placed at top
  • 29. Activities lifecyle Rectangles are callbacks where we can implement operations performed on state changes
  • 30. Activities states • Active – At the top of the stack • Paused – Lost focus but still visible – Can be killed • Stopped – Not at the top of the stack • Dropped – Killed to reclaim its memory
  • 31. Views • Basic class for UI components • Respond to events • Described in XML in layout resources • Organized as trees to build up GUIs
  • 32. Intent • Used to move between Activities • Describes what the application wants • Provides late runtime binding • Primary information – Action ( ACTION_VIEW, ACTION_EDIT...) – Data ( Data to operate on expressed as Uri)
  • 33. Services • Run in background • Don’t interact with the user • Run on the main thread of the process • Run as long as – Is started – Has connections
  • 34. Notifications • Notify user about events • Sent through NotificationManager • Types – Persistent icon – Turning leds – Sound or vibration
  • 35. Content provider • Objects that can – Retrieve data – Store data • Data is available to all applications • Only way to share data between packages • Usually the backend is SQLite • Data exposed as a unique URI
  • 36. Android key points • Open source platform • Android Apps Market • Google Power Products – Google voice – Google maps • Rapidly increasing market share
  • 37. Primož Fideršek Software engineer info@tridens.si www.tridens.si Copyright (c) 2010 Tridens d.o.o. All rights reserved. Logotype is a registered trademark of Tridens d.o.o. All other names/logos may be registered trademarks of their respective owners. 37

×