Android

  • 820 views
Uploaded on

This is the ppt is very useful for android beginners

This is the ppt is very useful for android beginners

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
820
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
52
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Android Google
  • 2. Objective Find the Answer of fallowing• What is Android ?• Android Architecture ?• Development Tools ?• Basic building Block of Android Applicaton ?• Hello World Application.
  • 3. What is Android ?• Android is a Software platform for mobile devices.• Based on Linux operation system• Develop by Google and (OHA)
  • 4. Version history• Android 1.0(Beta)-5 November 2007• Android 1.0-23 September 2008• Android 1.1- 9 February 2009• Android 1.5 Cupcake-30 April 2009• Android 1.6 Donut-15 September 2009• Android 2.0/2.1 Éclair-26 October 2009• Android 2.2.x Froyo-20 May 2010• Android 2.3.x Gingerbread-6 December 2010• Android 3.x Honeycomb-22 February 2011• Android 4.0.x Ice Cream Sandwich-19 October 2011• Android 4.1/4.2 Jelly Bean-27 June 2012*
  • 5. Android Features• Application Framework• Dalvik virtual machine• Integrated (webkit) browser• 2D and 3D graphics APIs with HW• SQLite• Video and audio codecs• Bluetooth, EDGE, 3G, and WiFi• Camera, GPS, compass, and accelerometer
  • 6. Android Architecture
  • 7. Development Tools•Java•Android SDK•Eclipse IDE (optional)
  • 8. Basic building Block of Android Applicaton• Activities-An activity is usually a single screen that the user sees• Intents-Intents are messages that are sent among major building blocks• Services-Services run in the background and don’t have any user interface components.• Content Providers-Content Providers are interfaces for sharing data between applications.• Broadcast Receivers-Global event events SMS arrives, or call comes in, or battery runs low etc..
  • 9. Hello World Application • Mainlayout.xmlpublic class MainActivit extends <RelativeLayoutActivity { xmlns:android="http://schemas.android.com/apk/re s/android" xmlns:tools="http://schemas.android.com/tools"private TextView mEmpName; android:layout_width="fill_parent"@Override android:layout_height="match_parent">protected void onCreate(Bundle <TextViewsavedInstanceState) { android:id="@+id/tvHelloText"super.onCreate(savedInstanceState); android:layout_width="wrap_content"setContentView(R.layout.mainlayout); android:layout_height="wrap_content" android:layout_centerHorizontal="true"} android:layout_centerVertical="true"} android:text="Hello Word" /> </RelativeLayout>
  • 10. Out-Put !!