SlideShare une entreprise Scribd logo
             Introduction à Android by Jean Collas, Ghislain Deffrasne, Reda Sebbaniis licensed under a Creative Commons Attribution 2.0 France License. Original at http://www.jean-collas.fr/android
 OuvertureJean Collas, Réda Sebbani, Ghislain Deffrasnes
ContexteContexte3Téléphonie Mobile : Smart PhoneDéveloppement logiciel pour mobilesChiffre d’affaire énormeWindows MobileRIM40 millions de smartphones / trimestre (2008)SymbianiPhone OS
Contexte Concurrentiel4Systèmes d’exploitation pour Mobiles :Marché en constante augmentationPossibilités d’évolution énormes avec un bon produit
Contexte Concurrentiel5Systèmes d’exploitation pour Smart phone :Marché en constante augmentation (+28% en 1 an, 31M -> 40M)Possibilités d’évolution énormes avec un bon produit
Internet & Google6Fondé en 98, croissance constanteMultiples domaines de l’informatique :Recherche, cartographie, vidéo, conception 3D, suite  bureautique, publicité, navigateur, …Politique de financement par la publicitéAttaque du monde mobile par la source : le système d’exploitation Android
Points forts d’AndroidPoints fort d’Android7Point de vue constructeurPoint de vue utilisateurPoint de vue développeurPoint de vue bidouilleurSystème Linux + JavaSystème fonctionnel, intuitif, évolutifApplication développées en syntaxe JavaSDK complet fourniProjet Open Source C++ / Java
HistoriqueHistorique8T-Mobile G1Novembre 2008Android 1.0 et SDK release 2Android : Open SourceOctobre 2008Android 1.0 et SDK release 1Septembre 2008AndroidMarketAoût 2008Avril 2008Développementd’AndroidDeveloperChallengeOpen Handset AllianceAnnonce d’AndroidSDK pour AndroidNovembre 2007Start-up AndroidAoût 2005
Open Handset Alliance9Consortium créé fin 2007
47 compagniesFabricants de semi-conducteursOpérateurs de téléphonie mobileEntreprises de commercialisationFabricants d'appareils mobilesFabricants de logicielsBut : développer des normes ouvertes pour les appareils de téléphonie mobileT-Mobile G1T-Mobile G1 (HTC)101ertéléphone avec Android
De 180 à 400 $
Wi-fi et Bluetooth
GPS
Accéléromètres
Caméra
Écran tactileDe nouveaux mobiles11LGL’agora par Koganhttp://www.businessmobile.fr/solutions-mobiles/guides-mobilite/0,39044672,39220692,00.htm
Matériel Recommandé12  RAM : 128 Mo (minimum requis)
  Mémoire Flash : 256 Mo (minimum requis)
  Wifi : 802.11 b/g
  USB : interface USB 2.0
  Bluetooth 2.0 EDR
  Caméra
  Périphérique de stockage externe
  Écran :
  Résolution HVGA (480 × 320 pixels)
  Couleurs 16 bitsPreuve de sa portabilité – Futur d’Android13Et si Android n’était pas seulement conçu pour les smartphone?Android sur un NetBook
Développementd’Applications14  Possibilité de créer ses propres applicationsEnvironnement de développementAndroid SDK  Plugin Eclipse  Émulateur, outils de débuggage, etc…  Langage Java?
Intégration des applications Google15  Barre de recherche « Google Search »Gmail  Google Talk (IM)  Navigateur WebGmaps  Google StreetView
Exemples d’applications : Android Market16GéolocalisationOrientationTourismeGéolocalisationTravailVoisinageGoogle MapsVoyageAchatsCovoiturage
Points d’accès d’Android17Point de vue constructeurPoint de vue utilisateurPoint de vue développeurPoint de vue bidouilleurSystème Linux + JavaSystème fonctionnel, intuitif, évolutifApplication développées en syntaxe JavaSDK complet fourniProjet Open Source C++ / Java
Architecture18APPLICATIONSHomeContactsPhoneBrowser…APPLICATION FRAMEWORKActivity ManagerWindow ManagerContent ProvidersView SystemPackage ManagerTelephony ManagerResource ManagerLocation ManagerNotification ManagerANDROID RUNTIMEJNILIBRARIESCoreLibrariesSurface ManagerMedia FrameworkSQL LiteDalvik Virtual MachineOpenGLAudio ManagerWebKitSGLSSLLibcLINUX KERNELDisplay DriverCamera DriverFlash Memory DriverBinder (IPC) DriverKeypad DriverWiFi DriverAudio DriverPower Management
Noyau d’Android19Architecture ARMBasé sur Linux 2.6.24Système de fichiers supporté : FAT32  Support de TCP/IP, UDP,…HARDWARE ABSTRACTION LAYERGraphicsAudioCameraBluetoothGPSWiFi…LINUX KERNELDisplay DriverCamera DriverFlash Memory DriverBinder (IPC) DriverKeypad DriverWiFi DriverAudio DriverPower Management
Adaptation aux besoins du mobile20Alarm : timers pour « réveiller » des périphériques
Ashmem : partage de mémoire entre processus
Binder : driver IPC pour la communication inter-processus
Power Management
Low Memory Killer
Kernel Debugger
LoggerHARDWARE ABSTRACTION LAYERGraphicsAudioCameraBluetoothGPSWiFi…LINUX KERNELDisplay DriverCamera DriverFlash Memory DriverBinder (IPC) DriverKeypad DriverWiFi DriverAudio DriverPower Management
Librairies21LIBRARIESSurface ManagerMedia FrameworkSQL LiteOpenGLAudio ManagerWebKitSGLSSLLibcLINUX KERNELDisplay DriverCamera DriverFlash Memory DriverBinder (IPC) DriverKeypad DriverWiFi DriverAudio DriverPower Management
Surface Manager22Application 1Surface FlingerApplication 2Écran(Frame Buffer)
Audio Manager23Sonnerie d’appelAudio FlingerOreilletteLecteur MP3Écouteurs
Machine Virtuelle Dalvik24ANDROID RUNTIMELIBRARIESCoreLibrariesSurface ManagerMedia FrameworkSQL LiteDalvik Virtual MachineOpenGLAudio ManagerWebKitSGLSSLLibcLINUX KERNELDisplay DriverCamera DriverFlash Memory DriverBinder (IPC) DriverKeypad DriverWiFi DriverAudio DriverPower Management
Machine Virtuelle Dalvik25Nouvelle instance pour chaque processus : Applications indépendantes  Exécute des fichiers .dex (Dalvik Executable)Dalvik core class library fournit une base de développement proche  de java SE, adapté au mobile
Framework & fondationsdes applications26APPLICATION FRAMEWORKActivity ManagerWindow ManagerContent ProvidersView SystemPackage ManagerTelephony ManagerResource ManagerLocation ManagerNotification ManagerANDROID RUNTIMEJNILIBRARIESCoreLibrariesSurface ManagerMedia FrameworkSQL LiteDalvik Virtual MachineOpenGLAudio ManagerWebKitSGLSSLLibcLINUX KERNELDisplay DriverCamera DriverFlash Memory DriverBinder (IPC) DriverKeypad DriverWiFi DriverAudio DriverPower Management
Intents27 Intent :  Requête; Description d’une action à effectuer
  Fait le lien entre différentes applications  Décrit par :  Une action(VIEW, EDIT, MAIN,…)
  La donnée à traiter (sous forme d’URI)Types d’Intent :  Explicite (référence exacte)
  Implicite (description)Intents28Intent ResolverIntent 1 App.AIntent 2 App.B..PublicationEdit ContactContactsView Contact Contacts IntentFilterVIEWEDITStartActivity(View Contact)12Echange3MessagerieContacts
29Intent FilterObjectif : Description du handlerPublication d’IntentFilters par les activitésIntentFilter décrivent les capacités de l’application.<intent-filter>   <actionandroid:value="android.intent.action.VIEW"/>   <actionandroid:value="android.intent.action.EDIT"/>   <actionandroid:value="android.intent.action.PICK"/>   <category android:value="android.intent.category.DEFAULT" />   <type     android:value="vnd.android.cursor.dir/vnd.google.contact" /></intent-filter>
Les URIs - Utilisation30Exemples d’URI:IntentEDIT_ACTIONOuvre l’application de géo-localisation à la position donnée (latitude, longitude).VIEW_ACTIONgeo:tel:125people/content:google.streetview://contacts/25,32123cbll=25,32Appelle le numéro 123CALL_ACTIONVIEW_ACTION&cbp=1,yaw,,pitch,zoomvoid startActivity(Intent intent) ;void sendBroadcast(Intent intent)boolean bindService(Intent service, int flags)ComponentName startService(Intent service)
Notification Manager31Applications peuvent s’exécuter simultanémentBarre de notificationsNotificationsd’événements du backgroundMise en place facilité par le Notification ManagerDifférentes formes de notifications :  LED
  Son

Contenu connexe

PPT
Android, historique et enjeux
PDF
Presentation Android
PDF
Niji x mobile mots flash
PPTX
Intro Android
PDF
Programmation sous Android
PPTX
Developpement mobile vs open source
PPTX
Framework XPlatform Mobile
PPTX
Présentation smartphones
Android, historique et enjeux
Presentation Android
Niji x mobile mots flash
Intro Android
Programmation sous Android
Developpement mobile vs open source
Framework XPlatform Mobile
Présentation smartphones

Tendances (12)

PPTX
PDF
Ch1. Développement mobile
PPTX
Workshop android
PDF
Ch2. Développement mobile
PPTX
Niji x mobile mots flash
PPTX
L’open-source au cœur des magasins d’applications
PPTX
Présentation développement application Android
PPTX
Hackathon Android Abidjan
PPTX
Présentation de la plateforme Android
PDF
Plateformes de développement d’applications mobiles
PPTX
Présentation et Initiative pour le développement Android
PDF
Choisir sa plateforme de développement mobile
Ch1. Développement mobile
Workshop android
Ch2. Développement mobile
Niji x mobile mots flash
L’open-source au cœur des magasins d’applications
Présentation développement application Android
Hackathon Android Abidjan
Présentation de la plateforme Android
Plateformes de développement d’applications mobiles
Présentation et Initiative pour le développement Android
Choisir sa plateforme de développement mobile
Publicité

Similaire à Presentation Android (20)

PPT
Cours mobiles du Mastère CPM 2011 (Telecom ParisTech/INA)
PPT
Cours mobiles du Mastère CPM 2011 (Telecom ParisTech/INA)
PPTX
sec 1 - chap 1 - Introduction au développement mobile - Introduction à Androi...
PDF
SophiaConf 2010 Présentation de la conférence du 05 Juillet - Android :Tout s...
PDF
LES MATERIELS ANDROID
PPTX
Développement d'applications mobiles.. Environnement de programmation visuelle
PDF
LOGIC INSTRUMENT Présentation Français - Jan. 2014
PPTX
Android 1
PDF
Cours PM.pdf programmation mobile en utilisant kotlin
PDF
Chapitre1+2_35793cfca4b5d005659df01473b886fb.pdf
PDF
Introduction à Android - Mars 2012
PPTX
Android pour les debutants
PPTX
Windows Phone 8 for Business - Developer Talks
ODP
Présentation écosystème mobile
PPTX
Windows Phone 8 et la sécurité
PDF
Cahier Windows Phone 7 par Programmez
PPTX
Les secrets du développement d'une application mobile
PPTX
Presentation cgt juin2010
PDF
Chapitre 1-introduction-plateforme-android
PDF
chapitre-1-introduction-plateforme-android (2).pdf
Cours mobiles du Mastère CPM 2011 (Telecom ParisTech/INA)
Cours mobiles du Mastère CPM 2011 (Telecom ParisTech/INA)
sec 1 - chap 1 - Introduction au développement mobile - Introduction à Androi...
SophiaConf 2010 Présentation de la conférence du 05 Juillet - Android :Tout s...
LES MATERIELS ANDROID
Développement d'applications mobiles.. Environnement de programmation visuelle
LOGIC INSTRUMENT Présentation Français - Jan. 2014
Android 1
Cours PM.pdf programmation mobile en utilisant kotlin
Chapitre1+2_35793cfca4b5d005659df01473b886fb.pdf
Introduction à Android - Mars 2012
Android pour les debutants
Windows Phone 8 for Business - Developer Talks
Présentation écosystème mobile
Windows Phone 8 et la sécurité
Cahier Windows Phone 7 par Programmez
Les secrets du développement d'une application mobile
Presentation cgt juin2010
Chapitre 1-introduction-plateforme-android
chapitre-1-introduction-plateforme-android (2).pdf
Publicité

Dernier (7)

PDF
Modems expliqués- votre passerelle vers Internet.pdf
PDF
Tendances tech 2025 - SFEIR & WENVISION.pdf
PPTX
Presentation_Securite_Reseaux_Bac+2.pptx
PDF
presentation_with_intro_compressee IEEE EPS France
PDF
FORMATION EN Programmation En Langage C.pdf
PDF
FORMATION COMPLETE EN EXCEL DONE BY MR. NYONGA BRICE.pdf
PPTX
Souveraineté numérique - Définition et enjeux pour les entreprises et les dév...
Modems expliqués- votre passerelle vers Internet.pdf
Tendances tech 2025 - SFEIR & WENVISION.pdf
Presentation_Securite_Reseaux_Bac+2.pptx
presentation_with_intro_compressee IEEE EPS France
FORMATION EN Programmation En Langage C.pdf
FORMATION COMPLETE EN EXCEL DONE BY MR. NYONGA BRICE.pdf
Souveraineté numérique - Définition et enjeux pour les entreprises et les dév...

Presentation Android