Introduction to Android  Operating system for mobile devices and others crazy devices Powered by SUPINFO Java Lab SF
Speaker <ul><ul><li>Remy Loubradou </li></ul></ul><ul><ul><li>Twitter:  @ lbdremy </li></ul></ul><ul><ul><li>Email: remylo...
Roadmap I) Introduction II) History III) System architecture IV) Development environment V) Android project structure VI) ...
Introduction <ul><ul><li>Android is a free,  open-source operating system for mobile devices  developed by Google and Open...
History <ul><ul><li>November 5th, 2007: Open-Handset Alliance announces Android </li></ul></ul><ul><ul><li>November 12th,2...
System architecture
Development environment <ul><ul><li>Eclipse 3.5 or later </li></ul></ul><ul><ul><li>ADT plug-in for Eclipse </li></ul></ul...
Structure project <ul><ul><li>src/  : folder with source code of our application (java class, package) </li></ul></ul><ul>...
Structure project <ul><ul><li>AndroidManifest.xml </li></ul></ul><ul><ul><ul><li>The manifest contains declarations of app...
Application components <ul><ul><li>Activities:   </li></ul></ul><ul><ul><ul><li>It's our application's presentation layer....
Application components <ul><ul><li>Content Providers: </li></ul></ul><ul><ul><ul><li>It's a shareable data stores. </li></...
Application components <ul><ul><li>Broadcast Receivers: </li></ul></ul><ul><ul><ul><li>Intent broadcast receivers. If we c...
Questions
Sources <ul><ul><li>http://developer.android.com/guide/basics/what-is-android.html </li></ul></ul><ul><ul><li>Professional...
The next episode ... Activities, Views, Layout, Intents and your first great application !
Upcoming SlideShare
Loading in...5
×

Introduction to android

941

Published on

By Rémy Loubradou, SUPINFO San Francisco 2011

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

  • Be the first to like this

No Downloads
Views
Total Views
941
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
51
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Crazy devices =&gt; bus,frigo,micro-onde,
  • NFC = Near Field Communication
  • Last Linux Kernel 2.6.*
  • The next presentations will talk about how to created Views and layout and how to used Intents.
  • Introduction to android

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

      Clipping is a handy way to collect important slides you want to go back to later.

    ×