Getting Started with Android 1.5
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Getting Started with Android 1.5

on

  • 1,315 views

Android Presentation in Xebia's XKE session

Android Presentation in Xebia's XKE session

Statistics

Views

Total Views
1,315
Views on SlideShare
1,313
Embed Views
2

Actions

Likes
0
Downloads
21
Comments
0

1 Embed 2

http://www.linkedin.com 2

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

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
  • Talking about the alliance. The fact that we have hardware manufacturer to 
  • The system runs a scan of all manifest at startup which aims to know what application does what. You should be able to know the business logic of the application just by looking at the manifest.

Getting Started with Android 1.5 Presentation Transcript

  • 1. Android By: Gaurav Kohli
  • 2. Agenda http://www.xebia.com
  • 3. History
    • In July 2005, Google acquired Android, Inc., a small startup company based in Palo Alto, CA.
    • Android's co-founders who went to work at Google included Andy Rubin (co-founder of Danger), Rich Miner (co-founder of Wildfire Communications, Inc.), Nick Sears (once VP at T-Mobile), and Chris White (one of the first engineers at WebTV).
    http://www.xebia.com
  • 4. Introduction- What is Android ? http://www.xebia.com
    • Android is a software platform for mobile devices, powered by the Linux operating system, initially developed by Google and later the Open Handset Alliance [1] .
    • It allows developers to write managed code in the Java language, controlling the device via Google-developed Java libraries.
    [1] http:// en.wikipedia.org/wiki/Google_Android
  • 5. Introduction- Why Android ? http://www.xebia.com
    • Mobile Computing is next big thing
    • Google is behind it
    • Not limited to mobiles only
    • Open-Handset Alliance
    • Community support
    • Open/Free/Java Syntax/Tools support
  • 6. Open Handset alliance
  • 7. Architecture of Android
  • 8. Architecture of Android
      • Linux Kernel based
      • Libraries (Open sourced/ Custom)
        • Open GL
      • Android Runtime
        • Dalvik VM
      • Application Framework
      • Applications
  • 9.
      • Highly optimized VM, compiled byte is optimized for mobile devices
      • End result is NOT the same byte code as Java,
        • dx in the sdk takes compiled Java class files and converts them into .dex
      • No JIT
      • Built with security and performances (battery life) in mind
    Dalvik VM
  • 10.
    • Applications
    http://www.xebia.com
  • 11.
      • SDK  
        • Available at http://developer.android.com/sdk/1.1_r1/index.html
      • Eclipse
        •   3.3(Europa) or 3.4 (Ganymede)
      • Eclipse Plugin
        •   XP,Vista, Linux, x86 Mac 10.4.8 or later
        • http://developer.android.com/sdk/1.1_r1/installing.html
      • Leave the emulator running!  
        • Exact opposite to J2ME and BREW, your app will be deployed each subsequent run or debug
    Installing and Using the SDK
  • 12. http://www.xebia.com Building Blocks of Application Activity An  activity  presents a visual user interface for one focused endeavor the user can undertake. Intent An intent is an abstract description of an operation to be performed. It can be used with startActivity to launch an  Activity, broadcastIntent to send it to any interested BroadCastReceiver components Services A  service  doesn't have a visual user interface, but rather runs in the background for an indefinite period of time Content Provider A  content provider  makes a specific set of the application's data available to other applications.
  • 13.
    • Emulator (comes with SDK)
    • Eclipse Plugin
    • Android SDK
    http://www.xebia.com Developer Tool Chain
  • 14. First Simple Application
    • package com.example.hello;
    • import android.app.Activity;
    • import android.os.Bundle;
    • import android.widget.TextView;
    • public class HelloAndroid extends Activity {
    • /** Called when the activity is first created. */
    • @Override
    • public void onCreate(Bundle savedInstanceState) {
    • ……… .
    • }
    • }
    http://www.xebia.com
  • 15. Android Development flow 
  • 16. Android Manifest
      • Describes the Application
      • Describes the building blocks of an application that it exposes: activities, services, broadcast receivers and content providers
      • Intent filters allow the platform to find the best application for the request
  • 17. Comparison to other platforms
      • Iphone
      • Symbian
      • Palm Pre
  • 18. Advantages / Disadvantages 
      • iPhone 
        • has a lot of iHype, easier to get publicity in the short term
        • only allows one application to run at a given time
        • Apple are the gatekeeper
        • no telephony access from within the SDK
      • Android
        • Content providers and intents allow applications to communicate with each other
        • GPS as a content provider
        • unregulated marketplace
        • Potential hardware fragmentation
  • 19.
    • Android 1.5 SDK Released.
    • Samsung I7500 annouced yesterday.
    • Aceratec to release an android Notebook.
    • HTC planning to launch G1 in India soon.
    Latest News http://www.xebia.com
  • 20. Google groups: For application development: http://groups.google.com/group/android-developers For platform development: http://groups.google.com/group/android-platform IRC: #android on freenode anddev.org is a good source for example and tutorials References
  • 21.
    • Q & A
    http://www.xebia.com