Build Mobile Application In Android

5,811
-1

Published on

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

No Downloads
Views
Total Views
5,811
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
117
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Build Mobile Application In Android

  1. 1. Build mobile application in Android By: Savot Dane Email: dnnddane@gmail.com
  2. 2. What Android? <ul><li>Google and the Open Handset Alliance, 2007 </li></ul><ul><li>Deploy by many mobile companies, SonyEricsson, HTC, LG, Motorola, Acer, Ramos, … </li></ul><ul><li>Mobile platform: Symbian, Window Mobile, iPhone OS, Java Mobile Edition, Linux Mobile(LiMo), … </li></ul>
  3. 3. Why Android? <ul><li>Open source and SDK. </li></ul><ul><li>Automatic memory management and application life circle. </li></ul><ul><li>A component-based architecture (mashups) </li></ul><ul><li>Tons of built-in services </li></ul><ul><li>High quality graphics, audio and video: 2D, 3D(OpenGL), Various codecs support </li></ul><ul><li>Portable platform: Linux Kernel and Optimized JVM (Dalvik) for Low Memory Requirement </li></ul>
  4. 4. Android System Architecture
  5. 5. Android System Architecture <ul><li>Home Application </li></ul>
  6. 6. How Android? <ul><li>Application Components </li></ul>A service doesn't have a visual user interface. Services (running in background) A class to use share data between applications. Data can be store in text file, SQLite db,.. Content provider (data wrapper) A user interface screen Activity (UI) A mechanism for describing a specific action. Intent (action) 1 application can have 1 or more Activities Application (program)
  7. 7. How Android? <ul><li>How Applications Work? </li></ul>Window
  8. 8. How Android? <ul><li>How Applications Work? </li></ul>Android Home App1 Act2 Act3 Act4 Act1 Act1 Act2 Act3 Act4
  9. 9. How Android? <ul><li>Life cycle of an Android activity </li></ul>
  10. 10. How Android? <ul><li>Activity Events </li></ul>If this method is called, it indicates your activity is being redisplayed to the user from a stopped state. onRestart Called right before your activity is destroyed. onDestroy called when activity is no longer visible to the user for a while. onStop Called when the activity is about to go into the background. onPause The activity is about to be displayed to the user. onStart Called when your activity can start interacting with the user. Place to start animations and music. onResume Called when the activity first starts up. Place where to create user interface onCreate
  11. 11. How Android? <ul><li>Prepare for Development </li></ul>https://dl-ssl.google.com/android/eclipse/ http://dl-ssl.google.com/android/eclipse/ Android Eclipse Plug-In Update via Android SDK and AVG Manager Android Platform SDK 1.5, 1.6, 2.0, 2.01, 2.1 http://www.eclipse.org/downloads Eclipse http://d.android.com/sdk Android SDK http://java.sun.com/javase/downloads Java JDK 5.0+
  12. 12. How Android? <ul><li>DEMO </li></ul>
  13. 13. Measurement UI Design • px (pixels): Dots on the screen. • in (inches): Size as measured by a ruler. • mm (millimeters): Size as measured by a ruler. • pt (points): 1/72 of an inch. • dp (density-independent pixels): An abstract unit based on the density of the screen. On a display with 160 dots per inch, 1dp = 1px. • dip: Synonymfor dp, usedmore often in Google examples. • sp (scale-independent pixels): Similar to dp but also scaled by the user’s font size preference.
  14. 14. References <ul><li>Hellow Android by Ed Burnette, Nov 2009 </li></ul><ul><li>http://developer.android.com/guide/index.html </li></ul><ul><li>http://android-developers.blogspot.com </li></ul>Brought to you by: SharevisionTeam
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×