Presented By: Muhammad Tariq Software Engineer Android Training course
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?
OS layers
1. 1. Install JDK 1.6 or above Installing Eclipse IDE Install Android SDK Install the ADT plugin for eclipse Add components needed for development Installation Packages
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 Install Eclipse
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 The installer cannot locate the jdk Just click the "Back" button and then "Next" It should work Install SDK and JDK
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 Install AVD
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
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
Create new AVD Create New AVD
Give it some name Better add the OS version Add SD card Size Select OS version You are done! Create New ADV
Creating a Project Need the items circled Then click Finish
Name that appears on device Directory name Class to automatically create Java package Android version
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
Source code Auto-generated code UI layout String constants Configuration
Contact us Cell: Telephone :