Objects. Phone. Programming. Mobile DAY 3 J2ME. Module 2. In real world: object is your car, your bicycle, your cat.. Object has state and behavior

Size: px
Start display at page:

Download "Objects. Phone. Programming. Mobile DAY 3 J2ME. Module 2. In real world: object is your car, your bicycle, your cat.. Object has state and behavior"

Transcription

1 DAY 3 J2ME Mobile Phone Programming Module 2 J2ME DAY 3 in aj2me nutshell Objects In real world: object is your car, your bicycle, your cat.. Object has state and behavior State: variables (car: color, model) Behavior: methods (car: accelerating, braking) Object is created by using class 1

2 Class In real world: all cars have some state and behavior in common Class defines the variables and the methods common to all objects of a certain kind Defining object Dog Billy; Creating object Billy = new Dog(); Object-Oriented Programming Fundamentals public class Car int MaxSpeed; public void speed_up() #code for speeding up Car Corvette = new Car(); Corvette. MaxSpeed =280; Corvette. speed_up() ; Car Ferrari = new Car(); Ferrari. MaxSpeed=320; Ferrari.speed_up(); DAY 3 J2ME If-Then Statement: if ( boolean Expression ) //code If-Then-Else Statement: if ( boolean Expression ) //code else if ( boolean Expression ) //code else //code 2

3 for Statement: for (i = 0; i < 10; i++) //code while Statement: while (boolean expression) //code [iteration;] DAY 3 J2ME Switch Statement: switch (variable) case value_1: //code (only one line); break; case value_2: //code (more than one line); break; GUI Instead of dividing the display into multiple windows (like MS Windows), the GUI could be seen as a deck of screens - only one active at a time Display has a single, fixed-size window whose content are controlled by one application at any time MyMIDlet YourMIDlet 3

4 GUI High-level API Portability key issue Easy-to-use Little control over GUI s look and feel Low-level API Full control of graphics elements and low-level input events Four classes: Canvas, Graphics, Image, Font Game API provides additional classes for low-level drawing Major Classes of LCDU - MIDP 1.0 Display Displayable Screen Canvas ChoiceGroup DateField TextBox Gauge Alert List Ticker ImageItem StringItem Form Item TextField Major Classes of LCDUI - MIDP 2.0 Display Displayable CustomItem Spacer Screen TextBox Alert List Form Canvas Ticker Item ChoiceGroup DateField Gauge ImageItem StringItem TextField 4

5 TextBox public class TextBox_Example extends MIDlet //TextBox(,text,size,contrains) TextBox textbox = new TextBox("Text Box Example","This is an example of a TextBox",50,0); display.setcurrent(textbox); Alert public class Alert_Example extends MIDlet // Alert(label,text,Image,type) Alert alert= new Alert("Error Alert","This is an Error Alert example",null,alerttype.error); alert.settimeout(alert.forever); display.setcurrent(alert); List 1 public class Multiple_List extends MIDlet //List(label,type,items,Images) List list = new List("Multiple list", List.MULTIPLE,new String[] "Python", "J2ME", "Symbian", null); display.setcurrent(list); 5

6 List 2 public class Implicit_List extends MIDlet //List(label,type,items,Images) List list = new List("Implicit list", List.IMPLICIT,new String[] "Python", "J2ME", "Symbian", null); display.setcurrent(list); List 3 public class Exclusive_List extends MIDlet //List(label,type,items,Images) List list = new List("Exclusive list", List.EXCLUSIVE,new String[] "Python", "J2ME", "Symbian", null); display.setcurrent(list); Empty Form public class Empty_Form extends MIDlet Form form = new Form("Empty Form"); 6

7 Form with ChoiceGroup 1 public class Choice_Group extends MIDlet Form form = new Form("Form example"); //ChoiceGroup(label,type,elements,image) ChoiceGroup CourseEXCL = new ChoiceGroup ("Exclusive choice", Choice.EXCLUSIVE,new String[] "Python", "J2ME", "Symbian", null); form.append(courseexcl); ChoiceGroup CourseMULT = new ChoiceGroup ("Multiple choice", Choice.MULTIPLE,new String[] "Python", "J2ME", "Symbian", null); form.append(coursemult); Form with ChoiceGroup DAY 3 J2ME 2 public class Choice_Group extends MIDlet Form form = new Form("Form example"); //ChoiceGroup(label,type,elements,image) ChoiceGroup CoursePOP = new ChoiceGroup ("Pop Up choice", Choice.POPUP,new String[] "Python", "J2ME", "Symbian", null); form.append(coursepop); Form with DateField public class Date_Field extends MIDlet Form form = new Form("Form example"); // DateField(label,type); DateField datefield = new DateField("Date Field Example", DateField.DATE_TIME); form.append(datefield); 7

8 Form with Gauge public class Gauge_ex extends MIDlet Form form = new Form( Gauge example"); //Gauge(label,interaction,maxValue,InitialValue) Gauge gauge = new Gauge("Gauge example", false, 20, 4); form.append(gauge); Form with ImageItem import java.io.ioexception; public class Image_Item extends MIDlet Form form = new Form("Form example"); try Image Logo = Image.createImage("/images/logo.png"); //ImageItem(label,Image,layout,alternative text) ImageItem imageitem =new ImageItem("ImageItem Example",Logo,ImageItem.LAYOUT_CENTER,""); form.append(imageitem); catch (IOException ex) System.out.println("Exception occurred: "+ex); Form with StringItem public class String_Item extends MIDlet Form form = new Form("Form example"); // StringItem(,text) StringItem stringitem= new StringItem("String Item", "This is an example of StringItem"); form.append(stringitem); 8

9 Form with TextField public class Text_Field extends MIDlet Form form = new Form("Form example"); // TextField(label,text,size,constrains); TextField textfield =new TextField("TEXT FIELD","",25,TextField.ANY); form.append(textfield); Canvas public class Canvas_Example extends MIDlet CanvasDemo canvas = new CanvasDemo(); display.setcurrent(canvas); class CanvasDemo extends Canvas public void paint (Graphics g) g.setcolor(50,50,255); g.fillrect (0, 0, getwidth (), getheight ()); g.setcolor(200,200,200); g.drawstring("example of Canvas",0,20,0); g.setcolor(0,0,100); g.drawline (0, 40, 100, 200); g.setcolor(200,0,0); g.fillrect (50, 70, 80, 50); Adding Command Buttons import javax.microedition.midlet.midlet; public class Command_ex extends MIDlet implements CommandListener Command ExitCmd = new Command ("Exit",Command.EXIT,7); Command CheckCmd = new Command ("Check",Command.SCREEN,1); Form form = new Form("Commands example"); form.append("this is a Command button example. Please press the Check button "); form.addcommand(exitcmd); form.addcommand(checkcmd); form.setcommandlistener(this); public void destroyapp(boolean unconditional) notifydestroyed();. public void commandaction(command c, Displayable d) if (c==exitcmd) destroyapp(true); else if (c==checkcmd) Alert alert = new Alert("Alert"); alert.setstring("check button test"); alert.settimeout(3000); // 3 seconds display.setcurrent(alert, display.getcurrent() ); 9

10 Developing DAY Your3 Applications J2ME Application development SDK and development tools installation Application development Target your users What kind of application do you want to develop? On which platform? (MIDP 1.0 or MIDP 2.0) Which tools do you need? How to get started? Development tools The following software needs to be installed on your PC: Java Development Kit (JDK) IDE (Integrated Development Environment) NetBeans Eclipse Carbide.j 10

11 SDK and development tools Our suggestion is to install the following software on your PC: J2SE Netbeans 5.5 (IDE) Netbeans 5.5 mobility Pack All the files can be downloaded from: DAY 3 J2ME JDK = Java Development Kit - if you want to develop or just compile Java programs (*.java -> *.class -> *.jar) JRE = Java Runtime Environment - if you want to execute a Java program Installing J2SE Run the file: jdk-6-windows-i586.exe Follow the instructions for the installation 11

12 NetBeans 5.5 (IDE) The NetBeans IDE is an opensource integrated development environment written entirely in Java NetBeans contains all the modules needed for Java development in a single download, allowing the user to start working immediately. Installing NetBeans 5.5 Run the file netbeans-5_5-windows.exe Follow the instructions for the installation NetBeans 5.0 Mobility Pack The NetBeans Mobility Pack is a Plug-in of NetBeans IDE that can be used to write, test, and debug applications for the Java 2 Micro Edition technology-enabled mobile devices. The NetBeans Mobility Pack integrates support for: Mobile Information Device Profile (MIDP) 2.0 Connected, Limited Device Configuration (CLDC) 1.1 You can easily integrate third-party emulators for a robust testing environment. 12

13 Installing NetBeans 5.0 Mobility Pack Run the file: netbeans_mobility-5_5-win.exe Follow the instructions for the installation Resources NetBeans Demonstration 13

Mobile Phone Programming

Mobile Phone Programming Mobile Phone Programming Free Study Activity Day 3 Part 2 J2ME in a nutshell J2ME in a nutshell Objects In real world: object is your car, your bicycle, your cat.. Object has state and behavior State:

More information

Mobile Application Development. J2ME - Forms

Mobile Application Development. J2ME - Forms Mobile Application Development J2ME - Forms Dr. Christelle Scharff cscharff@pace.edu Pace University, USA http://mobilesenegal.com Objectives Understand and manipulate: Display Displayable Command Form

More information

Mobile Information Device Profile (MIDP) Alessandro Cogliati. Helsinki University of Technology Telecommunications Software and Multimedia Laboratory

Mobile Information Device Profile (MIDP) Alessandro Cogliati. Helsinki University of Technology Telecommunications Software and Multimedia Laboratory Multimedia T-111.5350 Mobile Information Device Profile (MIDP) Alessandro Cogliati Helsinki University of Technology Telecommunications Software and Multimedia Laboratory 1 Outline Java Overview (Editions/Configurations/Profiles)

More information

DAY 3 J2ME Aalborg University, Mobile Device Group. Mobile. Mobile Phone Programming

DAY 3 J2ME Aalborg University, Mobile Device Group. Mobile. Mobile Phone Programming DAY 3 J2ME Mobile Phone Programming Java 2 Micro Edition (J2ME) Overview Introduction J2ME architecture MIDlets Application development Introduction J2ME Key Factors Portability: Write once run anywhere

More information

TAMZ. JavaME. MIDlets. Department of Computer Science VŠB-Technical University of Ostrava

TAMZ. JavaME. MIDlets. Department of Computer Science VŠB-Technical University of Ostrava MIDlets 1 MIDlet A MIDlet is a Java program for embedded devices, more specifically the virtual machine. Generally, these are games and applications that run on a cell phone. MIDlets will (should) run

More information

Acknowledgments Introduction p. 1 The Wireless Internet Revolution p. 1 Why Java Technology for Wireless Devices? p. 2 A Bit of History p.

Acknowledgments Introduction p. 1 The Wireless Internet Revolution p. 1 Why Java Technology for Wireless Devices? p. 2 A Bit of History p. Figures p. xiii Foreword p. xv Preface p. xvii Acknowledgments p. xxi Introduction p. 1 The Wireless Internet Revolution p. 1 Why Java Technology for Wireless Devices? p. 2 A Bit of History p. 3 J2ME Standardization

More information

Mobile Devices in Software Engineering. Lab 3

Mobile Devices in Software Engineering. Lab 3 Mobile Devices in Software Engineering Lab 3 Objective The objective of this lab is to: 1. Test various GUI components on your device 2. Continue to develop application on mobile devices Experiment 1 In

More information

Lab Exercise 4. Please follow the instruction in Workshop Note 4 to complete this exercise.

Lab Exercise 4. Please follow the instruction in Workshop Note 4 to complete this exercise. Lab Exercise 4 Please follow the instruction in Workshop Note 4 to complete this exercise. 1. Turn on your computer and startup Windows XP (English version), download and install J2ME Wireless Toolkit

More information

Faculty of Computer Science and Information Systems Jazan University MOBILE COMPUTING (CNET 426) LAB MANUAL (MOBILE APPLICATION DEVELOPMENT LAB)

Faculty of Computer Science and Information Systems Jazan University MOBILE COMPUTING (CNET 426) LAB MANUAL (MOBILE APPLICATION DEVELOPMENT LAB) Faculty of Computer Science and Information Systems Jazan University MOBILE COMPUTING (CNET 426) LAB MANUAL (MOBILE APPLICATION DEVELOPMENT LAB) (Updated February 2017) Revised and Updated By: Dr SHAMS

More information

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad - 500 043 INFORMATIONTECHOGY TUTORIAL QUESTION BANK ACADEMIC YEAR - 2018-19 Course Title Mobile Application Development Course Code

More information

Who am I? Wireless Online Game Development for Mobile Device. What games can you make after this course? Are you take the right course?

Who am I? Wireless Online Game Development for Mobile Device. What games can you make after this course? Are you take the right course? Who am I? Wireless Online Game Development for Mobile Device Lo Chi Wing, Peter Lesson 1 Email: Peter@Peter-Lo.com I123-1-A@Peter Lo 2007 1 I123-1-A@Peter Lo 2007 2 Are you take the right course? This

More information

J2ME crash course. Harald Holone

J2ME crash course. Harald Holone J2ME crash course Harald Holone 2006-01-24 Abstract This article gives a short, hands-on introduction to programming J2ME applications on the MIDP 2.0 platform. Basic concepts, such as configurations,

More information

Mobile Application Development. Introduction. Dr. Christelle Scharff Pace University, USA

Mobile Application Development. Introduction. Dr. Christelle Scharff Pace University, USA Mobile Application Development Introduction Dr. Christelle Scharff cscharff@pace.edu Pace University, USA Objectives Getting an overview of the mobile phone market, its possibilities and weaknesses Providing

More information

Programming Wireless Devices with the Java 2 Platform, Micro Edition

Programming Wireless Devices with the Java 2 Platform, Micro Edition Programming Wireless Devices with the Java 2 Platform, Micro Edition J2ME Connected Limited Device Configuration (CLDC) Mobile Information Device Profile (MIDP) Roger Riggs Antero Taivalsaari Mark VandenBrink

More information

ST.MARTIN'S ENGINEERING COLLEGE Dhulapally,Secunderabad-014

ST.MARTIN'S ENGINEERING COLLEGE Dhulapally,Secunderabad-014 ST.MARTIN'S ENGINEERING COLLEGE Dhulapally,Secunderabad-014 INFORMATION TECHNOLOGY TUTORIAL QUESTION BANK Course Title Course Code Regulation Course Structure Team of Instructors Mobile Application Development

More information

... 2...3 1...6 1.1...6 1.2... 10 1.3... 16 2...20 2.1... 20 2.2...28... 33... 35... 40...45...49....53 2 ,,.,,., ё.[37],.,. [14] «-». [19] - (..,..,..,..,..,..,..,..,....) (.,.,.,...). -..,..,... [19].

More information

Chapter 13 Add Multimedia to Your MIDlets

Chapter 13 Add Multimedia to Your MIDlets Chapter 13 Add Multimedia to Your MIDlets The Mobile Media API (MMAPI), which extends the functions of Java 2 Platform, Micro Edition (J2ME), allows easy and simple access and control of basic audio and

More information

DAY 3 J2ME March 2007 Aalborg University, Mobile Device Group Mobile Phone Programming

DAY 3 J2ME March 2007 Aalborg University, Mobile Device Group Mobile Phone Programming DAY 3 J2ME Mobile Phone Programming Module 2 Micro (J2ME) Overview Introduction J2ME architecture Introduction 1 J2ME Key Factors Portability: Write once run anywhere Security: Code runs within the confines

More information

BVRIT HYDERABAD College of Engineering for Women Department of Information Technology. Hand Out

BVRIT HYDERABAD College of Engineering for Women Department of Information Technology. Hand Out BVRIT HYDERABAD College of Engineering for Women Department of Information Technology Hand Out Subject Name: Mobile Application Development Prepared by: 1. S. Rama Devi, Assistant Professor, IT Year and

More information

DVB-HTML MIDP 2.0 Graphics Architectures for Non-Desktop Devices

DVB-HTML MIDP 2.0 Graphics Architectures for Non-Desktop Devices DVB-HTML MIDP 2.0 Graphics Architectures for Non-Desktop Devices Pablo Cesar pcesar@tml.hut.fi http://www.tml.hut.fi/~pcesar Part I DVB-HTML Part II MIDP 2.0 Part III Outline Graphics Systems in Embedded

More information

مريم سعد جعفر رانيا عبد السجاد علي سامي سمادير عبد العباس ياسمين عبد االمير

مريم سعد جعفر رانيا عبد السجاد علي سامي سمادير عبد العباس ياسمين عبد االمير مريم سعد جعفر رانيا عبد السجاد علي سامي سمادير عبد العباس ياسمين عبد االمير 1 Introduction of J2ME Introduction of Mobile Technology The goals Mobile Technology Connecting people Information sharing Internet

More information

JUGAT meeting. Roman Waitz Development. MATERNA Information & Communications

JUGAT meeting. Roman Waitz Development. MATERNA Information & Communications JUGAT meeting Roman Waitz Development MATERNA Information & Communications 22/04/2002 Agenda +What the J2ME Platform is +How to build and deploy J2MEbased wireless applications +J2ME programming techniques

More information

CHADALAWADA RAMANAMMA ENGINEERING COLLEGE

CHADALAWADA RAMANAMMA ENGINEERING COLLEGE 1 MOBILE APPLICATION DEVELOPMENT LABORATORY MANUAL Subject Code : 9F00506 Regulations : JNTUA R09 Class : V Semester (MCA) CHADALAWADA RAMANAMMA ENGINEERING COLLEGE (AUTONOMOUS) Chadalawada Nagar, Renigunta

More information

Radical GUI Makeover with Ajax Mashup

Radical GUI Makeover with Ajax Mashup Radical GUI Makeover with Ajax Mashup Terrence Barr Senior Technologist and Community Ambassador Java Mobile & Embedded Community TS-5733 Learn how to turn a 'plain old' Java Platform, Micro Edition (Java

More information

Projectwork Mobile Services

Projectwork Mobile Services Projectwork Mobile Services HMCS House Mobile Control System Valentin Ioan Tincas Jürgen Innerkofler 2007/2008 Project description:... 3 Used hardware components:... 3 Software implementation... 4 Communication

More information

Mobile Systeme Grundlagen und Anwendungen standortbezogener Dienste. Location Based Services in the Context of Web 2.0

Mobile Systeme Grundlagen und Anwendungen standortbezogener Dienste. Location Based Services in the Context of Web 2.0 Mobile Systeme Grundlagen und Anwendungen standortbezogener Dienste Location Based Services in the Context of Web 2.0 Department of Informatics - MIN Faculty - University of Hamburg Lecture Summer Term

More information

Nutiteq Maps SDK tutorial for Java ME (J2ME)

Nutiteq Maps SDK tutorial for Java ME (J2ME) Nutiteq Maps SDK tutorial for Java ME (J2ME) Version 1.1.1 (updated 29.08.2011) 2008-2011 Nutiteq LLC Nutiteq LLC www.nutiteq.com Skype: nutiteq support@nutiteq.com Page2 1 Contents 2 Introduction... 3

More information

F O R U M N O K I A. MIDP 2.0 Introduction. Version 1.0; May Technology

F O R U M N O K I A. MIDP 2.0 Introduction. Version 1.0; May Technology F O R U M N O K I A MIDP 2.0 Introduction Version 1.0; May 2003 Technology Contents 1 Introduction...4 2 javax.microedition.lcdui...4 2.1 Display...4 2.2 Displayable...5 2.3 Screen...5 2.4 Command...5

More information

Series 40 6th Edition SDK, Feature Pack 1 Installation Guide

Series 40 6th Edition SDK, Feature Pack 1 Installation Guide F O R U M N O K I A Series 40 6th Edition SDK, Feature Pack 1 Installation Guide Version Final; December 2nd, 2010 Contents 1 Legal Notice...3 2 Series 40 6th Edition SDK, Feature Pack 1...4 3 About Series

More information

Mensch-Maschine-Interaktion 2

Mensch-Maschine-Interaktion 2 Mensch-Maschine-Interaktion 2 Übung 5 (12./14./15. Juni 2007) Arnd Vitzthum - arnd.vitzthum@ifi.lmu.de Amalienstr. 17, Raum 501 Dominic Bremer - bremer@cip.ifi.lmu.de Java ME Overview (I) Java ME slim

More information

Actual4Test. Actual4test - actual test exam dumps-pass for IT exams

Actual4Test.  Actual4test - actual test exam dumps-pass for IT exams Actual4Test Actual4test - actual test exam dumps-pass for IT exams Exam : 1Z0-869 Title : Java Mobile Edition 1 Mobile Application Developer Certified Professional Exam Vendors : Oracle Version : DEMO

More information

What have we learnt last week? Wireless Online Game Development for Mobile Device. Introduction to Thread. What is Thread?

What have we learnt last week? Wireless Online Game Development for Mobile Device. Introduction to Thread. What is Thread? What have we learnt last week? Wireless Online Game Development for Mobile Device Lesson 5 Introduction to Low-level API Display Image in Canvas Configure color, line style, font style for Drawing Drawing

More information

Java language. Part 1. Java fundamentals. Yevhen Berkunskyi, NUoS

Java language. Part 1. Java fundamentals. Yevhen Berkunskyi, NUoS Java language Part 1. Java fundamentals Yevhen Berkunskyi, NUoS eugeny.berkunsky@gmail.com http://www.berkut.mk.ua What Java is? Programming language Platform: Hardware Software OS: Windows, Linux, Solaris,

More information

TWO-DIMENSIONAL FIGURES

TWO-DIMENSIONAL FIGURES TWO-DIMENSIONAL FIGURES Two-dimensional (D) figures can be rendered by a graphics context. Here are the Graphics methods for drawing draw common figures: java.awt.graphics Methods to Draw Lines, Rectangles

More information

Wireless Java Technology

Wireless Java Technology Wireless Java Technology Pao-Ann Hsiung National Chung Cheng University Ref: http://developers.sun.com/techtopics/mobility/learning/tutorial/ 1 Contents Overview of Java 2 Platform Overview of J2ME Scope

More information

In order to support developers, there needs to be a number of tools available which may be involved in the ultimate solution.

In order to support developers, there needs to be a number of tools available which may be involved in the ultimate solution. Problem Statement J2ME or Java ME is ripe with device fragmentation. Add to that the limited memory available for midlet suites, it is imperative that developer tools provide developers with the help necessary

More information

Oracle Exam 1z0-869 Java Mobile Edition 1 Mobile Application Developer Certified Professional Exam Version: 6.0 [ Total Questions: 340 ]

Oracle Exam 1z0-869 Java Mobile Edition 1 Mobile Application Developer Certified Professional Exam Version: 6.0 [ Total Questions: 340 ] s@lm@n Oracle Exam 1z0-869 Java Mobile Edition 1 Mobile Application Developer Certified Professional Exam Version: 6.0 [ Total Questions: 340 ] Topic 1, Volume A Question No : 1 - (Topic 1) How would a

More information

GUIDELINES FOR GAME DEVELOPERS USING NOKIA JAVA MIDP DEVICES Version Nov 02

GUIDELINES FOR GAME DEVELOPERS USING NOKIA JAVA MIDP DEVICES Version Nov 02 GUIDELINES FOR GAME DEVELOPERS USING NOKIA JAVA MIDP DEVICES 07 Nov 02 Table of Contents 1. INTRODUCTION...3 1.1 PURPOSE...3 1.2 REFERENCES...4 2. GAME GUIDELINES...5 2.1 USE OF GAME ACTIONS...5 2.2 NOTES

More information

Java 2 Micro Edition Server socket and SMS

Java 2 Micro Edition Server socket and SMS Java 2 Micro Edition Server socket and SMS F. Ricci Content Other Connection Types Responding to Incoming Connections Security Permissions Security domains Midlet signing Wireless Messaging Responding

More information

Master Project. Push To Chat. Realized by. The Quang Nguyen. Supervisor. Professor Jean-Yves Le Boudec (EPFL, LCA) Assistant

Master Project. Push To Chat. Realized by. The Quang Nguyen. Supervisor. Professor Jean-Yves Le Boudec (EPFL, LCA) Assistant Master Project Push To Chat Realized by The Quang Nguyen Supervisor Professor Jean-Yves Le Boudec (EPFL, LCA) Assistant Alaeddine El Fawal (EPFL, LCA) Ecole Polytechnique Fédérale de Lausanne (EPFL) Winter

More information

Developing mobile UI

Developing mobile UI Vorlesung Advanced Topics in HCI (Mensch-Maschine-Interaktion 2) Ludwig-Maximilians-Universität München LFE Medieninformatik Albrecht Schmidt & Andreas Butz WS2003/2004 http://www.medien.informatik.uni-muenchen.de/

More information

Pace University. Fundamental Concepts of CS121 1

Pace University. Fundamental Concepts of CS121 1 Pace University Fundamental Concepts of CS121 1 Dr. Lixin Tao http://csis.pace.edu/~lixin Computer Science Department Pace University October 12, 2005 This document complements my tutorial Introduction

More information

Mobile Messaging Using Bangla

Mobile Messaging Using Bangla 1 Mobile Messaging Using Bangla Tofazzal Rownok ID# 01101040 Department of Computer Science and Engineering December 2005 BRAC University, Dhaka, Bangladesh 2 DECLARATION I hereby declare that this thesis

More information

Lab Exercise 7. Please follow the instruction in Workshop Note 7 to complete this exercise.

Lab Exercise 7. Please follow the instruction in Workshop Note 7 to complete this exercise. Lab Exercise 7 Please follow the instruction in Workshop Note 7 to complete this exercise. 1. Turn on your computer and startup Windows XP (English version), download and install J2ME Wireless Toolkit

More information

II. Compiling and launching from Command-Line, IDE A simple JAVA program

II. Compiling and launching from Command-Line, IDE A simple JAVA program Contents Topic 01 - Java Fundamentals I. Introducing JAVA II. Compiling and launching from Command-Line, IDE A simple JAVA program III. How does JAVA work IV. Review - Programming Style, Documentation,

More information

Accessing DB2 Everyplace using J2ME devices, part 1

Accessing DB2 Everyplace using J2ME devices, part 1 Accessing DB2 Everyplace using J2ME devices, part 1 Skill Level: Intermediate Naveen Balani (naveenbalani@rediffmail.com) Developer 08 Apr 2004 This two-part tutorial assists developers in developing DB2

More information

Introduction to Programming Using Java (98-388)

Introduction to Programming Using Java (98-388) Introduction to Programming Using Java (98-388) Understand Java fundamentals Describe the use of main in a Java application Signature of main, why it is static; how to consume an instance of your own class;

More information

Java Programming Language Mr.Rungrote Phonkam

Java Programming Language Mr.Rungrote Phonkam 2 Java Programming Language Mr.Rungrote Phonkam rungrote@it.kmitl.ac.th Contents 1. Intro to Java. 2. Java Platform 3. Java Language 4. JDK 5. Programming Steps 6. Visual Programming 7. Basic Programming

More information

Java Review Outline. basics exceptions variables arrays modulo operator if statements, booleans, comparisons loops: while and for

Java Review Outline. basics exceptions variables arrays modulo operator if statements, booleans, comparisons loops: while and for Java Review Outline basics exceptions variables arrays modulo operator if statements, booleans, comparisons loops: while and for Java basics write a simple program, e.g. hello world http://www2.hawaii.edu/~esb/2017fall.ics211/helloworl

More information

LAB-6340: Advanced Java ME Programming - Streaming Video From Server to Your Device

LAB-6340: Advanced Java ME Programming - Streaming Video From Server to Your Device LAB-6340: Advanced Java ME Programming - Streaming Video From Server to Your Device Lukas Hasik, Fabiola Galleros Rios Software Engineer, Mobility Pack QE Sun Microsystems Inc. http://www.sun.com 2007

More information

PROGRAMMING FUNDAMENTALS

PROGRAMMING FUNDAMENTALS PROGRAMMING FUNDAMENTALS Q1. Name any two Object Oriented Programming languages? Q2. Why is java called a platform independent language? Q3. Elaborate the java Compilation process. Q4. Why do we write

More information

Mobile application development J2ME U N I T I

Mobile application development J2ME U N I T I Mobile application development J2ME U N I T I Mobile Application Development Prepared By : Ms. G Chaitanya Assistant Professor Information Technology Overview Introduction of Mobile Technology What is

More information

Software Development & Education Center. Java Platform, Micro Edition. (Mobile Java)

Software Development & Education Center. Java Platform, Micro Edition. (Mobile Java) Software Development & Education Center Java Platform, Micro Edition (Mobile Java) Detailed Curriculum UNIT 1: Introduction Understanding J2ME Configurations Connected Device Configuration Connected, Limited

More information

SUN. Sun Certified Mobile Application Developer for the Java 2 Platform, Micro Edition, Version 1.0

SUN. Sun Certified Mobile Application Developer for the Java 2 Platform, Micro Edition, Version 1.0 SUN 310-110 Sun Certified Mobile Application Developer for the Java 2 Platform, Micro Edition, Version 1.0 Download Full Version : https://killexams.com/pass4sure/exam-detail/310-110 QUESTION: 332 Given:

More information

DoD Mobile Client- A Comparison between J2ME and Symbian Platforms

DoD Mobile Client- A Comparison between J2ME and Symbian Platforms DoD Mobile Client- A Comparison between J2ME and Symbian Platforms Sanjay Rajwani KTH Information and Communication Technology Master of Science Thesis Stockholm, Sweden 2012 DoD Mobile Client A Comparison

More information

Introduction to Java. Lecture 1 COP 3252 Summer May 16, 2017

Introduction to Java. Lecture 1 COP 3252 Summer May 16, 2017 Introduction to Java Lecture 1 COP 3252 Summer 2017 May 16, 2017 The Java Language Java is a programming language that evolved from C++ Both are object-oriented They both have much of the same syntax Began

More information

Bluetooth Scatternet Application. Sun Code for Freedom

Bluetooth Scatternet Application. Sun Code for Freedom Bluetooth Scatternet Application Sun Code for Freedom Submitted for Code For Freedom Contest 2009 By Ravi D Suvarna Ananth V Sandeep Jain Index Topic Page No. 1. Introduction ---------------------------------------------

More information

Distributed Gaming using J2ME. By Rekha Vaddepalli

Distributed Gaming using J2ME. By Rekha Vaddepalli Distributed Gaming using J2ME By Rekha Vaddepalli Agenda Introduction Requirements Technologies Used Design and Implementation Experiments and Results Conclusion Introduction Mobile devices usage is increasing

More information

CÔNG NGHỆ KHÔNG DÂY VÀ ỨNG DỤNG. Biên tập bởi: Khoa CNTT ĐHSP KT Hưng Yên

CÔNG NGHỆ KHÔNG DÂY VÀ ỨNG DỤNG. Biên tập bởi: Khoa CNTT ĐHSP KT Hưng Yên CÔNG NGHỆ KHÔNG DÂY VÀ ỨNG DỤNG Biên tập bởi: Khoa CNTT ĐHSP KT Hưng Yên CÔNG NGHỆ KHÔNG DÂY VÀ ỨNG DỤNG Biên tập bởi: Khoa CNTT ĐHSP KT Hưng Yên Các tác giả: Khoa CNTT ĐHSP KT Hưng Yên Phiên bản trực

More information

Mobile Opportunities for the Open Source Community

Mobile Opportunities for the Open Source Community Mobile Opportunities for the Open Source Community Ravi Belwal (ravi.belwal@nokia.com) Sr. Technology Consultant Forum Nokia 1 2007 Nokia Corporation 2 2007 Nokia S60 is the leading converged device platform

More information

CS520 Setting Up the Programming Environment for Windows Suresh Kalathur. For Windows users, download the Java8 SDK as shown below.

CS520 Setting Up the Programming Environment for Windows Suresh Kalathur. For Windows users, download the Java8 SDK as shown below. CS520 Setting Up the Programming Environment for Windows Suresh Kalathur 1. Java8 SDK Java8 SDK (Windows Users) For Windows users, download the Java8 SDK as shown below. The Java Development Kit (JDK)

More information

Object Oriented Programming with JAVA

Object Oriented Programming with JAVA CIT 212 M Naveed Object Oriented Programming with JAVA LIST OF PRACTICALS 1. Installation of JDK 2. Installation of NetBean and Eclipse 3. Setup environment variable and Classpath 4. Program to Check Student

More information

THE MOBILE MONITORING AND CONTROL OF REAL SYSTEMS

THE MOBILE MONITORING AND CONTROL OF REAL SYSTEMS THE MOBILE MONITORING AND CONTROL OF REAL SYSTEMS Matýsek Miroslav, Adámek Milan, Karafiát Tomáš Abstract Tomas Bata University in Zlín, Department of Computer and Communication System Nad Stráněmi 4511,

More information

Mobile Devices in Software Engineering. Lab 2

Mobile Devices in Software Engineering. Lab 2 Mobile Devices in Software Engineering Lab 2 Objective The objective of this lab is to: 1. Get you started with network based mobile applications 2. Get you started with persistent storage on mobile devices

More information

MARS AREA SCHOOL DISTRICT Curriculum TECHNOLOGY EDUCATION

MARS AREA SCHOOL DISTRICT Curriculum TECHNOLOGY EDUCATION Course Title: Java Technologies Grades: 10-12 Prepared by: Rob Case Course Unit: What is Java? Learn about the history of Java. Learn about compilation & Syntax. Discuss the principles of Java. Discuss

More information

1Z0-869

1Z0-869 1Z0-869 Passing Score: 800 Time Limit: 4 min Exam A QUESTION 1 How would a MIDlet that uses a GameCanvas efficiently update only a small region of the screen, from the data in the off-screen buffer? A.

More information

Bangla Text Input and Rendering Support for Short Message Service on Mobile Devices

Bangla Text Input and Rendering Support for Short Message Service on Mobile Devices Bangla Text Input and Rendering Support for Short Message Service on Mobile Devices Tofazzal Rownok, Md. Zahurul Islam and Mumit Khan Department of Computer Science and Engineering, BRAC University, Dhaka,

More information

Setting up Java environment for Project Capuchin development with Sony Ericsson phones

Setting up Java environment for Project Capuchin development with Sony Ericsson phones Instructions October 2008 Setting up Java environment for Project Capuchin development with Sony Ericsson phones Preface About this document This document contains a step by step description of how to

More information

Java Puzzle Ball Nick Ristuccia

Java Puzzle Ball Nick Ristuccia Java Puzzle Ball Nick Ristuccia Lesson 0 What is Java? Lesson 0 is Optional Lesson 1 is where the real fun starts! But you'll need Java 8 or higher installed to run Java Puzzle Ball. Lesson 0 gives an

More information

The network connection

The network connection C H A P T E R 1 3 The network connection 13.1 About the Generic Connection Framework 366 13.2 Using the Generic Connection Framework 372 13.3 HTTP-based connections 372 13.4 Socket-based connections 377

More information

Integrating J2ME Polish into the MTJ Project

Integrating J2ME Polish into the MTJ Project Integrating J2ME Polish into the MTJ Project Introduction Business Model Business Opportunities Proposal Motivation: Fragmentation Mobile device fragmentation limits mobile application adoption and thereby

More information

Sortware Comprehension and Μaintenance

Sortware Comprehension and Μaintenance Department of Management and Technology Sortware Comprehension and Μaintenance Wireless IRC project Design of a new feature Wireless Irc s Design Presentation Brief explanation of Midlet Suites function

More information

J2ME With Database Connection Program

J2ME With Database Connection Program J2ME With Database Connection Program Midlet Code: /* * To change this template, choose Tools Templates * and open the template in the editor. package hello; import java.io.*; import java.util.*; import

More information

JavaFX. JavaFX Overview Release E

JavaFX. JavaFX Overview Release E JavaFX JavaFX Overview Release 2.2.21 E20479-06 April 2013 Learn about the JavaFX 2 and later technology, read a feature summary, explore the sample applications, and follow the high-level steps to create

More information

Introduction to JAVA Programming Language

Introduction to JAVA Programming Language Introduction to JAVA Programming Language Lecture 2 Based on Slides of Dr. Norazah Yusof 1 Origins of the Java Language Patrick Naughton and Jonathan Payne at Sun Microsystems developed a Web browser that

More information

JVA-103. Java Programming

JVA-103. Java Programming JVA-103. Java Programming Version 8.0 This course teaches programming in the Java language -- i.e. the Java Standard Edition platform. It is intended for programmers with experience in languages other

More information

Programming mobile devices with J2ME

Programming mobile devices with J2ME Claude Fuhrer Bern University of Applied Sciences School of Engineering and Information Technology October 2010 1 Introduction The Connected Limited Device Configuration Part I Introduction Introduction

More information

Debugging Tools for MIDP Java Devices

Debugging Tools for MIDP Java Devices Debugging Tools for MIDP Java Devices Olli Kallioinen 1 and Tommi Mikkonen 2 1 Sasken Finland, Tampere, Finland olli.kallioinen@sasken.com 2 Tampere University of Technology, Tampere, Finland tommi.mikkonen@tut.fi

More information

List. The constructor of List : List(String title, int listtype) List(String title, int listtype, String[] stringelements, Image[] imageelements)

List. The constructor of List : List(String title, int listtype) List(String title, int listtype, String[] stringelements, Image[] imageelements) List List is a screen contains a set of choices the user can use any one of it. There are three types of List : IMPLICIT, EXCLUSIVE, MULTIPLE we learned it in ChoiceGroup lecture List The constructor of

More information

Cork Institute of Technology. Spring 2006 GUI/Mobile/Web (Time: 3 Hours)

Cork Institute of Technology. Spring 2006 GUI/Mobile/Web (Time: 3 Hours) Cork Institute of Technology Bachelor of Science (Honours) in Software Development Stage 3 (NFQ Level 8) Spring 2006 GUI/Mobile/Web (Time: 3 Hours) Answer FOUR questions ONLY. Show all work. Marks:All

More information

JAVA. Java Micro Edition

JAVA. Java Micro Edition JAVA Java Micro Edition Overview predecessors Personal Java (1997) Embedded Java (1998) JME definition via JCP JCP Java Community Process JME is not a single SW package a set of technologies and specifications

More information

Java for Programmers Course (equivalent to SL 275) 36 Contact Hours

Java for Programmers Course (equivalent to SL 275) 36 Contact Hours Java for Programmers Course (equivalent to SL 275) 36 Contact Hours Course Overview This course teaches programmers the skills necessary to create Java programming system applications and satisfies the

More information

Thành phần Form và Items

Thành phần Form và Items Thành phần Form và Items Bởi: Khoa CNTT ĐHSP KT Hưng Yên Trong phần này sẽ giới thiệu các thành phần được hiển thị ra trên một Form. Một Form chỉ đơn giản là một khung chứa các thành phần, mà mỗi thành

More information

CS335 Graphics and Multimedia

CS335 Graphics and Multimedia CS335 Graphics and Multimedia Fuhua (Frank) Cheng Department of Computer Science University of Kentucky Lexington, KY 40506-0046 -2-1. Programming Using JAVA JAVA history: WHY JAVA? Simple Objected-oriented

More information

Developing Mobile Applications

Developing Mobile Applications Developing Mobile Applications J2ME Java 2 Micro Edition 1 Virtual machines portable apps virtual machine native apps operating system hardware 2 Java - important issues Symbolic language not a random

More information

Praktikum Mobile Productivity

Praktikum Mobile Productivity LFE Medieninformatik Albrecht Schmidt, Alexander De Luca, Gregor Broll Praktikum Mobile Productivity Introduction 10/17/2006 Outline Outline: Basic Information Organizational Stuff Technology SVN Java

More information

Course Outline. Introduction to java

Course Outline. Introduction to java Course Outline 1. Introduction to OO programming 2. Language Basics Syntax and Semantics 3. Algorithms, stepwise refinements. 4. Quiz/Assignment ( 5. Repetitions (for loops) 6. Writing simple classes 7.

More information

PASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year

PASS4TEST. IT Certification Guaranteed, The Easy Way!  We offer free update service for one year PASS4TEST IT Certification Guaranteed, The Easy Way! \ We offer free update service for one year Exam : 310-110 Title : Sun Certified Mobile Application Developer for J2ME. v1.0 Vendors : SUN Version :

More information

NOKIA 12 GSM MODULE JAVA TM IMLET PROGRAMMING GUIDE. Copyright Nokia. All rights reserved. Issue

NOKIA 12 GSM MODULE JAVA TM IMLET PROGRAMMING GUIDE. Copyright Nokia. All rights reserved. Issue NOKIA 12 GSM MODULE JAVA TM IMLET PROGRAMMING GUIDE Copyright 2004-2005 Nokia. All rights reserved. Issue 1.1 9231715 Contents ACRONYMS AND TERMS...1 1. ABOUT THIS DOCUMENT...4 2. INTRODUCTION...6 3. NOKIA

More information

Bluetooth Z8 Project Report

Bluetooth Z8 Project Report Bluetooth Z8 Yao Chen 1 1. Introduction Bluetooth Z8 Project Report For CSci297 Embedded System Yao Chen chenyao927@gmail.com April 22, 2008 This project intends to implement an information transaction

More information

Java Applets. Last Time. Java Applets. Java Applets. First Java Applet. Java Applets. v We created our first Java application

Java Applets. Last Time. Java Applets. Java Applets. First Java Applet. Java Applets. v We created our first Java application Last Time v We created our first Java application v What are the components of a basic Java application? v What GUI component did we use in the examples? v How do we write to the standard output? v An

More information

Introduction to Java and OOP. Hendrik Speleers

Introduction to Java and OOP. Hendrik Speleers Introduction to Java and OOP Hendrik Speleers Introduction to Java Additional course material Thinking in JAVA (4th edition) by Bruce Eckel Free download of older editions: http://mindview.net/books/tij4

More information

Java 2 Micro Edition Server socket and SMS. F. Ricci

Java 2 Micro Edition Server socket and SMS. F. Ricci Java 2 Micro Edition Server socket and SMS F. Ricci Content Other Connection Types Responding to Incoming Connections Socket and Server Socket Security Permissions Security domains Midlet signing Wireless

More information

Introduction to Visual Basic and Visual C++ Introduction to Java. JDK Editions. Overview. Lesson 13. Overview

Introduction to Visual Basic and Visual C++ Introduction to Java. JDK Editions. Overview. Lesson 13. Overview Introduction to Visual Basic and Visual C++ Introduction to Java Lesson 13 Overview I154-1-A A @ Peter Lo 2010 1 I154-1-A A @ Peter Lo 2010 2 Overview JDK Editions Before you can write and run the simple

More information

C O M P U T A T I O N A L P H Y S I C S

C O M P U T A T I O N A L P H Y S I C S C O M P U T A T I O N A L P H Y S I C S W I T H JAVA S E G U N E M M A N U E L ( A B O D E ) F R I D A Y 6 TH, O C T O B E R 2 0 1 6 O U T L I N E OV E RV I E W O F C O M P U TAT I O N A L P H YS I C S

More information

Building a Java ME Test Suite in 15 Minutes

Building a Java ME Test Suite in 15 Minutes Building a Java ME Test Suite in 15 Minutes Mikhail Gorshenev, Senior Staff Engineer Roman Zelov, Member of Technical Staff Alexander Glasman, Member of Technical Staff Sun Microsystems, Inc. http://www.sun.com/

More information

Phone. Programming Course. Dualism Mobile Phone and PC. Software Developer Kit (SDK) Module 1

Phone. Programming Course. Dualism Mobile Phone and PC. Software Developer Kit (SDK) Module 1 Module 1 Mobile Phone Programming Course Dualism Mobile Phone and PC Applicationscanbewrittenfor thepc orthe mobile phone On the PC a phone emulator is running So no mobile phone actually needed Quicker

More information

Notes of the course - Advanced Programming. Barbara Russo

Notes of the course - Advanced Programming. Barbara Russo Notes of the course - Advanced Programming Barbara Russo a.y. 2014-2015 Contents 1 Lecture 2 Lecture 2 - Compilation, Interpreting, and debugging........ 2 1.1 Compiling and interpreting...................

More information

Module 1: Introduction to Computers, Programs, and Java

Module 1: Introduction to Computers, Programs, and Java Module 1: Introduction to Computers, Programs, and Java Module 1: Introduction to Java page 1 Objectives To review Program Design and Problem-Solving Techniques To describe the relationship between Java

More information

1Z

1Z 1Z0-850 Passing Score: 800 Time Limit: 4 min Exam A QUESTION 1 Which object-oriented principle is supported by the use of Java packages? A. encapsulation B. polymorphism C. inheritance D. dynamic typing

More information