Mobile application development J2ME U N I T I I

Size: px
Start display at page:

Download "Mobile application development J2ME U N I T I I"

Transcription

1 Mobile application development J2ME U N I T I I

2 Overview J2Me Layered Architecture Small Computing Device requirements Run Time Environment Java Application Descriptor File Java Archive File MIDlet Programming Life cycle methods Event Handling User Interfaces & Device Data Java Language for J2ME J2Me software development Kits Hello World J2ME Style J2ME Wireless Tool kit

3 J2ME Architecture MIDP Applications OEM-Specific Applications Native Applications MIDP OEM-Specific Classes CLDC Native System Software/Host Operating System Mobile Information Device (MID)

4 J2ME Architecture J2ME architecture enables an application to be scaled on constraints of small computing device J2ME architecture consists of layers located above the native operating system collectively referred to as the connected Limited Device Configuration(CLDC) and forms the runtime environment. It consists of three software layers JVM Directly interacts with native operating system Profile consists of minimum set of APIs MIDP contains java API s for user network connections, persistent storage and the user interface. OEM Original Equipment Manufacturer has two components OEM classes used by MIDP to access device specific features such as SMS etc OEM applications programs provided by OEM such as address book

5 J2ME Architecture CLDC java.lang java.io java.util javax.microedition.io MIDP javax.microedition.lcdui javax.microedition.midlet javax.microedition.rms

6 Small Computing Device Requirements Hardware Display Memory Input Device Connectivity Minimum Requirement 96 X 54 Pixels 65,536 colors 32 KB workspace 128KB MIDP Implementation 8KB for MIDlets run The device has the equivalent of a keypad that allows the user to type the numbers 0 through 9,together with the equivalent of arrow keys and a select button HTTP 1.1; TCP/IP

7 Run Time Environment 7 One or more MIDlets are packaged together into a MIDlet suite, composed of: JAR (Java archive) file JAD (Java Application Descriptor) file All the user-defined classes and resources required by the suite's MIDlets must be in the JAR file. J2ME

8 JAR & JAD The JAR file must also include a manifest that describe the MIDlets in the suite. 8 The application descriptor (JAD) contains similar information, and is used by devices to obtain information about a MIDlet suite without having to download and install the MIDlet suite first. J2ME

9 JAD.. Used by AMS to manage MIDlets Has to be supplied to run a CLDC-compliant app File extension is. jad Some attributes of the manifest file are duplicated in the JAD MUST match information in the JAR Manifest otherwise MIDlet won t load The attributes are Name/Value pair, separated by a colon and optional whitespace

10 Sample JAD MIDlet-1: MyMIDlet, MyMIDlet.png, MyMIDlet MIDlet-2: FirstConnection,, FirstConnection MIDlet-Jar-Size: 100 MIDlet-Jar-URL: MyMIDlet.jar MIDlet-Name: MyMIDlet MIDlet-Vendor: Switchback Software MIDlet-Version: 1.0 MicroEdition-Configuration: CLDC-1.1 MicroEdition-Profile: MIDP-2.0

11 MIDlet Programming MIDP applications are known as MIDlets MIDlet is the basic application Similar to the J2SE applet GUI based MIDlet Suite Grouping of related MIDlets as a single unit All the MIDlets of a MIDlet are executed as a single instance security for applications that share resources or data

12 MIDP Application Lifecycle MIDlets move from state to state in the lifecycle, as indicated. Pause Start acquire resources and start executing Pause release resources and become quiescent (wait) Destroy release all resources, destroy threads, and end all activity pauseapp startapp Active destroyapp destroyapp Destroyed

13 Lifecycle Methods startapp() Can be called multiple times, need to prevent subsequent calls to startapp() from starting the UI at the beginning a wizard pauseapp() usually used to release any resources that we re holding on too. destroyapp() any cleanup, prevents the user from exiting the app if a submission of data is in progress. Screen interactions are handled by the commandaction() which we ll talk about shortly...

14 startapp() Starts the applications, called from the AMS Maybe called multiple times, so needs to account for both initial and normal running semantics Should try and return quickly because the applications Displayable is not shown until after this method exits. Throws MIDletStateChangeException if app can t start now, but might be able to start at a later time. Prevents subsequent calls to startapp() from starting the UI at the beginning of the wizard

15 startapp() protected void startapp() throws javax.microedition.midlet. } MIDletStateChangeException { if (false == this.m_binitialized) { } m_binitialized = true; startui();

16 MIDP Mobile Information Device Profile Targeted at medium- to low-end cell phones and two-way pagers Spec addresses issues such as Application life cycle User interface Persistence storage Networking

17 MIDlets MIDP application on a device that is managed by the AMS MIDlet suite is a JAR file that contains 1 or more MIDlets MIDlet-<n> contains info about that MIDlet MIDlet-1: MyMIDlet, MyMIDlet.png, MyMIDlet MIDlet-2: FirstConnection,, FirstConnection <n> MIDlets get packaged in the same JAR file AMS gives choice for loading each MIDlet

18 Sample Code import javax.microedition.lcdui.*; import javax.microedition.midlet.*; public class HiMIDlet extends MIDlet { private TextBox textbox; public HiMIDlet() { textbox = new TextBox ("", "Hello World!", 20, 0); } public void startapp() { Display.getDisplay(this).setCurrent(textbox); } public void pauseapp() { } public void destroyapp(boolean unconditional) {} }

19 Event Handling of J2ME A MIDlet is a event based application When a user interacts with a MIDlet, events are generated and the application is modified to handle and respond to these events. The application is notified of such events through callbacks. All routines executed in the MIDlet are invoked in response to an event reported to the MIDlet by the application manager The initial event that occurs is when the MIDlet is started and the application manager invokes the startapp() method Each screen is associated with CommandListener interface A CommandListener monitors user events with screen and causes the appropriate code to be executed based on the current event.. Screen events comes under High level events Low-level events represent single key presses and releases

20 J2ME User Interfaces The Design of user interface for a MIDlet depends on the restrictions of small computing device There are two types of user interfaces supported by J2ME High Level UI (Screen ) Low Level UI (Canvas ) A Form is the most commonly invoked user interface A user enters information into for by using Choice element, TextBox, TextField, DateField elements. Other user interface elements are StringItem contains text List = contains List of Items Alert to alert the user Ticker- scrollable text etc..

21 J2ME Device Data Small computing devices don t have the resources necessary to run an onboard database management system (DBMS) A MIDlet uses RecordStore MIDP class and two MIDP interfaces called RecordComparator and RecordFilter to write and read persistent data. RecordStore class contains methods used to write and read persistent data.

22 Java Language for J2ME CDC implements the full J2SE available but CLDC implements stripped down J2SE due to resource constraints 1. Floating point math is most notable feature of J2ME which requires extra hardware 2. J2ME does not support finalize() method 3. Reduced number of error handling exceptions are supported in J2ME.because exception handling drains system resources 4. JVM for small computing devices requires a custom class loader supplied by the device manufacturer 5. J2ME does not support ThreadGroup class 6. References and Reflection classes are not supported by J2ME 7. J2ME does not support Security Manager instead it uses class file verification to protect applications with a two step process 1. Pre verification -- outside the device and 2. verification --after loading the MIDlet into the device

23 J2ME Software Development Kits A MIDlet is built using free software packages that are downloadable form java.sun.com Three Packages are needed 1. Java Development Kit (1.3 or greater ) java.sun.com/j2se/downloads.html - It contains java compiler and jar.exe file which is used to crate Java achieve file (JAR ) 2. Connected Limited Device Configuration(CLDC) java.sun.com/products/cldc/ -unzip CLDC on to d:\j2me directory - CLDC package creates j2me_cldc sub directory under j2me - j2me_cldc has bin subdirectory that contains KVM and preverifier executable files - add j2me\j2me_cldc\bin\win32 subdirectory to PATH environment variable 3. Mobile Information Device Profile (MIDP) java.sun.com/products/midp/ - unzip MIDP file creates a midp directory1.0.3fcs directory which also contains bin sub directory - add j2me\midp1.0.3fcs\bin subdirectory to PATH environment variable

24 J2ME Software Development Kits Set the CLASSPATH to d:\j2me\mipdp1.0.3fcs\classes Set the MIDP_HOME environment variable to d:\j2me\midp1.0.3fcs.

25 Hello World J2ME Style The directories used to develop HelloWorld MIDlet J2me J2me\src J2me\src\greeting\j2me\tmp_classes (greetings is the user defined directory) J2me\midlets Steps to Run HelloWorld MIDlet 1. Develop the source code HelloWorld.java 2. Compile HelloWorld.java 3. Pre verify the HelloWorld Class file 4. Running HelloWorld

26 HelloWorld MIDlet 1. HelloWorld MIDlet is created by defining HelloWorld class import javax.microedition.lcdui.*; import javax.microedition.midlet.*; public class HelloWorld extends MIDlet { private TextBox textbox; public HiMIDlet() { textbox = new TextBox ("", "Hello World!", 20, 0); } public void startapp() { Display.getDisplay(this).setCurrent(textbox); } public void pauseapp() { } public void destroyapp(boolean unconditional) {} }

27 HelloWorld MIDlet 2 Compilling Hello WorldelloWorld -- j2me\src\greeting is the current directory Enter the following commamnd at the command line javac d d:\j2me\tmp_classes target 1.1 bootclasspath d:\j2me\midp10.3fcs\clases HelloWorld.java The bootclasspath option must be used when compiling a MIDlet which points to the startup files( java bootstrap files ) The compiler produces HelloWorld.class in the j2me\temp_classes\greetings directory 3. Prevrify HelloWorld.class by executing the following command Preverify d d:\j2me\classes classpath d:\j2me\midp1.0.3fcs\classes d:\j2me\tmp_classes -d option places the class file within the tmp_classes directory -classpath option points to the location of the library classes that come with the MIDP

28 HelloWorld MIDlet 4. Running HelloWorld A MIDlet should be tested in an emulator before being downloaded to a small computing device. An emulator is software that simmulates how a MIDlet will run in a small computing device There are Two ways to run a MIDlet 1. Invoking the MIDletclass or 2. Running the MIDlet from JAR file Enter the following command for running MIDlet class without JAR file midp classpath d:\j2me\classes greeting.helloworld

29 Installation of Java Wireless Toolkit (J2ME) 1) If the Java Development Kit (JDK) is not there or only having the Java Runtime Environment (JRE) installed, install the latest JDK from Current stable release of Java is JDK 6 Update 7 2) Next, download the Java Wireless Toolkit (formerly called J2ME Wireless Toolkit) from: 3) Run the installer (for example, for Windows it is: sun_java_wireless_toolkit- 2_5_2-windows.exe). The installer checks whether a compatible Java environment has been preinstalled. If not, it is necessary to uninstall old versions of Java and perform Step 1 again.

30 Steps to run MIDlet in toolkit: 1. Start -> All Programs -> Sun Java Tool Kit -> Wireless Tool Kit 2. Click New Project Enter Project Name -> Enter Class Name -> Click on Create Project. The toolkit will create a project directory for you using the project name you provide. 3. Choose appropriate API Selection and Configurations. 4. Place Java Source file in WTK2.1 / WTK2.2\apps\projectname\src 5. Build the Project. 6. Run the Project.

31 HelloWorld Using J2ME Wireless Tool Kit import javax.microedition.lcdui.*; import javax.microedition.midlet.*; public class HelloWorld extends MIDlet { private Form form; private Display display; public HelloWorld() { super(); } public void startapp() { form = new Form("Hello World"); String msg = "Hello World!!!!!!!"; form.append(msg); display = Display.getDisplay(this); display.setcurrent(form); } public void pauseapp(){} public void destroyapp(boolean unconditional) { notifydestroyed(); } }

32 Sun s J2ME Wireless Toolkit To run the toolkit itself, select the KToolbar shortcut. You should see the following screen.

33 Sun s J2ME Wireless Toolkit The J2ME Wireless Toolkit works with projects, where the end result of each project is one MIDlet suite. The toolkit works with one project at a time. You can change properties of the current project, build the project, and run the project in a device emulator. Several example projects come installed with the toolkit; we'll look at these later. Click on New Project in the button bar. The toolkit prompts you for a project name and the name of a MIDlet class in the project. Fill in HelloSuite and HelloMIDlet as shown below.

34 Nokia J2ME SDK

35 Important Questions 1. Explain J2ME architecture with a neat diagram. 2. Develop a hello world program using J2ME style. 3. Explain Event processing and Data Management in J2ME 4. Explain how multiple MIDlets are distributed in a single MIDlet suite 5. Explain the java language features of J2ME 6. Explain the features of J2ME wireless toolkit

MIDlet development with J2ME and MIDP

MIDlet development with J2ME and MIDP MIDlet development with J2ME and MIDP ibm.com/developerworks Table of Contents If you're viewing this document online, you can click any of the topics below to link directly to that section. 1. Introduction...

More information

Mobile Application Development

Mobile Application Development Mobile Application Development Development Process and Portability Christoph Denzler University of Applied Sciences Northwestern Switzerland Institute for Mobile and Distributed Systems Learning Target

More information

Java Platform, Micro Edition (Java ME) Mokoena F.R. The 7046 Team

Java Platform, Micro Edition (Java ME) Mokoena F.R. The 7046 Team Java Platform, Micro Edition (Java ME) Mokoena F.R The 7046 Team 1. Introduction Java Platform, Micro Edition (Java ME) technology is one of the popular mobile application runtime. It provides developers

More information

Tutorial: Development of Interactive Applications for Mobile Devices

Tutorial: Development of Interactive Applications for Mobile Devices Tutorial: Development of Interactive Applications for Mobile Devices 7th International Conference on Human Computer Interaction with Mobile Devices and Services (Mobile HCI 2005) (Media Informatics Group,

More information

Introduction to Mobile Phone. Programming in Java Me

Introduction to Mobile Phone. Programming in Java Me Introduction to Mobile Phone Programming in Java Me (prepared for CS/ECE 707, UW-Madison) Author: Leszek Wiland and Suman Banerjee 1 Content 1. Introduction 2. Setting up programming environment 3. Hello

More information

Mobile Software Application Development. Tutorial. Caesar Ogole. April 2006

Mobile Software Application Development. Tutorial. Caesar Ogole. April 2006 Mobile Software Application Development Tutorial By Caesar Ogole April 2006 About the Tutorial: In this tutorial, you will learn how to build a cross-platform mobile software application that runs on the

More information

Development of Java ME

Development of Java ME Y39PDA Development of Java ME application České vysoké učení technické v Praze Fakulta Elektrotechnická Content What is Java ME Low Level a High Level API What is JSR LBS Java ME app. life-cycle 2/29 Is

More information

::. Contenuti della lezione *+ ') $ &,!!!$!-,.../- ' % + &

::. Contenuti della lezione *+ ') $ &,!!!$!-,.../- ' % + & ! ""# ::. Contenuti della lezione $%&' % ('))')') *+ ') $ &,!!!$!-,.../- ' % + & ::. Le diverse edizioni di Java: J2EE,J2SE,J2ME!" # " $ ::. Le diverse edizioni di Java: J2EE,J2SE,J2ME % & ' () * +, (

More information

J2ME: Step by step. Presented by developerworks, your source for great tutorials ibm.com/developerworks

J2ME: Step by step. Presented by developerworks, your source for great tutorials ibm.com/developerworks J2ME: Step by step Presented by developerworks, your source for great tutorials Table of Contents If you're viewing this document online, you can click any of the topics below to link directly to that

More information

WHAT ARE PACKAGES? A package is a collection of related classes. This is similar to the notion that a class is a collection of related methods.

WHAT ARE PACKAGES? A package is a collection of related classes. This is similar to the notion that a class is a collection of related methods. Java Packages KNOWLEDGE GOALS Understand what a package does. Organizes large collections of Java classes Provides access control for variables and methods using the modifier 'protected' Helps manage large

More information

DESIGNING SHIFT CALENDAR FOR MOBILE PHONE

DESIGNING SHIFT CALENDAR FOR MOBILE PHONE Bachelor's thesis Degree program Information technology 2010 Maamar zeddek DESIGNING SHIFT CALENDAR FOR MOBILE PHONE BACHELOR S THESIS ABSTRACT TURKU UNIVERSITY OF APPLIED SCIENCES Degree programme Infomation

More information

Nokia 9210i/9290 Communicators and PersonalJava TM Application Development

Nokia 9210i/9290 Communicators and PersonalJava TM Application Development Nokia 9210i/9290 Communicators and Personal TM Application Development 05-03-2002 Nokia 9210i/9290 Communicators and PersonalTM Application Development Table of contents 1. DIFFERENT JAVA TECHNOLOGIES...

More information

Installing Java. Table of contents

Installing Java. Table of contents Table of contents 1 Jargon...3 2 Introduction...4 3 How to install the JDK...4 3.1 Microsoft Windows 95... 4 3.1.1 Installing the JDK... 4 3.1.2 Setting the Path Variable...5 3.2 Microsoft Windows 98...

More information

How to use the Eclipse IDE for Java Application Development

How to use the Eclipse IDE for Java Application Development How to use the Eclipse IDE for Java Application Development Java application development is supported by many different tools. One of the most powerful and helpful tool is the free Eclipse IDE (IDE = Integrated

More information

Java Language Tools COPYRIGHTED MATERIAL. Part 1. In this part...

Java Language Tools COPYRIGHTED MATERIAL. Part 1. In this part... Part 1 Java Language Tools This beginning, ground-level part presents reference information for setting up the Java development environment and for compiling and running Java programs. This includes downloading

More information

The Software Engineering of Mobile Application Development

The Software Engineering of Mobile Application Development The Software Engineering of Mobile Application Development Dr. Christelle Scharff Pace University, NY, USA Thanks: NCIIA IBM Agenda Audience Context Java ME Process Mobiles Java ME Android Designing Coding

More information

Practice Fusion API Client Installation Guide for Windows

Practice Fusion API Client Installation Guide for Windows Practice Fusion API Client Installation Guide for Windows Quickly and easily connect your Results Information System with Practice Fusion s Electronic Health Record (EHR) System Table of Contents Introduction

More information

5. More on app development

5. More on app development 5. More on app development Some other mobile development systems MIDP Java Maemo Android iphone Windows Mobile OpenMoko Commonly used implementation techniques Summary Mobile Java (MIDP in particular)

More information

1 Mobile and Ubiquitous User Interfaces

1 Mobile and Ubiquitous User Interfaces 1 Mobile and Ubiquitous User Interfaces 2.1 Mobile Computing 2.2 Input and Output on Mobile Devices 2.3 Design Guidelines for Mobile Devices 2.4 System Architectures for Mobile Devices 2.5 Example Applications

More information

Introduction to Android Programming (CS5248 Fall 2015)

Introduction to Android Programming (CS5248 Fall 2015) Introduction to Android Programming (CS5248 Fall 2015) Aditya Kulkarni ([email protected]) August 26, 2015 *Based on slides from Paresh Mayami (Google Inc.) Contents Introduction Android

More information

Java Software Development Kit (JDK 5.0 Update 14) Installation Step by Step Instructions

Java Software Development Kit (JDK 5.0 Update 14) Installation Step by Step Instructions Java Software Development Kit (JDK 5.0 Update 14) Installation Step by Step Instructions 1. Click the download link Download the Java Software Development Kit (JDK 5.0 Update 14) from Sun Microsystems

More information

Developing Wireless Applications using Java Technology. Computing Is Ubiquitous

Developing Wireless Applications using Java Technology. Computing Is Ubiquitous Developing Wireless Applications using Java Technology Bill Day [email protected] www.billday.com Technology Evangelist Sun Microsystems Computing Is Ubiquitous Mainframe era: one computer, many people

More information

Creating a Java application using Perfect Developer and the Java Develo...

Creating a Java application using Perfect Developer and the Java Develo... 1 of 10 15/02/2010 17:41 Creating a Java application using Perfect Developer and the Java Development Kit Introduction Perfect Developer has the facility to execute pre- and post-build steps whenever the

More information

Opening a Command Shell

Opening a Command Shell Opening a Command Shell Win Cmd Line 1 In WinXP, go to the Programs Menu, select Accessories and then Command Prompt. In Win7, go to the All Programs, select Accessories and then Command Prompt. Note you

More information

Appendix A Using the Java Compiler

Appendix A Using the Java Compiler Appendix A Using the Java Compiler 1. Download the Java Development Kit from Sun: a. Go to http://java.sun.com/j2se/1.4.2/download.html b. Download J2SE v1.4.2 (click the SDK column) 2. Install Java. Simply

More information

Android Basics. Xin Yang 2016-05-06

Android Basics. Xin Yang 2016-05-06 Android Basics Xin Yang 2016-05-06 1 Outline of Lectures Lecture 1 (45mins) Android Basics Programming environment Components of an Android app Activity, lifecycle, intent Android anatomy Lecture 2 (45mins)

More information

The Java Virtual Machine and Mobile Devices. John Buford, Ph.D. [email protected] Oct 2003 Presented to Gordon College CS 311

The Java Virtual Machine and Mobile Devices. John Buford, Ph.D. buford@alum.mit.edu Oct 2003 Presented to Gordon College CS 311 The Java Virtual Machine and Mobile Devices John Buford, Ph.D. [email protected] Oct 2003 Presented to Gordon College CS 311 Objectives Review virtual machine concept Introduce stack machine architecture

More information

Mobile Application Development. MIDP & GUI Programmierung

Mobile Application Development. MIDP & GUI Programmierung J2ME MIDlets Mobile Application Development MIDP & GUI Programmierung Christoph Denzler Fachhochschule Nordwestschweiz Institut für Mobile und Verteilte Systeme Lernziele Sie wissen wie ein MIDlet kontrolliert

More information

Supplement I.C. Creating, Compiling and Running Java Programs from the Command Window

Supplement I.C. Creating, Compiling and Running Java Programs from the Command Window Supplement I.C Creating, Compiling and Running Java Programs from the Command Window For Introduction to Java Programming By Y. Daniel Liang This supplement covers the following topics: Opening a Command

More information

2 Introduction to Java. Introduction to Programming 1 1

2 Introduction to Java. Introduction to Programming 1 1 2 Introduction to Java Introduction to Programming 1 1 Objectives At the end of the lesson, the student should be able to: Describe the features of Java technology such as the Java virtual machine, garbage

More information

LAB 1. Familiarization of Rational Rose Environment And UML for small Java Application Development

LAB 1. Familiarization of Rational Rose Environment And UML for small Java Application Development LAB 1 Familiarization of Rational Rose Environment And UML for small Java Application Development OBJECTIVE AND BACKGROUND The purpose of this first UML lab is to familiarize programmers with Rational

More information

Mobile Application Development Android

Mobile Application Development Android Mobile Application Development Android MTAT.03.262 Satish Srirama [email protected] Goal Give you an idea of how to start developing Android applications Introduce major Android application concepts

More information

An Overview of Java. overview-1

An Overview of Java. overview-1 An Overview of Java overview-1 Contents What is Java Major Java features Java virtual machine Java programming language Java class libraries (API) GUI Support in Java Networking and Threads in Java overview-2

More information

Technical Note. Micron Flash Data Integrator (FDI) Support for Java Applications. Introduction. Definition

Technical Note. Micron Flash Data Integrator (FDI) Support for Java Applications. Introduction. Definition Technical Note TN-13-09: FDI Support for Java Applications Introduction Micron Flash Data Integrator (FDI) Support for Java Applications Introduction This document provides an instructional reference to

More information

A Short Introduction to Writing Java Code. Zoltán Majó

A Short Introduction to Writing Java Code. Zoltán Majó A Short Introduction to Writing Java Code Zoltán Majó Outline Simple Application: Hello World Compiling Programs Manually Using an IDE Useful Resources Outline Simple Application: Hello World Compiling

More information

Getting Started with Android Development

Getting Started with Android Development Getting Started with Android Development By Steven Castellucci (v1.1, January 2015) You don't always need to be in the PRISM lab to work on your 4443 assignments. Working on your own computer is convenient

More information

Developing In Eclipse, with ADT

Developing In Eclipse, with ADT Developing In Eclipse, with ADT Android Developers file://v:\android-sdk-windows\docs\guide\developing\eclipse-adt.html Page 1 of 12 Developing In Eclipse, with ADT The Android Development Tools (ADT)

More information

Java with Eclipse: Setup & Getting Started

Java with Eclipse: Setup & Getting Started Java with Eclipse: Setup & Getting Started Originals of slides and source code for examples: http://courses.coreservlets.com/course-materials/java.html Also see Java 8 tutorial: http://www.coreservlets.com/java-8-tutorial/

More information

Installing (1.8.7) 9/2/2009. 1 Installing jgrasp

Installing (1.8.7) 9/2/2009. 1 Installing jgrasp 1 Installing jgrasp Among all of the jgrasp Tutorials, this one is expected to be the least read. Most users will download the jgrasp self-install file for their system, doubleclick the file, follow the

More information

Android Development Setup [Revision Date: 02/16/11]

Android Development Setup [Revision Date: 02/16/11] Android Development Setup [Revision Date: 02/16/11] 0. Java : Go to the URL below to access the Java SE Download page: http://www.oracle.com/technetwork/java/javase/downloads/index.html Select Java Platform,

More information

Mobile Operating Systems. Week I

Mobile Operating Systems. Week I Mobile Operating Systems Week I Overview Introduction Mobile Operating System Structure Mobile Operating System Platforms Java ME Platform Palm OS Symbian OS Linux OS Windows Mobile OS BlackBerry OS iphone

More information

Android Setup Phase 2

Android Setup Phase 2 Android Setup Phase 2 Instructor: Trish Cornez CS260 Fall 2012 Phase 2: Install the Android Components In this phase you will add the Android components to the existing Java setup. This phase must be completed

More information

APPLICATION PROGRAMMING - MOBILE COMPUTING Mobile Computing

APPLICATION PROGRAMMING - MOBILE COMPUTING Mobile Computing ROZWÓJ POTENCJAŁU I OFERTY DYDAKTYCZNEJ POLITECHNIKI WROCŁAWSKIEJ Wrocław University of Technology Internet Engineering Marek Piasecki APPLICATION PROGRAMMING - MOBILE COMPUTING Mobile Computing Wrocław

More information

Crash Course in Java

Crash Course in Java Crash Course in Java Based on notes from D. Hollinger Based in part on notes from J.J. Johns also: Java in a Nutshell Java Network Programming and Distributed Computing Netprog 2002 Java Intro 1 What is

More information

Location-Based Information Systems

Location-Based Information Systems Location-Based Information Systems Developing Real-Time Tracking Applications Miguel A Labrador Alfredo J Perez Pedro M Wightman CRC Press Taylor & Francis Group Boca Raton London New York CRC Press Is

More information

Java ME & NetBeans Mobility. Petr Suchomel Architect, NetBeans Mobility Sun Microsystems

Java ME & NetBeans Mobility. Petr Suchomel Architect, NetBeans Mobility Sun Microsystems Java ME & NetBeans Mobility Petr Suchomel Architect, NetBeans Mobility Sun Microsystems Agenda Java ME introduction Java ME applications NetBeans Mobility Edition Power of advanced features Demos, demos,

More information

Android Environment SDK

Android Environment SDK Part 2-a Android Environment SDK Victor Matos Cleveland State University Notes are based on: Android Developers http://developer.android.com/index.html 1 2A. Android Environment: Eclipse & ADT The Android

More information

Application Servers - BEA WebLogic. Installing the Application Server

Application Servers - BEA WebLogic. Installing the Application Server Proven Practice Application Servers - BEA WebLogic. Installing the Application Server Product(s): IBM Cognos 8.4, BEA WebLogic Server Area of Interest: Infrastructure DOC ID: AS01 Version 8.4.0.0 Application

More information

How to Create an Android Application using Eclipse on Windows 7

How to Create an Android Application using Eclipse on Windows 7 How to Create an Android Application using Eclipse on Windows 7 Kevin Gleason 11/11/11 This application note is design to teach the reader how to setup an Android Development Environment on a Windows 7

More information

Android Programming. Høgskolen i Telemark Telemark University College. Cuong Nguyen, 2013.06.18

Android Programming. Høgskolen i Telemark Telemark University College. Cuong Nguyen, 2013.06.18 Høgskolen i Telemark Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics Cuong Nguyen, 2013.06.18 Faculty of Technology, Postboks 203, Kjølnes ring

More information

Click Start > Control Panel > System icon to open System Properties dialog box. Click Advanced > Environment Variables.

Click Start > Control Panel > System icon to open System Properties dialog box. Click Advanced > Environment Variables. Configure Java environment on Windows After installing Java Development Kit on Windows, you may still need to do some configuration to get Java ready for compiling and executing Java programs. The following

More information

The "Eclipse Classic" version is recommended. Otherwise, a Java or RCP version of Eclipse is recommended.

The Eclipse Classic version is recommended. Otherwise, a Java or RCP version of Eclipse is recommended. Installing the SDK This page describes how to install the Android SDK and set up your development environment for the first time. If you encounter any problems during installation, see the Troubleshooting

More information

Right now, the latest and greatest version of Java available for download is 1.4.0. Start with this link to find out more about it

Right now, the latest and greatest version of Java available for download is 1.4.0. Start with this link to find out more about it Download and Install the Java Developer's Kit (JDK) Java is a great language to learn---unfortunately, probably the most difficult aspect of learning Java is leaning how to install it and configure it

More information

CSA Software Listing 2016-2017. Table of Contents. Both Windows and Mac platforms are supported.

CSA Software Listing 2016-2017. Table of Contents. Both Windows and Mac platforms are supported. CSA Software Listing 2016-2017 Both Windows and Mac platforms are supported. Table of Contents Student Access and Permissions... 2 Web Browsers... 2 Mozilla Firefox... 2 Internet Explorer... 2 Google Chrome...

More information

Project: E290 - MOBILE COMMERCE APPLICATION DEVELOPMENT

Project: E290 - MOBILE COMMERCE APPLICATION DEVELOPMENT Undergraduate Research Opportunity Programme (UROP) Project: E290 - MOBILE COMMERCE APPLICATION DEVELOPMENT Supervisor Professor Kong Pe Hin Hinny Nanyang Technological University Email: [email protected]

More information

Java Programming Unit 1. Your first Java Program Eclipse IDE

Java Programming Unit 1. Your first Java Program Eclipse IDE Java Programming Unit 1 Your first Java Program Eclipse IDE During this training course we ll use the textbook Java Programming 24- Hour Trainer by Yakov Fain. Why Learn Java? Large code base of already

More information

IOIO for Android Beginners Guide Introduction

IOIO for Android Beginners Guide Introduction IOIO for Android Beginners Guide Introduction This is the beginners guide for the IOIO for Android board and is intended for users that have never written an Android app. The goal of this tutorial is to

More information

Android Mobile App Building Tutorial

Android Mobile App Building Tutorial Android Mobile App Building Tutorial Seidenberg-CSIS, Pace University This mobile app building tutorial is for high school and college students to participate in Mobile App Development Contest Workshop.

More information

EMC Documentum Composer

EMC Documentum Composer EMC Documentum Composer Version 6.5 User Guide P/N 300 007 217 A02 EMC Corporation Corporate Headquarters: Hopkinton, MA 01748 9103 1 508 435 1000 www.emc.com Copyright 2008 EMC Corporation. All rights

More information

Java Bluetooth stack Acceptance Test Plan Version 1.0

Java Bluetooth stack Acceptance Test Plan Version 1.0 Java Bluetooth stack Acceptance Test Plan Version 1.0 Doc. No.: Revision History Date Version Description Author 2003-12-12 0.1 Initial Draft Marko Đurić 2004-01-07 0.5 Documentation updated Marko Đurić

More information

Gentran Integration Suite. Archiving and Purging. Version 4.2

Gentran Integration Suite. Archiving and Purging. Version 4.2 Gentran Integration Suite Archiving and Purging Version 4.2 Copyright 2007 Sterling Commerce, Inc. All rights reserved. Additional copyright information is located on the Gentran Integration Suite Documentation

More information

Eclipse installation, configuration and operation

Eclipse installation, configuration and operation Eclipse installation, configuration and operation This document aims to walk through the procedures to setup eclipse on different platforms for java programming and to load in the course libraries for

More information

JavaOne Hands-On Lab LAB-6400 Create Your Own Mobile Game

JavaOne Hands-On Lab LAB-6400 Create Your Own Mobile Game JavaOne Hands-On Lab LAB-6400 Create Your Own Mobile Game Copyright 2008 Sun Microsystems 1 of 35 2 of 35 LAB-6400: Create Your Own Mobile Game Expected duration: 120 minutes Contacts: Lukas Hasik and

More information

Glassfish, JAVA EE, Servlets, JSP, EJB

Glassfish, JAVA EE, Servlets, JSP, EJB Glassfish, JAVA EE, Servlets, JSP, EJB Java platform A Java platform comprises the JVM together with supporting class libraries. Java 2 Standard Edition (J2SE) (1999) provides core libraries for data structures,

More information

Mobile Application Languages XML, Java, J2ME and JavaCard Lesson 04 Java

Mobile Application Languages XML, Java, J2ME and JavaCard Lesson 04 Java Mobile Application Languages XML, Java, J2ME and JavaCard Lesson 04 Java Oxford University Press 2007. All rights reserved. 1 C and C++ C and C++ with in-line-assembly, Visual Basic, and Visual C++ the

More information

Matisse Installation Guide for MS Windows. 10th Edition

Matisse Installation Guide for MS Windows. 10th Edition Matisse Installation Guide for MS Windows 10th Edition April 2004 Matisse Installation Guide for MS Windows Copyright 1992 2004 Matisse Software Inc. All Rights Reserved. Matisse Software Inc. 433 Airport

More information

Android Development Exercises Version - 2012.02. Hands On Exercises for. Android Development. v. 2012.02

Android Development Exercises Version - 2012.02. Hands On Exercises for. Android Development. v. 2012.02 Hands On Exercises for Android Development v. 2012.02 WARNING: The order of the exercises does not always follow the same order of the explanations in the slides. When carrying out the exercises, carefully

More information

Oracle Java Micro Edition Software Development Kit

Oracle Java Micro Edition Software Development Kit Oracle Java Micro Edition Software Development Kit Release Notes Release 3.2 for Windows E25309-06 October 2012 Contents Release Highlights Installation Prerequisites Installing the Java ME SDK Platform

More information

A Sample OFBiz application implementing remote access via RMI and SOAP Table of contents

A Sample OFBiz application implementing remote access via RMI and SOAP Table of contents A Sample OFBiz application implementing remote access via RMI and SOAP Table of contents 1 About this document... 2 2 Introduction... 2 3 Defining the data model... 2 4 Populating the database tables with

More information

How To Run A Hello World On Android 4.3.3 (Jdk) On A Microsoft Ds.Io (Windows) Or Android 2.7.3 Or Android 3.5.3 On A Pc Or Android 4 (

How To Run A Hello World On Android 4.3.3 (Jdk) On A Microsoft Ds.Io (Windows) Or Android 2.7.3 Or Android 3.5.3 On A Pc Or Android 4 ( Developing Android applications in Windows Below you will find information about the components needed for developing Android applications and other (optional) software needed to connect to the institution

More information

Intel Integrated Native Developer Experience (INDE): IDE Integration for Android*

Intel Integrated Native Developer Experience (INDE): IDE Integration for Android* Intel Integrated Native Developer Experience (INDE): IDE Integration for Android* 1.5.8 Overview IDE Integration for Android provides productivity-oriented design, coding, and debugging tools for applications

More information

Matisse Installation Guide for MS Windows

Matisse Installation Guide for MS Windows Matisse Installation Guide for MS Windows July 2013 Matisse Installation Guide for MS Windows Copyright 2013 Matisse Software Inc. All Rights Reserved. This manual and the software described in it are

More information

Packaging and Deploying Java Projects in Forte

Packaging and Deploying Java Projects in Forte CHAPTER 8 Packaging and Deploying Java Projects in Forte This chapter introduces to use Forte s Archive wizard to package project files for deployment. You will also learn how to create shortcut for applications

More information

Installing the Android SDK

Installing the Android SDK Installing the Android SDK To get started with development, we first need to set up and configure our PCs for working with Java, and the Android SDK. We ll be installing and configuring four packages today

More information

Supplement I.B: Installing and Configuring JDK 1.6

Supplement I.B: Installing and Configuring JDK 1.6 Supplement I.B: Installing and Configuring JDK 1.6 For Introduction to Java Programming Y. Daniel Liang This supplement covers the following topics: Downloading JDK 1.6 ( 1.2) Installing JDK 1.6 ( 1.3)

More information

Java ME Clients for XML Web Services

Java ME Clients for XML Web Services 66 Java ME Clients for XML Web Services Paul POCATILU Academy of Economic Studies, Bucharest Using Web services in developing applications has many advantages like the existence of standards, multiple

More information

SETTING UP YOUR JAVA DEVELOPER ENVIRONMENT

SETTING UP YOUR JAVA DEVELOPER ENVIRONMENT SETTING UP YOUR JAVA DEVELOPER ENVIRONMENT Summary This tipsheet describes how to set up your local developer environment for integrating with Salesforce. This tipsheet describes how to set up your local

More information

An Overview of Oracle Forms Server Architecture. An Oracle Technical White Paper April 2000

An Overview of Oracle Forms Server Architecture. An Oracle Technical White Paper April 2000 An Oracle Technical White Paper INTRODUCTION This paper is designed to provide you with an overview of some of the key points of the Oracle Forms Server architecture and the processes involved when forms

More information

Tutorial on Basic Android Setup

Tutorial on Basic Android Setup Tutorial on Basic Android Setup EE368/CS232 Digital Image Processing, Spring 2015 Windows Version Introduction In this tutorial, we will learn how to set up the Android software development environment

More information

Android Environment SDK

Android Environment SDK Part 2-a Android Environment SDK Victor Matos Cleveland State University Notes are based on: Android Developers http://developer.android.com/index.html 1 Android Environment: Eclipse & ADT The Android

More information

Supplement I.B: Installing and Configuring JDK 1.6

Supplement I.B: Installing and Configuring JDK 1.6 Supplement I.B: Installing and Configuring JDK 1.6 For Introduction to Java Programming Y. Daniel Liang This supplement covers the following topics: Downloading JDK 1.6 ( 1.2) Installing JDK 1.6 ( 1.3)

More information

Chapter 1 Java Program Design and Development

Chapter 1 Java Program Design and Development presentation slides for JAVA, JAVA, JAVA Object-Oriented Problem Solving Third Edition Ralph Morelli Ralph Walde Trinity College Hartford, CT published by Prentice Hall Java, Java, Java Object Oriented

More information

Installing Java (Windows) and Writing your First Program

Installing Java (Windows) and Writing your First Program Appendix Installing Java (Windows) and Writing your First Program We will be running Java from the command line and writing Java code in Notepad++ (or similar). The first step is to ensure you have installed

More information

Server Setup and Configuration

Server Setup and Configuration Server Setup and Configuration 1 Agenda Configuring the server Configuring your development environment Testing the setup Basic server HTML/JSP Servlets 2 1 Server Setup and Configuration 1. Download and

More information

How To Develop An Android App On An Android Device

How To Develop An Android App On An Android Device Lesson 2 Android Development Tools = Eclipse + ADT + SDK Victor Matos Cleveland State University Portions of this page are reproduced from work created and shared by Googleand used according to terms described

More information

User s Guide. Sun Java TM Wireless Toolkit for CLDC Version 2.5.2. Sun Microsystems, Inc. www.sun.com

User s Guide. Sun Java TM Wireless Toolkit for CLDC Version 2.5.2. Sun Microsystems, Inc. www.sun.com User s Guide Sun Java TM Wireless Toolkit for CLDC Version 2.5.2 Sun Microsystems, Inc. www.sun.com v252 September 2007 Copyright 2007 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California

More information

Basic Android Setup. 2014 Windows Version

Basic Android Setup. 2014 Windows Version Basic Android Setup 2014 Windows Version Introduction In this tutorial, we will learn how to set up the Android software development environment and how to implement image processing operations on an Android

More information

JBoss SOAP Web Services User Guide. Version: 3.3.0.M5

JBoss SOAP Web Services User Guide. Version: 3.3.0.M5 JBoss SOAP Web Services User Guide Version: 3.3.0.M5 1. JBoss SOAP Web Services Runtime and Tools support Overview... 1 1.1. Key Features of JBossWS... 1 2. Creating a Simple Web Service... 3 2.1. Generation...

More information

Security Evaluation of J2ME CLDC Embedded Java Platform

Security Evaluation of J2ME CLDC Embedded Java Platform Vol. 5, No. 2, March April 2006 Security Evaluation of J2ME CLDC Embedded Java Platform Mourad Debbabi, Mohamed Saleh, Chamseddine Talhi and Sami Zhioua Computer Security Laboratory Concordia Institute

More information

Understanding Java Virtual Machine Selection in InstallAnywhere

Understanding Java Virtual Machine Selection in InstallAnywhere InstallAnywhere Tips & Tricks Understanding Java Virtual Machine Selection in InstallAnywhere Introduction The Java virtual machine used to run an InstallAnywhere installer, or any InstallAnywhere-installed

More information

Python for Series 60 Platform

Python for Series 60 Platform F O R U M N O K I A Getting Started with Python for Series 60 Platform Version 1.2; September 28, 2005 Python for Series 60 Platform Copyright 2005 Nokia Corporation. All rights reserved. Nokia and Nokia

More information

Fahim Uddin http://fahim.cooperativecorner.com [email protected]. 1. Java SDK

Fahim Uddin http://fahim.cooperativecorner.com email@fahim.cooperativecorner.com. 1. Java SDK PREPARING YOUR MACHINES WITH NECESSARY TOOLS FOR ANDROID DEVELOPMENT SEPTEMBER, 2012 Fahim Uddin http://fahim.cooperativecorner.com [email protected] Android SDK makes use of the Java SE

More information

Intel System Event Log (SEL) Viewer Utility. User Guide SELViewer Version 10.0 /11.0 December 2012 Document number: G88216-001

Intel System Event Log (SEL) Viewer Utility. User Guide SELViewer Version 10.0 /11.0 December 2012 Document number: G88216-001 Intel System Event Log (SEL) Viewer Utility User Guide SELViewer Version 10.0 /11.0 December 2012 Document number: G88216-001 Legal Statements INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH

More information

New Technology Introduction: Android Studio with PushBot

New Technology Introduction: Android Studio with PushBot FIRST Tech Challenge New Technology Introduction: Android Studio with PushBot Carol Chiang, Stephen O Keefe 12 September 2015 Overview Android Studio What is it? Android Studio system requirements Android

More information

Canto Integration Platform (CIP)

Canto Integration Platform (CIP) Canto Integration Platform (CIP) Getting Started Guide Copyright 2013, Canto GmbH. All rights reserved. Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto, registered

More information