Coursework 2: getting started (1) – running the phone emulator Chris Greenhalgh G54UBI / 2011-02-21 1Chris Greenhalgh

Slides:



Advertisements
Similar presentations
Programming with Android: SDK install and initial setup Luca Bedogni Marco Di Felice Dipartimento di Scienze dellInformazione Università di Bologna.
Advertisements

Coursework 2: getting started (3) – hosting static web pages Chris Greenhalgh G54UBI /
Programming with Android: SDK install and initial setup Luca Bedogni Marco Di Felice Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna.
CSS Central: Central Management Utility Screen View Samples Next.
Get android development environment running. Install – Get and install JDK 5 or 6 (see link in the.
The Android Development Environment.  Getting started on the Android Platform  Installing required libraries  Programming Android using the Eclipse.
1 Mobile Computing Mobile First (formerly Worklight) Copyright 2015 by Janson Industries.
Google AppInventor implementation quickstart Chris Greenhalgh G54UBI / Chris Greenhalgh
Coursework 2: getting started (4) – using PhoneGap to build mobile applications (optional) Chris Greenhalgh G54UBI /
Android: Hello World Frank Xu Gannon University. Steps Configuration ▫Android SDK ▫Android Development Tools (ADT)  Eclipse plug-in ▫Android SDK and.
CS115 HOW TO INSTALL THE JAVA DEVELOPMENT KIT (JDK)
Go to the link ( as shown, then choose downloads.
Coursework 2: getting started (2) – using the phone emulator and browser Chris Greenhalgh G54UBI /
Android Application Development with Java UPenn CS4HS 2011 Chris Murphy
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 
Getting Started with Android Programming Note: if you have already installed android development tools, please check that you have the same version as.
Installing Tomcat on Windows  You may find the Tomcat install shield has some problems recognizing JSDK 1.4 beta installations.  You.
SEEM4570: XAMPP, Eclipse, Summary of Html Kangfei Zhao Room 711,ERB
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
Android Application Development 2013 PClassic Chris Murphy 1.
Cosc 5/4730 Sign, convert, and install Android files on Blackberry Playbook.
Mobile Programming Lecture 1 Getting Started. Today's Agenda About the Eclipse IDE Hello, World! Project Android Project Structure Intro to Activities,
Copyright ©: SAMSUNG & Samsung Hope for Youth. All rights reserved Tutorials Software: Building apps Suitable for: Advanced.
Google Maps Android API v2 吳俊興 國立高雄大學 資訊工程學系 CSF645 – Mobile Computing 行動計算
CS5103 Software Engineering Lecture 08 Android Development II.
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.
Installing Ricoh Printers There are two basic steps: 1. Acquire the drivers. 2. Use the Windows Add Printer Wizard to install the drivers within the operating.
26/05/2016 E.R.Edwards 26/05/2016 Staffordshire University School of Computing Introduction to Android Practical 1 Changing the Eclipse Workspace Importing.
Setting Up The Android SDK (Software Development Kit) A basic step by step guide leading to set up and your first Hello World App.
Downloading Lumi Show on Android Devices Through our technology, people gain insight, instantly.
Presented By: Muhammad Tariq Software Engineer Android Training course.
( ) 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.
Implementing a mobile app: general strategy Chris Greenhalgh G54UBI / Chris Greenhalgh
Android Development Environment Environment/tools Windows Eclipse IDE for Java Developers (v3.5 Galileo) Java Platform (JDK 6 Update 18) Android.
Creating an Example Android App in Android Studio Activity lifecycle & UI Resources.
Liferay Installation Prepared by: Do Xuan Hai 8 August 2011.
 Installation of Android Development Environment  Creating the App with OpenGL ES API  Running the App on Emulator Android App Development.
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.
DEVOLOPING ANDROID APP ON LOCATION BASED REMINDER ON ANDROID MOBILE SYSTEMS.
Installation of Visual Studio Android emulator and Android Studio
Tomcat Setup BCIS 3680 Enterprise Programming. One-Click Tomcat Setup 2  This semester we’ll try to set up Tomcat with a PowerShell script.  Preparation.
Master Software Solutions Pvt.Ltd.. These days the demand of smart phone is being increased and we have different types of client e.g. Touch Phone, tables,
1 BCS 4 th Semester. Step 1: Download SQL Server 2005 Express Edition Version Feature SQL Server 2005 Express Edition SP1 SQL Server 2005 Express Edition.
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,
PhoneGap. web-based mobile development framework, based on the open-source Cordova project. use standard web technologies such as HTML5, CSS3, and JavaScript.
Day 1 Session 2. Setup & Installation
COM594: Mobile Technology Practical – Week 1 Android and Android Studio.
Android Programming.
Mobile Device Development
Mobile Application Development BSCS-7 Lecture # 1
Obtaining the Required Tools
APK Downloader
Development-Introduction
Android 基礎.
John D. McGregor Module 0 Session 2 Infrastructure and problem
CS115 HOW TO INSTALL THE JAVA DEVELOPMENT KIT (JDK)
Cordova & Cordova Plugin Installation and Management
Presentation transcript:

Coursework 2: getting started (1) – running the phone emulator Chris Greenhalgh G54UBI / Chris Greenhalgh

Contents Option 1: using the Android SDK – Installing the Android SDK – Configuring the Android SDK Manager – Creating an emulator – Starting an Emulator Option 2: – Running an Android emulator using the AppInventor local installation 2Chris Greenhalgh

Option 1: using the Android SDK (for use with HTML/JS, PhoneGap or native apps) 3Chris Greenhalgh

Installing the Android SDK Follow the steps in – Step 1: Ensure you have a JDK (version 1.6) (Eclipse is NOT required at this stage) – Step 2: download the SDK.zip file and extract its contents (e.g. android-sdk-windows/) to your chosen working directory – (Step 3: ADT is NOT required at this stage) 4 Note: this step should NOT be required in the labs: should already be installed in C:\Program Files\Android\android-sdk-windows\ Chris Greenhalgh

Setting up the Android SDK (1) (Without Eclipse) run “SDK Manager.exe” from the unpacked directory – (with eclipse, choose Window > Android SDK and AVD Manager) – You can “cancel” the initial dialog which suggests installing all of the available packages – Under “Settings” set the HTTP proxy if required E.g. in the University host “ ” and port “8080” 5 Note: this step should NOT be required in the labs: should already be installed in C:\Program Files\Android\android-sdk-windows\ Chris Greenhalgh

Setting up the Android SDK (2) From “Available Packages” select and install at least: – Android SDK Platform-tools and – SDK Platform Android 2.2, API 8 Under Android Repository – Google APIs by Google, Inc., Android API 8 Under Third party add-ons, Google Inc. add-ons [for google maps] – (If you have an older Android device then install a version of Android and Google APIs that is compatible with it) – Note: you will need to click “Accept” for the Google APIs licence: 6 Note: this step should NOT be required in the labs: should already be installed in C:\Program Files\Android\android-sdk-windows\ Chris Greenhalgh

Creating an emulator, a.k.a. Android Virtual Device Under Virtual Devices click “New…” and choose – name (any), – target (Google APIs…) – SD Card size, e.g. 64 MB – Resolution (WVGA800) – and Create AVD… Note that the (large) emulator file(s) are usually stored in a hidden directory.android, in your home directory (H:\), which can be deleted if you no longer need the emulator 7 Note: this step should only need to be done ONCE Chris Greenhalgh

Starting an emulator Start the SDK Manager if required (see earlier slide) Under “Virtual Devices” select the emulator (“AVD”) you want and click “Start…” – You can modify the launch options if required, e.g. size on the monitor, then press “Launch” – It typically takes a minute or two for the emulator to start up Note: this step needs to be done each time you want to start an emulator 8Chris Greenhalgh

A running emulator (exact appearance depends on version and AVD options) 9Chris Greenhalgh

Option 2: using the AppInventor tools (for use with Google AppInventor) 10Chris Greenhalgh

Installing the AppInventor tools Follow the set-up instructions for your operating system: – html#setupComputer html#setupComputer – Make a note of the installation directory, typically …\AppInventor\commands-for- Appinventor If a web proxy is required then you need to configure it now, e.g. by setting the http_proxy environment variable 11 Note: this should already be installed in the labs in C:\G54UBI\ Chris Greenhalgh

Configuring the emulator web proxy From inside the University network (except UoN-guest) if the proxy is not set then you will be able to access University web sites but not external web sites (e.g. google). – At present a suitable proxy from within the University network is “ If you start an emulator from the SDK Manager then it should use the proxy set there (slide 4) Otherwise the emulator will use the environment variable “http_proxy” to determine what (if any) proxy to use – This can be set/checked in (Windows 7) Control Panels  Search “Environment”  Edit environment variables for your account (Windows XP) Control Panels  System  Advanced  Environment Variables – You need to restart the emulator to pick up any change 12Chris Greenhalgh

Running the emulator using the AppInventor tools In the AppInventor installation directory ( … \AppInventor\commands-for- Appinventor ) run the emulator command – Windows: double click run-emulator.bat After a few seconds the phone emulator should appear and start up 13 Note: this should be installed in the labs in C:\G54UBI\ Chris Greenhalgh

Conclusions You should now be able to: – Install and setup the Android SDK if required – Run an Android emulator – And optionally install the AppInventor tools and run an Android emulator using those 14Chris Greenhalgh