Your SlideShare is downloading. ×
0
Ahmed AliMobileSq.net Founder@ahmed_aly<br />
Mobile Operating Systems<br />
Android is No.1<br />
Agenda<br />1 – What is “ Android “ ?<br />2 – Android History<br />3 – Android  Versions <br />4 – Why Android ?!!<br />5...
   What is Android ?<br />Android is an open-source software stack for mobile devices that includes an operating system, m...
Android History<br />Google Inc. purchased the initial developer of the software in 2005. from Android Inc. which was foun...
system-architecture<br />
What is That !!!<br />
Android Platform<br />Android 1.5  CupCake<br />Android 1.6  Donut<br />Android 2.1  Eclair<br />Android 2.2  Froyo<br />A...
Some statistics <br />
Why Android ?!<br />1 – Open Source<br />2 – based on Linux kernel<br />3 – Flash Player Support<br />4 – Different Models...
Challenges of Smartphone Programming<br />Screens <br />Keyboards<br />Pointing tools<br />CPU speed and Memory<br />
What You can use in Your App ?<br />Network<br />Storage<br />GPS<br />Phone Services<br />MultiMedia<br />
Development Tools<br /> - Java Language<br /> - Eclipse  IDE<br /> - ADT Plug-in For Eclipse <br /> - Android SDK<br />
Android SDK<br />Consist of the following parts : <br /> - Android Emulator<br /> - Command line tools <br />- Documentati...
Android Emulator<br />
Your First App “Hello World”<br />Install Java JDK<br />Install Eclipse<br />Install ADT Plug-in<br />Download Android SDK...
Project Content<br />
Android Application<br />Activities: user-facing components that present UI to interact with.<br />Services:processes that...
Android Application<br />Intents: messages created by the system or application themselves that are then passed on to any ...
 Manifest File (1/6)<br />The <manifest><br /><manifest xmlns:android="http://schemas.android.com/apk/res/android"<br />pa...
Manifest File (2/6)<br />The <application><br /><application android:icon="@drawable/icon" android:label="@string/app_name...
Manifest File (3/6)<br />The <activity><br /><activity   android:name=".HelloWorld"<br />android:label="@string/app_name">...
Manifest File (4/6)<br />The <activity><br /><activity   android:name=".MrNorm"<br />android:label="@string/app_name“<br /...
Manifest File (5/6)<br />The <uses-permission><br /><uses-permission android:name="android.permission.INTERNET" /><br />
Manifest File (6/6)<br />The <uses-sdk><br /><uses-sdkandroid:minSdkVersion=“3“<br />android:targetSdkVersion=“9” /><br />
Activity life cycle<br />The Activity can be in one of three states:<br />- Running<br />- Paused<br />- Stopped<br />- De...
Activity life cycle<br />
Input handling (1/4)<br />Processing Single Touch Events:<br />Touch Events are passed to an OnTouchListener interface imp...
Input handling (2/4)<br />Processing Single Touch Events: (Cont.)<br />MotionEvent.getX()<br />MotionEvent.getY()<br />Mot...
Input handling (3/4)<br />Processing Key Events:<br />To catch key Events, we implement another listener interface, called...
Input handling (4/4)<br />Processing Key Events:<br />KeyEvent.getAction()<br />KeyEvent.ActionDown<br />KeyEvent.ActionUp...
Coding !!!<br />
Android Market<br />
Android Market	<br />Market Is Divided into Two Parts <br />1 – Phone Market<br />2 – Web Market<br />
Android Market<br /> - $25 Registration Fee for Developer<br /> - Developer receive 70% of Each Sale<br /> - Remaining amo...
Summery <br />
`<br />
@ahmed_aly<br />www.MobileSq.net<br />
My Contacts<br />LinkedIn : http://eg.linkedin.com/in/ahmedali1<br />Facebook : Facebook.com/Ahmed.Ali.Ibrahim<br />Gmail ...
Upcoming SlideShare
Loading in...5
×

Android development

1,661

Published on

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,661
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
109
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide
  • Create it yourself
  • Transcript of "Android development"

    1. 1. Ahmed AliMobileSq.net Founder@ahmed_aly<br />
    2. 2. Mobile Operating Systems<br />
    3. 3.
    4. 4. Android is No.1<br />
    5. 5. Agenda<br />1 – What is “ Android “ ?<br />2 – Android History<br />3 – Android Versions <br />4 – Why Android ?!!<br />5 – Development Tools<br />6 – Hello World<br />7 – Project content<br />8 - Event Handling <br />9 – Android Market<br />
    6. 6.
    7. 7.
    8. 8. What is Android ?<br />Android is an open-source software stack for mobile devices that includes an operating system, middleware <br />and key applications. And it is based upon a modified version of the Linux kernel<br />
    9. 9. Android History<br />Google Inc. purchased the initial developer of the software in 2005. from Android Inc. which was founded in Palo Alto, California, United States in October, 2003 by Andy Rubin, Rich Miner. <br />
    10. 10. system-architecture<br />
    11. 11. What is That !!!<br />
    12. 12. Android Platform<br />Android 1.5 CupCake<br />Android 1.6 Donut<br />Android 2.1 Eclair<br />Android 2.2 Froyo<br />Android 2.3 Gingerbread<br />Android 3.0 Honeycomb , Tablet Oriented<br />Android 4.0 Ice Cream Sandwich<br />
    13. 13. Some statistics <br />
    14. 14. Why Android ?!<br />1 – Open Source<br />2 – based on Linux kernel<br />3 – Flash Player Support<br />4 – Different Models<br />5 – Reasonable prices<br />6 – Google Apps<br />7 – Android Apps<br />
    15. 15. Challenges of Smartphone Programming<br />Screens <br />Keyboards<br />Pointing tools<br />CPU speed and Memory<br />
    16. 16. What You can use in Your App ?<br />Network<br />Storage<br />GPS<br />Phone Services<br />MultiMedia<br />
    17. 17. Development Tools<br /> - Java Language<br /> - Eclipse IDE<br /> - ADT Plug-in For Eclipse <br /> - Android SDK<br />
    18. 18. Android SDK<br />Consist of the following parts : <br /> - Android Emulator<br /> - Command line tools <br />- Documentations.<br /> - example Applications.<br />
    19. 19. Android Emulator<br />
    20. 20. Your First App “Hello World”<br />Install Java JDK<br />Install Eclipse<br />Install ADT Plug-in<br />Download Android SDK and install it <br />Now, Create your First App<br />Coding<br />
    21. 21. Project Content<br />
    22. 22. Android Application<br />Activities: user-facing components that present UI to interact with.<br />Services:processes that work in the background and don’t have a visible background<br />Content Providers: components make parts of your application data available to other applications<br />
    23. 23. Android Application<br />Intents: messages created by the system or application themselves that are then passed on to any interested party.<br />Broadcast Receivers: These react to specific intents, and might execute an action.<br />
    24. 24. Manifest File (1/6)<br />The <manifest><br /><manifest xmlns:android="http://schemas.android.com/apk/res/android"<br />package="com.MobileSq.HelloWorld"<br />android:versionCode="1"<br />android:versionName="1.0“<br />android:installLocation=“preferExternal”><br />
    25. 25. Manifest File (2/6)<br />The <application><br /><application android:icon="@drawable/icon" android:label="@string/app_name" android:debuggable="true"><br /></application><br />
    26. 26. Manifest File (3/6)<br />The <activity><br /><activity android:name=".HelloWorld"<br />android:label="@string/app_name"><br /> <intent-filter><br /> <actionandroid:name="android.intent.action.MAIN" /><br /> <categoryandroid:name="android.intent.category.LAUNCHER" /><br /> </intent-filter><br /></activity><br />
    27. 27. Manifest File (4/6)<br />The <activity><br /><activity android:name=".MrNorm"<br />android:label="@string/app_name“<br />android:screenOrientation=“portrait”<br />android:configurations=”keyboard|keyboardHidden|orientation”/><br />
    28. 28. Manifest File (5/6)<br />The <uses-permission><br /><uses-permission android:name="android.permission.INTERNET" /><br />
    29. 29. Manifest File (6/6)<br />The <uses-sdk><br /><uses-sdkandroid:minSdkVersion=“3“<br />android:targetSdkVersion=“9” /><br />
    30. 30. Activity life cycle<br />The Activity can be in one of three states:<br />- Running<br />- Paused<br />- Stopped<br />- Dead<br />
    31. 31. Activity life cycle<br />
    32. 32. Input handling (1/4)<br />Processing Single Touch Events:<br />Touch Events are passed to an OnTouchListener interface implementation that we register with a view.<br />The OnTouchListener interface has only a single method<br />Public abstract booleanonTouch(View v, MotionEvent event) <br />
    33. 33. Input handling (2/4)<br />Processing Single Touch Events: (Cont.)<br />MotionEvent.getX()<br />MotionEvent.getY()<br />MotionEvent.getAcation()<br />MotionEvent.ActionDown<br />MotionEvent.ActionMove<br />MotionEvent.ActionCancle<br />MotionEvent.ActionUp<br />
    34. 34. Input handling (3/4)<br />Processing Key Events:<br />To catch key Events, we implement another listener interface, called OnKeyListener<br />Public booleanonKey(View v, intkeyCode, KeyEvent event)<br />
    35. 35. Input handling (4/4)<br />Processing Key Events:<br />KeyEvent.getAction()<br />KeyEvent.ActionDown<br />KeyEvent.ActionUp<br />KeyEvent.getUnicodeChar()<br />
    36. 36. Coding !!!<br />
    37. 37. Android Market<br />
    38. 38. Android Market <br />Market Is Divided into Two Parts <br />1 – Phone Market<br />2 – Web Market<br />
    39. 39. Android Market<br /> - $25 Registration Fee for Developer<br /> - Developer receive 70% of Each Sale<br /> - Remaining amount Goes to carriers <br /> - Google Doesn’t Take any percentage <br /> - Website : www.market.android.com<br />
    40. 40. Summery <br />
    41. 41. `<br />
    42. 42. @ahmed_aly<br />www.MobileSq.net<br />
    43. 43. My Contacts<br />LinkedIn : http://eg.linkedin.com/in/ahmedali1<br />Facebook : Facebook.com/Ahmed.Ali.Ibrahim<br />Gmail : ahmed.saraya90@gmail.com<br />HotMail : ahmed_ali@feng.bu.edu.eg<br />
    1. A particular slide catching your eye?

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

    ×