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

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
Ahsanul Karim
 
Sensors in Android (old)
Sensors in Android (old)Sensors in Android (old)
Sensors in Android (old)
Ahsanul Karim
 
Getting Started with Titanium Studio
Getting Started with Titanium StudioGetting Started with Titanium Studio
Getting Started with Titanium Studio
Ket Majmudar
 

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

Outstanding Improvement Award Outstanding Improvement Award
Outstanding Improvement Award Outstanding Improvement AwardOutstanding Improvement Award Outstanding Improvement Award
Outstanding Improvement Award Outstanding Improvement Award
pravinmali2191
 
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
AbdullahMunir32
 

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

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Dernier (20)

Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
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
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 

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