SlideShare a Scribd company logo
Introduction to Android  Operating system for mobile devices and others crazy devices Powered by SUPINFO Java Lab SF
Speaker Remy Loubradou Twitter:  @ lbdremy Email: remyloubradou@gmail.com
Roadmap I) Introduction II) History III) System architecture IV) Development environment V) Android project structure VI) Application components VII) Questions
Introduction Android is a free,  open-source operating system for mobile devices  developed by Google and Open Handset.  Android has an open-source development platform for creating mobile applications.
History November 5th, 2007: Open-Handset Alliance announces Android November 12th,2007: SDK Released August 28th, 2008: Android Market Announced September 23rd, 2008: First Android mobile by T-Mobile and Android 1.0 SDK released available October 21st, 2008: Android become an open-source project December 6th, 2010:  Android 2.3  with new features front-facing, SIP/VOIP, support hardware NFC  
System architecture
Development environment Eclipse 3.5 or later ADT plug-in for Eclipse How to install ?  http://developer.android.com/sdk/installing.html HOW-TO
Structure project src/  : folder with source code of our application (java class, package) gen/  : java file generated by ADT plug-in Eclipse R.java   assets/ : Empty folder. You can use it to store raw asset files. res/  : folder with all ressources use in our application (pictures, layout, string, colors ...) AndroidManifest.xml : The manifest presents essential information about the application to the Android system. The system must have these informations before it can run the application.
Structure project AndroidManifest.xml The manifest contains declarations of application components, permissions used and register, the minimum level API required to run the application, libraries used ... default.properties  : This file contains projects settings, such as the build target. This files is integral to the project, as such, it should be maintained in a Source Revision Control system. It should never be edited manually - to edit project properties, right-click the project folder and select "Properties".
Application components Activities:   It's our application's presentation layer.  Every screen in the applications is an extension of the Activity screen.  Activities use Views to display form graphical user interfaces that display information and respond to user actions. Services: The invisible worker of your application. Service component run in the background, updating your data sources and visible Activities and triggering Notifications.
Application components Content Providers: It's a shareable data stores. Content Providers are used to manage and share applications databases, stating our intention to have an action performed. Intents: An inter-application message-passing framework. Using Intents we can broadcast message system-wide or to a target Activity or Service.
Application components Broadcast Receivers: Intent broadcast receivers. If we create and register an broadcast receivers, our application can listen for broadcast Intents that match specific filter criteria. Broadcast Receivers will start our application to respond to an incoming Intent. Widget: Visual application component that can be added to the home screen. Notifications: Notification let our signal users without stealing focus or interrupting their current Activities.
Questions
Sources http://developer.android.com/guide/basics/what-is-android.html Professional Android 2 - Application Development - Wrox
The next episode ... Activities, Views, Layout, Intents and your first great application !

More Related Content

Introduction to android

  • 1. Introduction to Android  Operating system for mobile devices and others crazy devices Powered by SUPINFO Java Lab SF
  • 2. Speaker Remy Loubradou Twitter: @ lbdremy Email: remyloubradou@gmail.com
  • 3. Roadmap I) Introduction II) History III) System architecture IV) Development environment V) Android project structure VI) Application components VII) Questions
  • 4. Introduction Android is a free, open-source operating system for mobile devices developed by Google and Open Handset.  Android has an open-source development platform for creating mobile applications.
  • 5. History November 5th, 2007: Open-Handset Alliance announces Android November 12th,2007: SDK Released August 28th, 2008: Android Market Announced September 23rd, 2008: First Android mobile by T-Mobile and Android 1.0 SDK released available October 21st, 2008: Android become an open-source project December 6th, 2010: Android 2.3 with new features front-facing, SIP/VOIP, support hardware NFC  
  • 7. Development environment Eclipse 3.5 or later ADT plug-in for Eclipse How to install ?  http://developer.android.com/sdk/installing.html HOW-TO
  • 8. Structure project src/ : folder with source code of our application (java class, package) gen/ : java file generated by ADT plug-in Eclipse R.java   assets/ : Empty folder. You can use it to store raw asset files. res/ : folder with all ressources use in our application (pictures, layout, string, colors ...) AndroidManifest.xml : The manifest presents essential information about the application to the Android system. The system must have these informations before it can run the application.
  • 9. Structure project AndroidManifest.xml The manifest contains declarations of application components, permissions used and register, the minimum level API required to run the application, libraries used ... default.properties : This file contains projects settings, such as the build target. This files is integral to the project, as such, it should be maintained in a Source Revision Control system. It should never be edited manually - to edit project properties, right-click the project folder and select "Properties".
  • 10. Application components Activities:   It's our application's presentation layer.  Every screen in the applications is an extension of the Activity screen.  Activities use Views to display form graphical user interfaces that display information and respond to user actions. Services: The invisible worker of your application. Service component run in the background, updating your data sources and visible Activities and triggering Notifications.
  • 11. Application components Content Providers: It's a shareable data stores. Content Providers are used to manage and share applications databases, stating our intention to have an action performed. Intents: An inter-application message-passing framework. Using Intents we can broadcast message system-wide or to a target Activity or Service.
  • 12. Application components Broadcast Receivers: Intent broadcast receivers. If we create and register an broadcast receivers, our application can listen for broadcast Intents that match specific filter criteria. Broadcast Receivers will start our application to respond to an incoming Intent. Widget: Visual application component that can be added to the home screen. Notifications: Notification let our signal users without stealing focus or interrupting their current Activities.
  • 15. The next episode ... Activities, Views, Layout, Intents and your first great application !

Editor's Notes

  1. Crazy devices => bus,frigo,micro-onde,
  2. NFC = Near Field Communication
  3. Last Linux Kernel 2.6.*
  4. The next presentations will talk about how to created Views and layout and how to used Intents.