SlideShare une entreprise Scribd logo
1  sur  43
Ahmed AliMobileSq.net Founder@ahmed_aly
Mobile Operating Systems
Android is No.1
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
   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
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.
system-architecture
What is That !!!
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
Some statistics
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
Challenges of Smartphone Programming Screens  Keyboards Pointing tools CPU speed and Memory
What You can use in Your App ? Network Storage GPS Phone Services MultiMedia
Development Tools  - Java Language  - Eclipse  IDE  - ADT Plug-in For Eclipse   - Android SDK
Android SDK Consist of the following parts :   - Android Emulator  - Command line tools  - Documentations.  - example Applications.
Android Emulator
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
Project Content
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
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.
 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”>
Manifest File (2/6) The <application> <application android:icon="@drawable/icon" android:label="@string/app_name" android:debuggable="true"> </application>
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>
Manifest File (4/6) The <activity> <activity   android:name=".MrNorm" android:label="@string/app_name“ android:screenOrientation=“portrait” android:configurations=”keyboard|keyboardHidden|orientation”/>
Manifest File (5/6) The <uses-permission> <uses-permission android:name="android.permission.INTERNET" />
Manifest File (6/6) The <uses-sdk> <uses-sdkandroid:minSdkVersion=“3“ android:targetSdkVersion=“9” />
Activity life cycle The Activity can be in one of three states: - Running - Paused - Stopped - Dead
Activity life cycle
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)
Input handling (2/4) Processing Single Touch Events: (Cont.) MotionEvent.getX() MotionEvent.getY() MotionEvent.getAcation() MotionEvent.ActionDown MotionEvent.ActionMove MotionEvent.ActionCancle MotionEvent.ActionUp
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)
Input handling (4/4) Processing Key Events: KeyEvent.getAction() KeyEvent.ActionDown KeyEvent.ActionUp KeyEvent.getUnicodeChar()
Coding !!!
Android Market
Android Market	 Market Is Divided into Two Parts  1 – Phone Market 2 – Web Market
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
Summery
`
@ahmed_aly www.MobileSq.net
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

Contenu connexe

Tendances

Android development - ListView & Adapter
Android development - ListView & AdapterAndroid development - ListView & Adapter
Android development - ListView & AdapterLope Emano
 
Lecture 1 Session 1 Before Getting Started
Lecture 1 Session 1 Before Getting StartedLecture 1 Session 1 Before Getting Started
Lecture 1 Session 1 Before Getting StartedAhsanul Karim
 
Sensors in Android (old)
Sensors in Android (old)Sensors in Android (old)
Sensors in Android (old)Ahsanul Karim
 
Day 1 Android: Before Getting Started
Day 1 Android: Before Getting StartedDay 1 Android: Before Getting Started
Day 1 Android: Before Getting StartedAhsanul Karim
 
Android and its market
Android and its marketAndroid and its market
Android and its marketAnurag gond
 
Android Oreo Key Features
Android Oreo Key FeaturesAndroid Oreo Key Features
Android Oreo Key FeaturesAppinventiv
 
mobile app development company in coimbatore- SAISS
mobile app development company in coimbatore- SAISSmobile app development company in coimbatore- SAISS
mobile app development company in coimbatore- SAISSktgsaiss
 
Android development company in coimbatore- SAISS
Android development company in coimbatore- SAISSAndroid development company in coimbatore- SAISS
Android development company in coimbatore- SAISSktgsaiss
 
Getting Started with Titanium Studio
Getting Started with Titanium StudioGetting Started with Titanium Studio
Getting Started with Titanium StudioKet Majmudar
 
Basic android workshop
Basic android workshopBasic android workshop
Basic android workshopThagatpam Tech
 

Tendances (20)

Android
Android Android
Android
 
Android development - ListView & Adapter
Android development - ListView & AdapterAndroid development - ListView & Adapter
Android development - ListView & Adapter
 
Google phones - android
Google phones  -  androidGoogle phones  -  android
Google phones - android
 
Lecture 1 Session 1 Before Getting Started
Lecture 1 Session 1 Before Getting StartedLecture 1 Session 1 Before Getting Started
Lecture 1 Session 1 Before Getting Started
 
Sensors in Android (old)
Sensors in Android (old)Sensors in Android (old)
Sensors in Android (old)
 
Day 1 Android: Before Getting Started
Day 1 Android: Before Getting StartedDay 1 Android: Before Getting Started
Day 1 Android: Before Getting Started
 
Android and its market
Android and its marketAndroid and its market
Android and its market
 
Android oreo
Android oreoAndroid oreo
Android oreo
 
Android.
Android.Android.
Android.
 
Android Oreo Key Features
Android Oreo Key FeaturesAndroid Oreo Key Features
Android Oreo Key Features
 
mobile app development company in coimbatore- SAISS
mobile app development company in coimbatore- SAISSmobile app development company in coimbatore- SAISS
mobile app development company in coimbatore- SAISS
 
Android development company in coimbatore- SAISS
Android development company in coimbatore- SAISSAndroid development company in coimbatore- SAISS
Android development company in coimbatore- SAISS
 
Android material2
Android material2Android material2
Android material2
 
iOS training (intermediate)
iOS training (intermediate)iOS training (intermediate)
iOS training (intermediate)
 
Aio open data V1
Aio open data V1Aio open data V1
Aio open data V1
 
Sdk technology
Sdk technologySdk technology
Sdk technology
 
My android
My androidMy android
My android
 
Getting Started with Titanium Studio
Getting Started with Titanium StudioGetting Started with Titanium Studio
Getting Started with Titanium Studio
 
Basic android workshop
Basic android workshopBasic android workshop
Basic android workshop
 
Android Oreo 8.0
Android Oreo 8.0Android Oreo 8.0
Android Oreo 8.0
 

Similaire à Android development

Introduction to android mobile app development.pptx
Introduction to android mobile app development.pptxIntroduction to android mobile app development.pptx
Introduction to android mobile app development.pptxridzah12
 
Outstanding Improvement Award Outstanding Improvement Award
Outstanding Improvement Award Outstanding Improvement AwardOutstanding Improvement Award Outstanding Improvement Award
Outstanding Improvement Award Outstanding Improvement Awardpravinmali2191
 
Introduction to everything around Android
Introduction to everything around AndroidIntroduction to everything around Android
Introduction to everything around AndroidBipin Jethwani
 
Mobile Application Development with Android
Mobile Application Development with AndroidMobile Application Development with Android
Mobile Application Development with AndroidIJAAS Team
 
Getting started with android programming
Getting started with android programmingGetting started with android programming
Getting started with android programmingPERKYTORIALS
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorialAjai Kumar
 
Mobile Application Development-Lecture 01 & 02.pdf
Mobile Application Development-Lecture 01 & 02.pdfMobile Application Development-Lecture 01 & 02.pdf
Mobile Application Development-Lecture 01 & 02.pdfAbdullahMunir32
 
Android app development ppt
Android app development pptAndroid app development ppt
Android app development pptsaitej15
 
Software training report
Software training reportSoftware training report
Software training reportNatasha Bains
 
PRESENTATION ON ANDROID
PRESENTATION ON ANDROIDPRESENTATION ON ANDROID
PRESENTATION ON ANDROIDRajat Kumar
 
Android presantation
Android presantationAndroid presantation
Android presantationUdayJethva
 
001-Mobile Application.pptx
001-Mobile Application.pptx001-Mobile Application.pptx
001-Mobile Application.pptxAhmedDarre
 
Android terminologies
Android terminologiesAndroid terminologies
Android terminologiesjerry vasoya
 
Getting Started With Android Application Development [IndicThreads Mobile Ap...
Getting Started With Android Application Development  [IndicThreads Mobile Ap...Getting Started With Android Application Development  [IndicThreads Mobile Ap...
Getting Started With Android Application Development [IndicThreads Mobile Ap...IndicThreads
 
Java Meetup - 12-03-15 - Android Development Workshop
Java Meetup - 12-03-15 - Android Development WorkshopJava Meetup - 12-03-15 - Android Development Workshop
Java Meetup - 12-03-15 - Android Development WorkshopKasun Dananjaya Delgolla
 

Similaire à Android development (20)

Introduction to android mobile app development.pptx
Introduction to android mobile app development.pptxIntroduction to android mobile app development.pptx
Introduction to android mobile app development.pptx
 
What is Android
What is Android What is Android
What is Android
 
Outstanding Improvement Award Outstanding Improvement Award
Outstanding Improvement Award Outstanding Improvement AwardOutstanding Improvement Award Outstanding Improvement Award
Outstanding Improvement Award Outstanding Improvement Award
 
Introduction to everything around Android
Introduction to everything around AndroidIntroduction to everything around Android
Introduction to everything around Android
 
Mobile Application Development with Android
Mobile Application Development with AndroidMobile Application Development with Android
Mobile Application Development with Android
 
Getting started with android programming
Getting started with android programmingGetting started with android programming
Getting started with android programming
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
 
Mobile Application Development-Lecture 01 & 02.pdf
Mobile Application Development-Lecture 01 & 02.pdfMobile Application Development-Lecture 01 & 02.pdf
Mobile Application Development-Lecture 01 & 02.pdf
 
Android app development ppt
Android app development pptAndroid app development ppt
Android app development ppt
 
Software training report
Software training reportSoftware training report
Software training report
 
Android by LAlitha
Android by LAlithaAndroid by LAlitha
Android by LAlitha
 
PRESENTATION ON ANDROID
PRESENTATION ON ANDROIDPRESENTATION ON ANDROID
PRESENTATION ON ANDROID
 
Android
AndroidAndroid
Android
 
Android presantation
Android presantationAndroid presantation
Android presantation
 
001-Mobile Application.pptx
001-Mobile Application.pptx001-Mobile Application.pptx
001-Mobile Application.pptx
 
Android terminologies
Android terminologiesAndroid terminologies
Android terminologies
 
01 03 - introduction to android
01  03 - introduction to android01  03 - introduction to android
01 03 - introduction to android
 
Getting Started With Android Application Development [IndicThreads Mobile Ap...
Getting Started With Android Application Development  [IndicThreads Mobile Ap...Getting Started With Android Application Development  [IndicThreads Mobile Ap...
Getting Started With Android Application Development [IndicThreads Mobile Ap...
 
Android Basic- CMC
Android Basic- CMCAndroid Basic- CMC
Android Basic- CMC
 
Java Meetup - 12-03-15 - Android Development Workshop
Java Meetup - 12-03-15 - Android Development WorkshopJava Meetup - 12-03-15 - Android Development Workshop
Java Meetup - 12-03-15 - Android Development Workshop
 

Dernier

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 

Dernier (20)

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 

Android development

  • 3.
  • 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.
  • 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
  • 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.
  • 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
  • 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
  • 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()
  • 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
  • 41. `
  • 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

Notes de l'éditeur

  1. Create it yourself