Академический Документы
Профессиональный Документы
Культура Документы
Agenda
History
Versioning
History
Android mobile operating system began with the release of the Android beta in November 2007 by Google Initially developed by Android, Inc. Android Inc. is bought by Google in 2005 Android 1.0, was released in September 2008
History versioning
Architecture
Architecture Cont.
Linux kernel
Used Linux - Linux 2.6 with approximately 115 patches. This provides basic system functionality (process management, memory management, device management like camera, keypad, display etc.) On top of Linux kernel there is a set of libraries including Open-source Web browser engine WebKit SQLite database used for useful repository storage Sharing of application data, libraries to play and record audio and video, SSL etc.
Libraries
Android Runtime
Dalvik Virtual Machine & Java Virtual Machine which is specially designed and optimized for Android. The Application Framework layer provides many higher-level services Example: .... You will write your application to be installed on this layer only. Examples: we will develop ankur, mrittika, protikar, vistar etc here
Application Components
Activities
They dictate the UI and handle the user interaction to the Smartphone screen. Example of code: public class MainActivity extends Activity { //TODO: here is your code } They handle background processing associated with an application. Example of code: public class MyService extends Service { //TODO: here is your code } They handle communication between Android OS and applications. Example of code: public class MyReceiver extends BroadcastReceiver { //TODO: here is your code } They handle data and database management issues. Example of code: public class MyContentProvider extends ContentProvider { //TODO: here is your code }
Services
Broadcast Receivers
Content Providers
Layouts Intents
Resources
Manifest
Step 1
Step 2
Setup Java Development Kit (JDK) & set PATH Setup Android SDK Setup Eclipse IDE Setup Android Development Tools (ADT) Plugin Create Android Virtual Device Create an android sample project on you Editor
Step 3: Step 4:
Step 5:
Step 6:
References
There are many & more references on the web, some are below:
http://developer.android.com/design/index.html http://en.wikipedia.org/wiki/Android_(operating_system) http://en.wikipedia.org/wiki/Android_version_history http://en.wikipedia.org/wiki/Mobile_operating_system http://www.codeproject.com/Articles/102065/Android-A-beginner-sguide http://www.tutorialspoint.com/android/index.htm http://www.vogella.com/tutorials/Android/article.html http://www.coreservlets.com/android-tutorial/