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,648

Published on

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

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

    ×