Presentation is loading. Please wait.

Presentation is loading. Please wait.

Presented By: Muhammad Tariq Software Engineer www.TNSbay.com Android Training course.

Similar presentations


Presentation on theme: "Presented By: Muhammad Tariq Software Engineer www.TNSbay.com Android Training course."— Presentation transcript:

1 Presented By: Muhammad Tariq Software Engineer www.TNSbay.com Android Training course

2 Google's Android is an open-source platform that's currently available on a wide variety of smart phones. Android is a software stack for mobile devices that includes an operating system, middleware and key applications. The Android SDK provides the tools and APIs necessary to begin developing applications on the Android platform using the Java programming language. Based on the Linux kernel What is Android?

3 OS layers

4 1. 1. Install JDK 1.6 or above 2. 2. Installing Eclipse IDE 3. 3. Install Android SDK 4. 4. Install the ADT plugin for eclipse 5. 5. Add components needed for development Installation Packages

5   What is Eclipse?   A multi-language software development environment comprising   An integrated development environment (IDE)   Mostly written in Java   Eclipse is used to develop applications   In Java, C, C++, Perl, PHP, Python, R, etc.   For Android (using Java)   Download at http://bit.ly/EclipseClassichttp://bit.ly/EclipseClassic Install Eclipse

6   For the Android SDK to be installed   The machine should have at least jdk 1.6   Version 1.7 is also ok   Then download the installer file from   http://developer.android.com/sdk/index.html http://developer.android.com/sdk/index.html   The installer cannot locate the jdk   Just click the "Back" button and then "Next"   It should work Install SDK and JDK

7   Use the Update Manager feature of Eclipse   To install the latest revision of AVD on your development computer   How to download it?   Start Eclipse, then select Help > Install New Software - > Add, in the top-right corner   In the Add Repository   Enter "ADT Plugin" for the Name   Copy for location https://dl-ssl.google.com/android/eclipse/https://dl-ssl.google.com/android/eclipse/ Install AVD

8   In the Available Software dialog   Select the checkbox next to Developer Tools and click Next   In the next window, you'll see a list of the tools to be downloaded   Click Next   Read and accept the license agreements   Then click Finish   Restart Eclipse Install AVD

9   To create virtual device   Open Eclipse -> Window -> AVD Manager   Open the Android Virtual Device manager   Add new device   With the Android OS version needed   Why need AVD?   To test your app before deployment to a phone   To test on different versions of Android OS   To find and correct simple mistakes Create New AVD

10   Create new AVD Create New AVD

11   Give it some name   Better add the OS version   Add SD card Size   Select OS version   You are done! Create New ADV

12 Creating a Project Need the items circled Then click Finish

13 Name that appears on device Directory name Class to automatically create Java package Android version

14 Project Components src – your source code gen – auto-generated code (usually just R.java) Included libraries Resources  Drawables (like.png images)  Layouts  Values (like strings) Manifest file

15 Source code Auto-generated code UI layout String constants Configuration

16 Contact us www.TNSbay.com Cell: +92 342 2988522 Telephone : +92 606 470099 tariq@tnsbay.com tariqtnsbay@gmail.com


Download ppt "Presented By: Muhammad Tariq Software Engineer www.TNSbay.com Android Training course."

Similar presentations


Ads by Google