Coursework 2: getting started (4) – using PhoneGap to build mobile applications (optional) Chris Greenhalgh G54UBI / 2011-02-24.

Slides:



Advertisements
Similar presentations
Introduction to Eclipse cs112b1 – Lab01 by Rui Shi.
Advertisements

Coursework 2: getting started (3) – hosting static web pages Chris Greenhalgh G54UBI /
Coursework 2: getting started (1) – running the phone emulator Chris Greenhalgh G54UBI / Chris Greenhalgh
©2009 Justin C. Klein Keane PHP Code Auditing Session 3 – Tools of the Trade & Crafting Malicious Input Justin C. Klein Keane
1 eclipse Tips. 2 What is eclipse? Eclipse is a popular IDE (Integrated Development Environment) that we will use to create, compile, execute, and test.
Get android development environment running. Install – Get and install JDK 5 or 6 (see link in the.
1 Mobile Computing Mobile First (formerly Worklight) Copyright 2015 by Janson Industries.
Google AppInventor implementation quickstart Chris Greenhalgh G54UBI / Chris Greenhalgh
Coursework 2 implementation options Chris Greenhalgh G54UBI / Chris Greenhalgh
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.
Coursework 2: getting started (2) – using the phone emulator and browser Chris Greenhalgh G54UBI /
XMAS installation instructions Windows Version: 1.0 4/22/2008.
Website Development with PHP and MySQL Introduction.
Views Dwight Deugo Nesa Matic
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.
15-Jul-15 Starting Eclipse Just the basics. Getting Eclipse If you Google for “Eclipse”: The first hit is the home page, The second.
Microsoft Office 2013 ®® Appendix A Introduction to Cloud Computing.
CRSX plug-in development. Prerequisites Software and Libraries Eclipse RCP (3.5 or higher) –Go –Select.
How to make it work? Doncho Minkov Telerik Academy academy.telerik.com Technical Trainer
SET UP COMPUTER ** PLEASE BE AWARE SCREENSHOTS MAY NOT MATCH **
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
Android Application Development 2013 PClassic Chris Murphy 1.
IS 426: Information Systems Construction in Modern Society Downloading and exploring oracle development environments.
Cosc 5/4730 Sign, convert, and install Android files on Blackberry Playbook.
Android 2: Introduction to the Technology Kirk Scott 1.
Google Maps Android API v2 吳俊興 國立高雄大學 資訊工程學系 CSF645 – Mobile Computing 行動計算
Installing the SAFARIODBC.EXE For use with Excel May 3, 2002.
Eclipse Overview Introduction to Web Programming Kirkwood Continuing Education Fred McClurg © Copyright 2015, Fred McClurg, All Rights Reserved.
1 Mobile Computing Set Up Copyright 2015 by Janson Industries.
Operating system for mobile devices with a Java programming interface. Provides tools, e.g. a compiler, debugger, device emulator, and its own Java Virtual.
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.
Presentation Seminar on “IMAGE SLIDER –AN ANDROID APPLICATION”
1 IMPORTANT NOTE  IMPORTANT NOTE not  As of this writing the default project you will download, import and use in this class is not enabled for Tomcat.
26/05/2016 E.R.Edwards 26/05/2016 Staffordshire University School of Computing Introduction to Android Practical 1 Changing the Eclipse Workspace Importing.
DUE Introduction to the Android Platform Working Connections 2011.
CPSC 203 Introduction to Computers Lab 23 By Jie Gao.
Presented By: Muhammad Tariq Software Engineer Android Training course.
Plug-in Development Environment. Session Outline Tools Installation Configuration New Project Basic Debugging Remote Debugging.
( ) 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.
Introduction to Eclipse. What is Eclipse? An Integrated Development Environment Provides many features to ease C++ programming (and others, e.g. C/Java)
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.
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.
Introduction to Eclipse Al-Zahra Univerisity Advanced Programming Arash N. Kia.
Getting Started Introduction Section 0 Lecture 1 Slide 1 Section 0 Slide 1 INTRODUCTION TO Modern Physics PHYX 2710 Fall 2004 Intermediate Lab Fall.
1 G52IWS: Example Web-services Chris Greenhalgh. 2 Contents Software requirements AXIS web service run-time components Getting started with Jetty & AXIS.
DEVOLOPING ANDROID APP ON LOCATION BASED REMINDER ON ANDROID MOBILE SYSTEMS.
Installing RandoNode Starter Kit OPEN Development Conference September 17, 2008 Kasi Perumal Consultant.
Time to apply stuff… Faculty of Mathematics and Physics Charles University in Prague 5 th October 2015 Workshop 1 – Java Wrestling.
Mobile Application Development Kevin Payne & Andi Saputra JWH Group.
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,
Installing and Configuring Moodle. Download Download latest Windows Install package from Moodle.orgMoodle.org.
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.
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
TIZEN STUDIO INSTALLATION & ENVIRONMENT SETUP FOR DEVLAB
PhoneGap, Processing.
Obtaining the Required Tools
Android 基礎.
Access eJournals Form Your Home
Presentation transcript:

Coursework 2: getting started (4) – using PhoneGap to build mobile applications (optional) Chris Greenhalgh G54UBI /

Introduction PhoneGap is an open source project which allows HTML/Javascript mobile browser applications to be converted to installable applications (i.e. no web server at all) You will need to use PhoneGap if and only if: – You want to run applications where there is no wireless network or – You want to access sensors other than GPS, in particular compass, accelerometer, camera or – You want to add other native functionality not available in a web browser, e.g. starting other apps You do NOT need to use PhoneGap to create a browser-based application that uses GPS and/or user input where a wireless network is present Note that Google AppInventor also allows simple installable apps to be created which can use other inputs and do not require a local network: (but with other limitations) 2Chris Greenhalgh

Contents Installing Eclipse Starting Eclipse Setting the web proxy Installing the ADT plugin Configuring the ADT plugin Creating an initial project A very brief introduction to using Eclipse 3Chris Greenhalgh

Installing the Android SDK See the slide set on running the emulator for details of installing the Android SDK 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

Installing Eclipse Follow the instruction for Android on this page: – Ensure you have JDK 1.6 installed – Download and install (unpack) Eclipse “classic” – Install and configure the Android SDK (see slides on running an emulator) Note: this should already be installed in the labs under C:\G54UBI\ 5Chris Greenhalgh

Starting Eclipse – Start Eclipse (double click eclipse\eclipse.exe) N.B. don’t use the version of eclipse in the labs on the desktop – it is out of date and doesn’t have the ADT or other plugins installed – Select the initial “workspace”, i.e. where you “projects” will be stored (make a note of it) Note: this should already be installed in the labs under C:\G54UBI\ 6Chris Greenhalgh

Setting the web proxy – Check that the proxy is configured correctly for Eclipse Window  Preferences: General / Network Connections (e.g. Manual, HTTP host port 8080) Note: this should only need to be done ONCE 7Chris Greenhalgh

Installing the ADT plugin ( step 3) See – Downloading the ADT plugin – see link You may also wish to install (from the standard “Helios” repository) the following: – Eclipse Web Development Tools – Eclipse XML Editors and tools – JavaScript Development Tools Note: this should already be installed in the labs under C:\G54UBI\ 8Chris Greenhalgh

Configuring the ADT plugin – Check that the ADT Plugin is configured with the location of the Android SDK Window  Preferences: Android (SDK was previously installed, e.g. in C:\Program Files\Android\android-sdk-windows) Note: this should only need to be done ONCE 9Chris Greenhalgh

Creating an initial project steps 4-6 go through setting up an initial project and running it Alternatively you can do the following to achieve the same result… 10Chris Greenhalgh

Downloading the sample project Download the project file: Unzip it into your Eclipse workspace directory – (remember when Eclipse started… e.g. workspace/ in your home directory) 11Chris Greenhalgh

Importing the sample project In Eclipse select File  Import…, – expand “General”, select “Existing Projects into Workspace” and click “Next” – Click “Browse…” and select the project directory in the workspace – Click “Finish” 12Chris Greenhalgh

Eclipse interface overview Explorer: all files The project “Web” files Main page Project settings File editor Other views, e.g. errors 13Chris Greenhalgh

A simple web page File editor 14Chris Greenhalgh

Changing application settings Project settings = App “package” “package” Must be different for each app. App version must increase for each version of one app. 15Chris Greenhalgh

Running the application 16Chris Greenhalgh

The sample application 17Chris Greenhalgh

Conclusions You should now be able to – Install and configure Eclipse and the ADT plugin – Set up, edit and run a simple PhoneGap project You can use this sample as the basis for your own development if you wish 18Chris Greenhalgh