SlideShare uma empresa Scribd logo
1 de 33
E2MATRIX
Android Training Mohali
6 Weeks/Months Training in
Android
E2Matrix
S.C.F 66,Top Floor – Punjab (INDIA). Web: www.e2matrix.com
Email: mohali.support@e2matrix.com
Contact : +91 9056501501
: + 91 9915525860
Schedule.
• Overview (10 min)
• Architecture (20)
• Developing application using Eclipse.(30 min)
• Other tools (how to access your phone, 5 min)
• How to publish app (5 min)
• Google app inventor (10 min).
• QA (10 min)
What is Android?
Android is a software stack for mobile devices
that includes an operating system, middleware
and key applications
History
2005 Google buys Android, Inc.
Work on Dalvik starts
2007 OHA Announced
Early SDK
2008 G1 Announced
SDK 1.0 Released
2009 G2 Released
Cupcake, Donut, Eclair
Andy Rubin
August 2003, Palo Alto
2010
Froyo (USB/ Wifi tethering)
Ginger Bird (NFC, VOIP)
Android 3.0 Honeycomb
(Android for Tablets)
• New UI framework for creating great
tablet apps
New Developer Features
• Android 3.0 is now available for the
Android SDK.
• High-performance 2D and 3D
graphics
• Support for multicore processor
architectures
• Rich multimedia and connectivity
• Enhancements for enterprise
• Compatibility with existing apps
What’s new for Android?
In-app Billing Launched on Android Market
Java Android
Android applications
Java based Application Browser based (HTML,JS,CSS)
Native App
(Android Native Development Kit (NDK)
Schedule.
• Overview (10 min)
• Architecture (20)
• Developing application using Eclipse.(30 min)
• Other tools (how to access your phone, 5 min)
• How to publish app (5 min)
• Google app inventor (10 min).
• QA (10 min)
System Architecture
Linux Kernel
System Architecture
Library
System Architecture
Fishing village of Eyjafjörður Iceland
Zygote
http://developer.android.com/videos/index.html#v=ptjedOZEXPM
All Java
What makes and Android application
• Activities.
• Services
• Content Provider
• Intent
• Broadcast Receivers
• Notifications
Activities Services
Intent and Broadcast Receivers
Intent/
Broadcast
receivers
intent
Content Providers
• Only way to share the data
between applications.
• Built-in Content providers for
contact, media.
• Write your own CP
• Or used the existing one with
permission.
Notifications
Schedule.
• Overview (10 min)
• Architecture (20)
• Developing application using Eclipse.(30 min)
• Other tools (how to access your phone, 5 min)
• How to publish app (5 min)
• Google app inventor (10 min).
• QA (10 min)
Setup your environment
• XP, Mac, Linux
• JDK 5,6
• The Android SDK
http://developer.android.com/sdk/index.html
• Eclipse (Helios)
http://developer.android.com/sdk/eclipse-adt.html
Create New Project
The Manifest File
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.marakana"
android:versionCode="1"
android:versionName="1.0">
<application android:icon="@drawable/icon"
android:label="@string/app_name">
<activity android:name=".HelloAndroid"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
<uses-sdk android:minSdkVersion="5" />
</manifest>
The Layout Resource (main.xml)
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/hello"
/>
</LinearLayout>
The Java File
package com.ezdia.jugdemo
import android.app.Activity;
import android.os.Bundle;
public class HelloAndroid extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
}
}
R.java
package com.jugdemo;
public final class R {
public static final class attr {
}
public static final class drawable {
public static final int icon=0x7f020000;
}
public static final class id {
public static final int textview=0x7f050000;
}
public static final class layout {
public static final int main=0x7f030000;
}
public static final class string {
public static final int app_name=0x7f040001;
public static final int hello=0x7f040000;
}
}
Running on Emulator
Schedule.
• Overview (10 min)
• Architecture (20)
• Developing application using Eclipse.(30 min)
• Other tools (how to access your phone, 5 min)
• How to publish app (5 min)
• QA (10 min)
• Adb shell
• Logcat/Console
• Screen capture
• File system (push and pull)
• Heap /Thread monitoring
• On device debugging
DDMS
How to publish an app?
Before you consider your application ready for release:
• Test your application extensively on an actual device
• Consider adding an End User License Agreement in your application
• Specify an icon and label in the application's manifest
• Turn off logging and debugging and clean up data/files
Before you do the final compile of your application:
• Version your application
• Obtain a suitable cryptographic key
• Register for a Maps API Key, if your application is using MapView elements
• Compile your application
• Sign your application
• Test your compiled application
• Upload your .apk file on http://market.android.com/publish
Android resources
Guide, Sample and Videos
• http://developer.android.com
• http://android-developers.blogspot.com
• http://developer.android.com/videos/index.html#v=ptjedOZEXPM
• http://code.google.com/p/apps-for-android/
Android Course:
• http://sites.google.com/site/androidcoursearchive/home
Android Source code
• http://source.android.com
•
•
•

Mais conteúdo relacionado

Último

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Último (20)

Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 

Destaque

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Destaque (20)

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 

Android Training in Mohali

  • 1. E2MATRIX Android Training Mohali 6 Weeks/Months Training in Android E2Matrix S.C.F 66,Top Floor – Punjab (INDIA). Web: www.e2matrix.com Email: mohali.support@e2matrix.com Contact : +91 9056501501 : + 91 9915525860
  • 2. Schedule. • Overview (10 min) • Architecture (20) • Developing application using Eclipse.(30 min) • Other tools (how to access your phone, 5 min) • How to publish app (5 min) • Google app inventor (10 min). • QA (10 min)
  • 3. What is Android? Android is a software stack for mobile devices that includes an operating system, middleware and key applications
  • 4.
  • 5. History 2005 Google buys Android, Inc. Work on Dalvik starts 2007 OHA Announced Early SDK 2008 G1 Announced SDK 1.0 Released 2009 G2 Released Cupcake, Donut, Eclair Andy Rubin August 2003, Palo Alto 2010 Froyo (USB/ Wifi tethering) Ginger Bird (NFC, VOIP)
  • 6. Android 3.0 Honeycomb (Android for Tablets) • New UI framework for creating great tablet apps New Developer Features • Android 3.0 is now available for the Android SDK. • High-performance 2D and 3D graphics • Support for multicore processor architectures • Rich multimedia and connectivity • Enhancements for enterprise • Compatibility with existing apps What’s new for Android? In-app Billing Launched on Android Market
  • 8. Android applications Java based Application Browser based (HTML,JS,CSS) Native App (Android Native Development Kit (NDK)
  • 9. Schedule. • Overview (10 min) • Architecture (20) • Developing application using Eclipse.(30 min) • Other tools (how to access your phone, 5 min) • How to publish app (5 min) • Google app inventor (10 min). • QA (10 min)
  • 13. Fishing village of Eyjafjörður Iceland Zygote http://developer.android.com/videos/index.html#v=ptjedOZEXPM
  • 14.
  • 16. What makes and Android application • Activities. • Services • Content Provider • Intent • Broadcast Receivers • Notifications
  • 18. Intent and Broadcast Receivers Intent/ Broadcast receivers intent
  • 19. Content Providers • Only way to share the data between applications. • Built-in Content providers for contact, media. • Write your own CP • Or used the existing one with permission.
  • 21. Schedule. • Overview (10 min) • Architecture (20) • Developing application using Eclipse.(30 min) • Other tools (how to access your phone, 5 min) • How to publish app (5 min) • Google app inventor (10 min). • QA (10 min)
  • 22. Setup your environment • XP, Mac, Linux • JDK 5,6 • The Android SDK http://developer.android.com/sdk/index.html • Eclipse (Helios) http://developer.android.com/sdk/eclipse-adt.html
  • 24.
  • 25. The Manifest File <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.marakana" android:versionCode="1" android:versionName="1.0"> <application android:icon="@drawable/icon" android:label="@string/app_name"> <activity android:name=".HelloAndroid" android:label="@string/app_name"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> <uses-sdk android:minSdkVersion="5" /> </manifest>
  • 26. The Layout Resource (main.xml) <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/hello" /> </LinearLayout>
  • 27. The Java File package com.ezdia.jugdemo import android.app.Activity; import android.os.Bundle; public class HelloAndroid extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); } }
  • 28. R.java package com.jugdemo; public final class R { public static final class attr { } public static final class drawable { public static final int icon=0x7f020000; } public static final class id { public static final int textview=0x7f050000; } public static final class layout { public static final int main=0x7f030000; } public static final class string { public static final int app_name=0x7f040001; public static final int hello=0x7f040000; } }
  • 30. Schedule. • Overview (10 min) • Architecture (20) • Developing application using Eclipse.(30 min) • Other tools (how to access your phone, 5 min) • How to publish app (5 min) • QA (10 min)
  • 31. • Adb shell • Logcat/Console • Screen capture • File system (push and pull) • Heap /Thread monitoring • On device debugging DDMS
  • 32. How to publish an app? Before you consider your application ready for release: • Test your application extensively on an actual device • Consider adding an End User License Agreement in your application • Specify an icon and label in the application's manifest • Turn off logging and debugging and clean up data/files Before you do the final compile of your application: • Version your application • Obtain a suitable cryptographic key • Register for a Maps API Key, if your application is using MapView elements • Compile your application • Sign your application • Test your compiled application • Upload your .apk file on http://market.android.com/publish
  • 33. Android resources Guide, Sample and Videos • http://developer.android.com • http://android-developers.blogspot.com • http://developer.android.com/videos/index.html#v=ptjedOZEXPM • http://code.google.com/p/apps-for-android/ Android Course: • http://sites.google.com/site/androidcoursearchive/home Android Source code • http://source.android.com • • •

Notas do Editor

  1. Android is an open software development platform built upon Linux 2.6 kernel. And specially developed and tuned to run on resource constrain devices like mobile phone.. Android provide complete software stack starting from OS to middleware and all the way up to key applications.. Android also provide tools and API for we developers to develop and publish application. It is an Open source under Apache license. Not GPL..
  2. Android 3.0 is now available for the Android SDK. It offers a redesigned UI and all new developer APIs for an optimized experience on tablets and similar devices. Rich multimedia and connectivity HTTP Live streaming Applications can now pass an M3U playlist URL to the media framework to begin an HTTP Live streaming session. The media framework supports most of the HTTP Live streaming specification, including adaptive bit rate. Pluggable DRM framework Android 3.0 includes an extensible DRM framework that lets applications manage protected content according to a variety of DRM mechanisms that may be available on the device. For application developers, the framework API offers an consistent, unified API that simplifies the management of protected content, regardless of the underlying DRM engines. Digital media file transfer The platform includes built-in support for Media/Picture Transfer Protocol (MTP/PTP) over USB, which lets users easily transfer any type of media files between devices and to a host computer. Developers can build on this support, creating applications that let users create or manage media files that they may want to transfer or share across devices. More types of connectivity The platform offers new connectivity that developers can build on. API support for Bluetooth A2DP and HSP profiles lets applications query Bluetooth profiles for connected devices, audio state, and more, then notify the user. For example, a music application can check connectivity and status and let the user know that music is playing through a stereo headset. Applications can also register to receive system broadcasts of pre-defined vendor-specific AT commands, such as Platronics Xevent. For example, an application could receive broadcasts that indicate a connected device's battery level and could notify the user or take other action as needed. Applications can also take advantage of the platform's new support for full keyboards connected by USB or Bluetooth. Enhancements for enterprise In Android 3.0, developers of device administration applications can support new types of policies, including policies for encrypted storage, password expiration, password history, and password complex characters required. Compatibility with existing apps Android 3.0 brings a new UI designed for tablets and other larger screen devices, but it also is fully compatible with applications developed for earlier versions of the platform, or for smaller screen sizes. Existing applications can seamlessly participate in the new holographic UI theme without code changes, by adding a single attribute in their manifest files. The platform emulates the Menu key, which is replaced by the overflow menu in the Action Bar in the new UI. Developers wanting to take fuller advantage of larger screen sizes can also create dedicated layouts and assets for larger screens and add them to their existing applications.
  3. Cross device/platform support Limited access to device capability and information. Why to develop and application if we have rich browser. Why would I development 1 reason : The user experience, interaction with other application. Intent can be offered. Consistency in UI with other app on Andorid 2. Browser can not run in background 3. Work with limited connectivity. 4. Faster. 5. Retrieve only what is needed. 6. User interface Content provider can be accessed.
  4. Android is open software paltform and include operating system (which is linux krenel here). This is the piece which Harware manufacturer generally worried about. This is the abstration layer between hardware and rest of the software stack.. So if you want to bring Android on new hardware you just need to implement the driver and rest of the features comes free for you. Everthing in Green here you see is c/c++ implementation . And these all are c/c++ library. NDK I mentioned earlier comes gives you direct access at this layer.
  5. Adrioid build upon Linux Kernal 2.6.X. So it started with 2.6.26 and now using 2.6.35. Android reliase upon linux Kernel for core system services such as secrurity, Memory management, process management, network stack and driver model. -Linux Kernel also work as abstraction layer between Harware and rest of the software.. So the equipment manufacturer only need to deal with this part. Rest is taken care by android. Mostly user never see the linux.. But we would certainly see it today. In in Android developer kit and in real phone...
  6. DALVIK Virtual machine, Dan Bornstine named it after Fishing village of Eyjafjörður Iceland. Dalvik icland ( - Every application in Android runs into it’s own process. With it’s own instace of Dalvik machine. Dalvik has been written in such a way that a device can run multiple VM efficiently. This efficiency is achived by process call Zygot. Zygot is another Pre warmed VM service which is used in Android for reduce the startup time and memory footprint for an VM. As soon as request comes from a user to start an activity Zygot quickly fork a new process with a new instance ot Dalvik VM and execute the dex code. Dalvik rely upon the Linux Kernel for Memory, thread management. About Core library. Java i/o, util, collection…
  7. The Android operating system is a multi-user Linux system in which each application is a different user.
  8. This is the layer which is most visible and useful for application developers. Android gives a full fledged Java based application framework to access all underlying hardware, library and services. This framework provide developers an the framework to build the UI, way to run the serives in backgrouond, API for communication between different applciation or between component of same application. Let me touch on verious componenets here. Activity manager manage the lifecycle of an application. Which application to bring in the fornt which application to pause or Kill all controled by Activity Manage. Window manager Manage your screen or display. It is an abstraction on Surface manager library. View System is responsible for managing variuos views like Button, list, Maps, Text, images. Packagemanger is responsible for keeping the track of your application on your device. So if you download the application from OTA or thru USB packange manager will keep track of it. Also responsible for installing application on your device hence knows what capability each of the application has Telephony manager is abstraction for phone system and Application . Localtion manager will give you access of Location from GPS or any other machenism device has like cell tower triangulation method or Wifi network ID. Content provider is the one which lets your application share the data. As I said Linux keep each application as separate but Content provider is the secure mechanisim wher an application can provide the data to other application and use the data from other application There are some application comes out of the box and they all are written using same App framework. So pretty much you can write any app on Android which is similar the app comes with Phone.
  9. Activity is typically a piece of UI which is made of different view and represent one screen. For example.. A Mail activity can be decompose in three activity. Service run in the backgroud..The tipical example is music player.. How many of you like Pandora? .. It’s a service.. And they can be start and stop from other Actvity in the same application or other application using Intent.
  10. Intent are message passing mechanism in Android between the application and within the application. You can have explicit intent which can be sent explicitly to and application to perform an operation. Or you can have implicit Intent which you sent to perform a task and let system decide who will do the Job. If you have more then one application registered for specific job system may ask user to decide which one to pick. So in order to receive these implicit event application use broadcast receviers. Example could be when you receive a phone call system broadcast and intent that phone is ringing and Pandora and other service will listen and do required operations.
  11. Content provider is the one which lets your application share the data. As I said Linux keep each application as separate but Content provider is the only machenisim by which application can share the data. Andoird ships number of content provider for comman data like contact, image, video, audio and so on.. To read these data application has to acquire certain permission.. If your application wants to provide the data you can do in two why. Either you can write your content provider of you can use the existing one with right persmission
  12. Use to notifying user without interrupting his current activity.
  13. So let’s start the real work and see how we can develop and android application.
  14. Dalvik Debug Monitor Server (DDMS),