Android, a linux-based mobile operating system
Upcoming SlideShare
Loading in...5
×
 

Android, a linux-based mobile operating system

on

  • 2,142 views

 

Statistics

Views

Total Views
2,142
Views on SlideShare
2,142
Embed Views
0

Actions

Likes
0
Downloads
150
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Android, a linux-based mobile operating system Android, a linux-based mobile operating system Document Transcript

  • 6/30/09
 Karl Pauls   Dipl.-Inform. Freie Universität Berlin   Head of OSGi and Mobile CC - akquinet AG   Member Apache Software Foundation   PMC Apache Felix, Apache Sling, Apache Ace Android, a Linux-based Mobile Phone Operating System Clement Escoffier & Karl Pauls , akquinet Android, a Linux-based Mobile Phone Operating System Clement Escoffier akquinet AG akquinet AG   PHD from Grenoble University, France akquinet business consulting €1300k SE   Solution Architect in the OSGi and Mobile CC GmbH €60k SE   Member Apache Software Foundation International Microsoft / .NET Outsourcing JAVA / SAP Associate Partners   PMC Apache Felix, Apache Ace akquinet IBS akquinet dynamic solutions akquinet outsourcing akquinet it-agile BMC GMBH cimt AG GmbH €250k SE GmbH €300k SE gGmbH €250k SE GmbH €100k SE   Apache Felix iPOJO project leader DoubleC GmbH akquinet akquinet akquinet akquinet IBS Brüssel SLS logistics system integration tech@spree Groupconcept GmbH GmbH €40k SE GmbH €250k SE GmbH €125k SE GmbH €300k SE infodesign GmbH akquinet akquinet panoptimum GmbH eurosoft Sp. z o.o. enterprise solutions €100k SE GmbH €80k SE Portal Systems GmbH HKS PortivITy GmbH GmbH €75k SE w//Center GmbH Partner Power akquinet AG 2002 2003 2004 2005 2006 2007 Budget 2008 In association 2007 International GmbH Partnerbeteiligung Staff 64 108 133 165 170 203 315 Staff 433 Android, a Linux-based Mobile Phone Operating System Android, a Linux-based Mobile Phone Operating System 1

  • 6/30/09
 Open Handset Alliance   Alliance of 47 companies   Technology leaders Why   Google, Asus, Sprint, LG, Android ? Sony Ericson…   Goals   Being better   For consumers   Being open   For developers   Achieving the vision   For mobile operator, handset manufacturers… Android, a Linux-based Mobile Phone Operating System Android, a Linux-based Mobile Phone Operating System So, Android ? What’s the result ?   Thefirst open, free and complete stack for mobile   13 news model announced before Christmas ! phone ! Open Fast & easy All applications application are created development equal Breaking down application boundaries Android, a Linux-based Mobile Phone Operating System Android, a Linux-based Mobile Phone Operating System 2

  • 6/30/09
 What’s the result ? The Marketplace   Stores Android applications   http://www.android.com/ market/   From any Android phone   Free publication !   Develop, Sign and Publish your application for free   Growth very quickly Android, a Linux-based Mobile Phone Operating System Android, a Linux-based Mobile Phone Operating System Some application examples What’s under the cover? Android, a Linux-based Mobile Phone Operating System Android, a Linux-based Mobile Phone Operating System 3

  • 6/30/09
 The Kernel What’s   Linux 2.6 based   Provides hardware management inside ?   File system   Network   3G, Edge, Wifi, Bluetooth…   Camera   Keyboard   Power   That’s critical !   … Android, a Linux-based Mobile Phone Operating System Android, a Linux-based Mobile Phone Operating System Libraries Libraries   Graphics   Database   Webkit   OpenGL, Scalable Image, Animations …   SQLite   CSS 3   Media   Security   Uses Google Chrome   Images (.png, .jpeg, .gif, .bmp)   SSL   Animations, Masks …   Video (.mp4, .3gp .wmv)   Audio (.mp3, .mp4, .3gp, .ogg, .wav, .wma … ) Android, a Linux-based Mobile Phone Operating System Android, a Linux-based Mobile Phone Operating System 4

  • 6/30/09
 Runtime Application Framework   Dalvik   Functionalities managed by the system,   A virtual machine executing applications   But usable by your applications   Java development language   Java 5 (Generics, Annotations …)   Examples   All applications run on the top of their own Dalvik instance   Get the current location   Provides some libraries such as   Calling, Sending an text message, get contacts   HTTPClient, XML Parsing, JSON …   Sending user notifications   … Android, a Linux-based Mobile Phone Operating System Android, a Linux-based Mobile Phone Operating System Applications   All applications   are equals ! How to   are developed in Java androidize ?   can use any mentioned functionalities   can cooperate together Android, a Linux-based Mobile Phone Operating System Android, a Linux-based Mobile Phone Operating System 5

  • 6/30/09
 Android Applications Manifest   AndroidManifest.xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android"   Activities package="de.akquinet.jbosscc.kdvmobil.klient" android:versionCode="1"   Layouts & Views android:versionName="1.0.0">   Services <application android:icon="@drawable/icon" android:label="@string/app_name"> <activity android:name=".Lagerverwaltung"   BroadcastReceiver android:label="@string/app_name">   ContentProviders <intent-filter> <action android:name="android.intent.action.MAIN" />   Intents <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> <uses-permission android:name="android.permission.INTERNET"></uses-permission> </manifest> Android, a Linux-based Mobile Phone Operating System Android, a Linux-based Mobile Phone Operating System Activity Life cycle   Visual user interface for one task. For example,   An activity might present a list of menu items;   Or shows a list of contacts to send messages to   Work together to form a cohesive user interface   Each activity is independent of the others.   Can communicate together   One of the activities is marked as the first one   Moving from one activity to another is accomplished by having the current activity start the next one.   An activity can also make use of additional windows. For example,   A pop-up dialog that calls for a user response in the midst of the activity.   A view hierarchy is placed within an activity's window by the Activity.setContentView() method. The content view is the View object at the root of the hierarchy. Android, a Linux-based Mobile Phone Operating System Android, a Linux-based Mobile Phone Operating System 6

  • 6/30/09
 Layout & View Service   res/layout/main.xml   Doesn't have a visual user interface <?xml version="1.0" encoding="utf-8"?>   Runs in the background for an indefinite period of time. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"   For example, a service might play background music android:orientation="vertical"   Example: a media player service playing songs from a play list. android:layout_width="fill_parent"   Music not handled by an activity android:layout_height="fill_parent"   Start a service to run in the background >   Keep the music playback service running even after the activity that <TextView started it leaves the screen. android:layout_width="fill_parent"   Connect to (bind to) an ongoing service android:layout_height="wrap_content"   Start the service if it's not already running android:text="@string/hello"   Communicate with the service through an interface />   Exposed by the service. </LinearLayout>   E.g., interface allows pause, rewind, stop, and restart the playback. Android, a Linux-based Mobile Phone Operating System Android, a Linux-based Mobile Phone Operating System Life cycle BroadcastReceiver   Does nothing but receive and react to announcements.   Many broadcasts from the system,   timezone has changed   battery is low,   picture has been taken, or that the user changed a language preference.   Applications can also initiate broadcasts   Data has been downloaded, etc.   An application can have any number of broadcast receivers   Receivers extend the BroadcastReceiver base class.   Broadcast receivers do not display a user interface.   May start an activity in response   May use the NotificationManager to alert the user   Flashing the backlight, vibrating the device, etc.   Place a persistent icon in the status bar Android, a Linux-based Mobile Phone Operating System Android, a Linux-based Mobile Phone Operating System 7

  • 6/30/09
 ContentProvider Intent   Make application data available to other applications.   Activities, services, and broadcast receivers — are activated through intents.   Can be stored in the file system,   Facility for late run-time binding between components   In an SQLite database,   Passive data structure holding an abstract description of an operation to be performed   Or in any other manner that makes sense.   To launch or get an activity, an Intent object is passed to   Implement a standard set of methods   Context.startActivity(), Activity.startActivityForResult()   Context.startService() to initiate a service   Enables other applications to retrieve and store data   Context.bindService() to establish a connection   Applications do not call methods directly   broadcast methods   Context.sendBroadcast(), Context.sendOrderedBroadcast(),   ContentResolver object is used   Context.sendStickyBroadcast())   Can talk to any content provider   System finds the appropriate activity, service, or set of broadcast receivers   Cooperates with the provider to manage any interprocess   Intent passed to startActivity() is delivered only to an activity, never to a service communication that's involved. or broadcast receiver, etc. Android, a Linux-based Mobile Phone Operating System Android, a Linux-based Mobile Phone Operating System Activity, Intent, and Service RPC Android, a Linux-based Mobile Phone Operating System Android, a Linux-based Mobile Phone Operating System 8

  • 6/30/09
 From Source to Deployment Why choosing Android ? Android, a Linux-based Mobile Phone Operating System Android, a Linux-based Mobile Phone Operating System I’m free I’m open Android, a Linux-based Mobile Phone Operating System Android, a Linux-based Mobile Phone Operating System 9

  • 6/30/09
 Android Perspectives I’m a community Android, a Linux-based Mobile Phone Operating System Android, a Linux-based Mobile Phone Operating System Android on the phone market Android on other markets   Moreand more handset manufactures are choosing   Android is already used on Android   Tablet PC   To compete with the iPHONE   HP Is 'Studying' Android for PC Use   Android Eee PCs are also announced   Any chance of success ?   Q1 2010   YES   More and more applications are available ! Android, a Linux-based Mobile Phone Operating System Android, a Linux-based Mobile Phone Operating System 10

  • 6/30/09
 OSGi & Android together Questions ?   OSGi   Comes from the Java wave   Modularity model on the top of Java   Is became very popular in the last 5 years   Why using OSGi on Android ?   Runtime deployment   Dynamism   Plugin architecture   ….   Is it possible? Dr. Clement Escoffier Karl Pauls   Yes, http://www.ezdroid.com/ clement.escoffier@akquinet.de karl.pauls@akquinet.de   Driven by akquinet and luminis Bülowstraße 66, 10783 Berlin Bülowstraße 66, 10783 Berlin +49 175 246 77 17 +49 151 226 49 845 Android, a Linux-based Mobile Phone Operating System Android, a Linux-based Mobile Phone Operating System 11