PPT On Android Application Development

Embed Size (px)

Citation preview

  • 8/12/2019 PPT On Android Application Development

    1/29

    PRESENTATION ON

    Android ApplicationDevelopment with Java

    SUBMITED TO:-

    MRS. MONIKA SONI

    Lect. IT.

    SUBMITED BY:-

    Navdeep Soni

    IT 4thYear

    10EMEIT004

  • 8/12/2019 PPT On Android Application Development

    2/29

    Overview

    What is Android?

    Why I Choose Android?

    What do we need in order to learn Android?

    Android Application Development -> Hello,Android

  • 8/12/2019 PPT On Android Application Development

    3/29

    What is Android?

  • 8/12/2019 PPT On Android Application Development

    4/29

    What is Android?

    An open source Linux-based operating systemintended for mobile computing platforms

    Includes a Java API for developing applications

    It is nota device or product

  • 8/12/2019 PPT On Android Application Development

    5/29

    ANDROID ARCHTECTURE

  • 8/12/2019 PPT On Android Application Development

    6/29

    Why I Choose Android?

  • 8/12/2019 PPT On Android Application Development

    7/29

    My Attractions with Android

    Android has a lot of buzz now

    Newness

    Coolness

    Googleness

    UI and graphics made simple(r)

    Advanced Java skills

  • 8/12/2019 PPT On Android Application Development

    8/29

    What Skills Should be Learn?

    Reinforce the basics: OOP, decomposition, etc.

    Separation of UI design and functionality

    XML and resource files

    Events and Listeners

    Callback methods

    Threads

  • 8/12/2019 PPT On Android Application Development

    9/29

    Android vs. iPhone

    Java vs. Objective-C

    Direct install vs. Marketplace vs. App Store

    Open source?

  • 8/12/2019 PPT On Android Application Development

    10/29

    What do we need in orderto learn Android?

  • 8/12/2019 PPT On Android Application Development

    11/29

    What we Should Already Know?

    Java!

    inheritance, method overriding

    interfaces, casting

    exceptions

    debugging

    reading API documentation

    Eclipse

    easy to pick up quickly, though

  • 8/12/2019 PPT On Android Application Development

    12/29

    Do we Need Phones?

    The emulator that is part of the Android toolset forEclipse is quite good (though a bit slow)

    You may be able to get free developer phonesfrom Google

  • 8/12/2019 PPT On Android Application Development

    13/29

    Hello, Android

    Android Application

    Development

  • 8/12/2019 PPT On Android Application Development

    14/29

    Creating Your First(?) Android App

    1. Set up your development environment

    2. Create a new Android project in Eclipse

    3. Run it in the emulator

  • 8/12/2019 PPT On Android Application Development

    15/29

    1. Setting Up Android Environment

    http://developer.android.com/sdk

    Install Eclipse

    Install Android SDK (Android libraries)

    Install ADT plug-in (Android development tools)

    Create AVD (Android virtual device)

  • 8/12/2019 PPT On Android Application Development

    16/29

    2. Create an Android Project in Eclipse

    File New Project

    Select Android Project

    Fill in Project details...

  • 8/12/2019 PPT On Android Application Development

    17/29

    Name that appearson device

    Directoryname

    Class toautomatically

    create

    Java package

    Androidversion

  • 8/12/2019 PPT On Android Application Development

    18/29

    3. Run the Android Application

    Run Run (or click the Run button)

    Select Android Application

    The emulator may take a few minutes to start, sobe patient!

    You don't need to restart the emulator when youhave a new version of your application

  • 8/12/2019 PPT On Android Application Development

    19/29

  • 8/12/2019 PPT On Android Application Development

    20/29

    Sourcecode

    Auto-generatedcode

    UI

    layout

    Stringconstants

    Configuration

  • 8/12/2019 PPT On Android Application Development

    21/29

    1 public classHelloAndroid extendsActivity {2 /** Called when the activity is first created. */3 @Override4 public voidonCreate(Bundle savedInstanceState)5 {6 super.onCreate(savedInstanceState);7 setContentView(R.layout.main);8 }9 }

    HelloAndroid.java

  • 8/12/2019 PPT On Android Application Development

    22/29

    1 2 8 13

    main.xml

  • 8/12/2019 PPT On Android Application Development

    23/29

    1 2 3 Hello World, HelloAndroid!4

    5 Hello, Android6

    strings.xml

  • 8/12/2019 PPT On Android Application Development

    24/29

    1 2 7 9 11 12 14

    16 17 18 19

    AndroidManifest.xml

  • 8/12/2019 PPT On Android Application Development

    25/29

    Online Resources

    developer.android.com

    code.google.com/p/apps-for-android/

    stackoverflow.com

    videos from Google I/O conferences

  • 8/12/2019 PPT On Android Application Development

    26/29

    ProjectIndian Online Radio

  • 8/12/2019 PPT On Android Application Development

    27/29

  • 8/12/2019 PPT On Android Application Development

    28/29

    ANY QUERY??

  • 8/12/2019 PPT On Android Application Development

    29/29

    THANK YOU