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

1,656

Published on

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

No Downloads
Views
Total Views
1,656
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
109
Comments
0
Likes
3
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
  • Create it yourself
  • Transcript

    • 1. Ahmed AliMobileSq.net Founder@ahmed_aly<br />
    • 2. Mobile Operating Systems<br />
    • 3.
    • 4. Android is No.1<br />
    • 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.
    • 7.
    • 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. 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. system-architecture<br />
    • 11. What is That !!!<br />
    • 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. Some statistics <br />
    • 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. Challenges of Smartphone Programming<br />Screens <br />Keyboards<br />Pointing tools<br />CPU speed and Memory<br />
    • 16. What You can use in Your App ?<br />Network<br />Storage<br />GPS<br />Phone Services<br />MultiMedia<br />
    • 17. Development Tools<br /> - Java Language<br /> - Eclipse IDE<br /> - ADT Plug-in For Eclipse <br /> - Android SDK<br />
    • 18. Android SDK<br />Consist of the following parts : <br /> - Android Emulator<br /> - Command line tools <br />- Documentations.<br /> - example Applications.<br />
    • 19. Android Emulator<br />
    • 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. Project Content<br />
    • 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. 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. 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. 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. 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. 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. Manifest File (5/6)<br />The <uses-permission><br /><uses-permission android:name="android.permission.INTERNET" /><br />
    • 29. Manifest File (6/6)<br />The <uses-sdk><br /><uses-sdkandroid:minSdkVersion=“3“<br />android:targetSdkVersion=“9” /><br />
    • 30. Activity life cycle<br />The Activity can be in one of three states:<br />- Running<br />- Paused<br />- Stopped<br />- Dead<br />
    • 31. Activity life cycle<br />
    • 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. 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. 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. Input handling (4/4)<br />Processing Key Events:<br />KeyEvent.getAction()<br />KeyEvent.ActionDown<br />KeyEvent.ActionUp<br />KeyEvent.getUnicodeChar()<br />
    • 36. Coding !!!<br />
    • 37. Android Market<br />
    • 38. Android Market <br />Market Is Divided into Two Parts <br />1 – Phone Market<br />2 – Web Market<br />
    • 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. Summery <br />
    • 41. `<br />
    • 42. @ahmed_aly<br />www.MobileSq.net<br />
    • 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 />

    ×