Day 1 Session 2. Setup & Installation

Slides:



Advertisements
Similar presentations
Java Development Kit Installation Guide Sun Microsystems.
Advertisements

Coursework 2: getting started (1) – running the phone emulator Chris Greenhalgh G54UBI / Chris Greenhalgh
Programming with Android: SDK install and initial setup Luca Bedogni Marco Di Felice Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna.
Get android development environment running. Install – Get and install JDK 5 or 6 (see link in the.
Cosc 4730 Installing IDEs And a note on carriers..
11-Jun-15 Getting Ready for CIT Registering and labs If you are not yet registered (and want to be), be sure I have your name and student ID We.
Android: Hello World Frank Xu Gannon University. Steps Configuration ▫Android SDK ▫Android Development Tools (ADT)  Eclipse plug-in ▫Android SDK and.
Update the PATH variable Trying to run the command: “javac Ex1.java” you’ve may encountered the error: “javac is not recognized as internal or external.
13-Jul-15 Getting Ready for Java. 2 What You Need 256 MB of RAM (512 MB or more recommended) 500 MHz Pentium or better Macintosh: must run Mac OS X, preferably.
ANDROID PROGRAMMING MODULE 1 – GETTING STARTED
UFCFX5-15-3Mobile Device Development Android Development Environments and Windows.
Setting up the Development Environment Copyright © SUPINFO. All rights reserved Preparation.
How to make it work? Doncho Minkov Telerik Academy academy.telerik.com Technical Trainer
SET UP COMPUTER ** PLEASE BE AWARE SCREENSHOTS MAY NOT MATCH **
Virtual Reality Course Slide  NTU Mobile HCI Lab, Mike Chen   Android Developers 
SERVLETS.
Getting Started with Android Programming Note: if you have already installed android development tools, please check that you have the same version as.
SEEM4570: XAMPP, Eclipse, Summary of Html Kangfei Zhao Room 711,ERB
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
Mobile Programming Lecture 1 Getting Started. Today's Agenda About the Eclipse IDE Hello, World! Project Android Project Structure Intro to Activities,
Google Maps Android API v2 吳俊興 國立高雄大學 資訊工程學系 CSF645 – Mobile Computing 行動計算
Servlets Environment Setup. Agenda:  Setting up Java Development Kit  Setting up Web Server: Tomcat  Setting up CLASSPATH.
1 Mobile Computing Set Up Copyright 2015 by Janson Industries.
Android. The Eclipse IDE Installation Requirements: Eclipse Java Windows All must match (32-bit OR 64-bit) If you have a 64-bit OS & 32-bit browser,
Introduction to Android. Android as a system, is a java based operating system that runs on the Linux kernel. The system is very lightweight and full.
Ali Shahrokni Application Components Activities Services Content providers Broadcast receivers.
© 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Android Boot Camp.
Presented By: Muhammad Tariq Software Engineer Android Training course.
Plug-in Development Environment. Session Outline Tools Installation Configuration New Project Basic Debugging Remote Debugging.
Basic Setup Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
© by Pearson Education, Inc. All Rights Reserved. 1 Introduction to Android From “Android: How to Program” By Paul Deitel and Harvey Deitel.
( ) 1 ISYE 7210—Fall 2005 Design of Real-Time Interactive Simulations (in Java) Initial Notes Christine M. Mitchell Director & Professor Center for.
Android architecture & setting up. Android operating system comprises of different software components arranges in stack. Different components of android.
Android Development Environment Environment/tools Windows Eclipse IDE for Java Developers (v3.5 Galileo) Java Platform (JDK 6 Update 18) Android.
Setting Up Eclipse. What is Eclipse? Eclipse is a free, downloadable software that allows us to create, compile, and run JAVA programs.
GumTree Development Environment Setup Windows Only Compatible with Eclipse 3.2 M3 (Last update: 16/11/05)
Liferay Installation Prepared by: Do Xuan Hai 8 August 2011.
First Venture into the Android World Chapter 1 Part 2.
Tool Install How to download & install Java 6 & Eclipse updated version based on Dr. G. L. Ray’s slides.
 Installation of Android Development Environment  Creating the App with OpenGL ES API  Running the App on Emulator Android App Development.
Using This PowerPoint This PowerPoint presentation assumes your Computer Science teacher has provided you with the InstallingJava folder, which contains.
1 Installing Java on Your PC. Installing Java To develop Java programs on your PC: Install JDK (Java Development Kit) Add the directory where JDK was.
ANDROID APPLICATION DEVELOPMENT. ANDROID DEVELOPMENT DEVELOPER.ANDROID.COM/INDEX.HTML THE OFFICIAL SITE FOR ANDROID DEVELOPERS. PROVIDES THE ANDROID SDK.
Appium with Android Configuration.  Download Appium server:  Choose the latest version of appium.
TODAY Android Studio Installation Getting started Creating your 1 st App Beginning to understanding Intents.
Installation of Visual Studio Android emulator and Android Studio
Intoduction to Andriod studio Environment With a hello world program.
Settings MySQL Database and JDBC configuration Instructor: Sergey Goldman.
Troubleshooting Dashhawk Issues. Here's what you have to do to have the DashHawk run properly Go to the ACTUAL PROGRAM file (not the short cut)
Android apps development - Eclipse, Android SDK, and ADT plugin Introduction of.
Guide To Develop Mobile Apps With Titanium. Agenda Overview Installation of Platform SDKs Pros of Appcelerator Titanium Cons of Appcelerator Titanium.
IBM Worklight environment setup 1. Eclipse IDE Multi-purpose integrated development environment (IDE) Open source Supported for Windows, Mac OS X, Linux.
CACI Proprietary Information | Date 1 Upgrading to webMethods Product Suite Name: Semarria Rosemond Title: Systems Analyst, Lead Date: December 8,
Introduction to Android Programming
COM594: Mobile Technology Practical – Week 1 Android and Android Studio.
Presenter Sudhanshu Gupta
TIZEN STUDIO INSTALLATION & ENVIRONMENT SETUP FOR DEVLAB
Mobile Device Development
Mobile Application Development BSCS-7 Lecture # 1
Android 01: Fundamentals
Obtaining the Required Tools
CIS 470 Mobile App Development
Setting up Eclipse Locally
John D. McGregor Module 0 Session 2 Infrastructure and problem
Software Setup & Validation
Android Application Development
Korea Software HRD Center
Working with Libraries
Review of Previous Lesson
Presentation transcript:

Day 1 Session 2

Setup & Installation

Agenda Android Setup & Installation Create your first application Build and run your application

Setup the Android Environment ComponentVersion JDKJava SE 7u9 Eclipse IDELatest version Android SDK Downloader Android SDK Tools revision 21 Android ADT Latest version that is for SDK tools rev 21 Android SDK platform support Android SDK Platform tools revision 21

 Download the Java SE Development Kit (JDK) from  Click Download from the JDK section of the 'Java Platform, Standard Edition' table.  Install the JDK environment with default settings.  MAC: The JDK is already integrated into the Mac OS X operation system. JDK Installation

My Computer  Properties  Advanced System Setting  Environmental Variables.  Set the environment variable:

 Give the path variable value :.;C:\Program Files\Java\jdk1.6.0_21\bin; And JAVA Home variable value : C:\Program Files\Java\jdk1.7.0_17;

 The Android SDK is distributed through an SDK starter package containing the SDK tools.  Download the starter package from:  Unzip the archive and copy the contents into a directory, e.g., C:\Development\Android\android-sdk-windows\.  Throughout the Getting Started guide, we refer to the base directory of your development environment as = c:\Development\Android.  Add the tools\ directory to your Windows path. Installation - Android SDK

 Right-click Computer on the desktop and select Properties.  Use the Advanced system settings to open the System Properties window, and select Environment Variables on the Advanced tab.  Look for the variable Path in the System variables window. Press Edit.  Scroll to the end of the Variable value, and add the full path to the tools\ directory to the end of the path, separated by a semicolon from the path before like : ;C:\Development\Android\android-sdk-windows\tools\

 MAC: Update the PATH variable to point to the 'make' utility and the Android SDK tools directory in the/etc/rc.common or ~/.bash_profile file: PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/libexec:/System/Library/CoreServices:/Dev eloper/usr/bin:~/Development/Android/android-sdk- macosx/tools; export PATH  LINUX: Update your PATH to point to the 'make' utility and the Android SDK tools directory. If you use bash shell, add the following to the ~/.bashrc : export PATH=/opt/android-sdk-linux/tools/;$PATH

 The ADT Bundle provides everything you need to start developing apps, including a version of the Eclipse IDE with built-in ADT (Android Developer Tools) to streamline your Android app development.  If you don’t have, then download Android SDK from  Unpack the ZIP file (named adt-bundle-.zip) and save it to an appropriate location, such as a "Development" directory in your home directory.  Open the adt-bundle- /eclipse/ directory and launch eclipse. Setting of ADT Bundle

 In Eclipse, select the menu Window->Android SDK Manager.  If the Android SDK location was not set up correctly within Eclipse, go to Windows-> Preferences->Android.  Then browse  Copy the path from your address bar and paste it.  Click on Apply and finally Ok Android SDK platform support

 In the Android SDK manager window, sort by API level, click Deselect All and check the following boxes:  From Tools:  Android SDK Platform-tools  From Android 4.1 (API 16):  Documentation for Android SDK  From Android 2.2 (API 8):  SDK Platform  Samples for SDK (optional)  From Extras:  Google USB Driver package (not compatible with Linux)

1. Select File > New > Android Application Project. 2. Enter the Application name. 3. Enter Project Name. 4. Enter com.android.projectName as the Package name.(Should be fully qualified) 5. Select Minimum required SDK and Target SDK (for ex. : API8:Android 2.2(Froyo) ). 6. Click Next. 7. Enter the Activity name. 8. Click Finish. 9. Then go to src folder and open the HelloWorld.java Create an Application

 To build the project, select the project -> Right click and select Build Project Option.  To run the application, we need an Android Virtual Device (AVD).  AVD is an emulator that runs on your computer.  The emulator lets you prototype, develop and test Android applications without using a physical device.  The Android emulator mimics all of the hardware and software features of a typical mobile device, except that it cannot place actual phone calls.  It also provides a screen in which your application is displayed, together with any other active Android applications. Build & Run The Application

Execution Flow Java Source Code Java Byte Code.dex Resources Manifest.apk dx aapt

 The simplest way to create an AVD is to use the graphical AVD Manager. Or 1. Select Window > Android SDK and AVD Manager. The Android SDK and AVD Manager displays. 2. Make sure the entry for Virtual Devices is selected and click New. The Create new AVD window displays. 3. Enter a Name for the AVD. 4. Select Android APIs (API level 8) as the Target. 5. Click Create AVD. 6. Close the Android SDK and AVD Manager. AVD Creation

AVD

Q & A