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

Size: px
Start display at page:

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

Transcription

1 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 TABREZ SIDDIQUI 1

2 LIST OF LAB PROGRAMS Program 1 J2ME application to display a message. Program 2 J2ME application to display an image. Program 3 J2ME application to display a Ticker message Program 4 CheckBox Button in J2ME using ChoiceGroup Program 5 Displaying Selection menu objects with form choice group with J2ME Program 6 Radio Button Program using Choice Group for listing the objects to cut copy paste Program 7 J2ME application to demonstrate the CalenderMIDlet. Program 8 Displaying and inserting system date and time field objects with form choice group with J2ME Program 9 StringItem Program for question & answer with commands Program. Program 10 Text Box Capturing Program Program 11 Text Field Midlet Program Program 12 Checking the phone number validation using Text box Program 13 A J2ME application to retrieve the local Bluetooth device details. Program 14 A J2ME application demonstrating on how to create a simple phone book. 2

3 Steps to create a J2ME Mobile application in Netbeans environment: 1. Select File New Project Choose Java ME in categories section and choose Mobile Application in Projects section and click Next. 3

4 2. Write the appropriate Project name and Project Location. Make sure that the create Hello MIDlet checkbox is not checked and click Next. 3. Select the default emulator Platform and Device and click Finish. 4

5 4. Right Click the projects name in the Projects pane and select New MIDlet. 5. Select the appropriate MIDlet name and note that the created java MIDlet file name and MIDlet class name are the same. 5

6 6. Click Finish to get the default skeleton of a MIDlet. 6

7 Program 1: A J2ME application to display a message. (Displaying message hello world with J2ME Mobile Edition form) Duration: Introduction and execution of program 2 Hrs ******************** Source Code************************ import javax.microedition.lcdui.*; import javax.microedition.midlet.*; public class HelloWorld extends MIDlet private Form form; private Display display; 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) 7

8 OUTPUT: 8

9 Program 2: A J2ME application program to display an image (Displaying image and hello jazan with J2ME Mobile Edition form). Duration: Execution of program 45 minutes ******************** Source Code************************ import javax.microedition.lcdui.*; import javax.microedition.midlet.*; public class ImageExample extends MIDlet private Form form; private Display display; private Image img; public void startapp() form = new Form("Jazan University"); String msg = "Hello Jazan"; try img = Image.createImage("/jazan.jpg"); catch(exception e) System.out.println(e.getMessage()); form.append(msg); form.append(img); display = Display.getDisplay(this); display.setcurrent(form); public void pauseapp() public void destroyapp(boolean unconditional) 9

10 OUTPUT: 10

11 Program 3: A J2ME application to display a Ticker message (Displaying Scrolling message with J2ME Mobile Edition form). Duration: Execution of program 45 minutes ******************** Source Code************************ import javax.microedition.midlet.*; import javax.microedition.lcdui.*; public class TickerMidlet extends MIDlet Display mydisplay; Form myform; Ticker myticker; public TickerMidlet() mydisplay = Display.getDisplay(this); myform = new Form("Ticker Demo App"); myticker= new Ticker("Welcome to Jazan University"); myform.setticker(myticker); public void startapp() mydisplay.setcurrent(myform); public void pauseapp() public void destroyapp(boolean unconditional) 11

12 OUTPUT: 12

13 Program 4: J2ME application to demonstrate the ChoiceGroup control Duration: Execution of program 45 minutes ********************** Source Code************************* import javax.microedition.midlet.*; import javax.microedition.lcdui.*; public class ChoiceGroupMidlet extends MIDlet Form form; Display display; ChoiceGroup cgbestmobile; public ChoiceGroupMidlet() form = new Form("Choice Group Demo Example"); cgbestmobile = new ChoiceGroup("Select the best mobile brand",choice.multiple); public void startapp() cgbestmobile.append("samsung",null); cgbestmobile.append("nokia",null); cgbestmobile.append("apple",null); form.append(cgbestmobile); display = Display.getDisplay(this); display.setcurrent(form); public void pauseapp() public void destroyapp(boolean unconditional) 13

14 OUTPUT: 14

15 Program 5 : CheckBox Button in J2ME using ChoiceGroup (Displaying Selection menu objects with form choice group with J2ME). Duration: Execution of program 60 minutes ******************** Source Code************************ import javax.microedition.lcdui.*; import javax.microedition.midlet.*; public class CheckBoxExample extends MIDlet implements CommandListener private Display display; private Form form; private Command exit, choose; private ChoiceGroup technology; private int index; public CheckBoxExample() form = new Form("Technologies"); technology = new ChoiceGroup("Select Technology Which You Know", Choice.MULTIPLE); exit = new Command("Exit", Command.EXIT, 1); choose = new Command("Choose", Command.SCREEN, 2); public void startapp() display = Display.getDisplay(this); technology.append("java", null); technology.append("j2me", null); technology.append("j2ee", null); technology.append("jsf", null); index = form.append(technology); 15

16 form.addcommand(exit); form.addcommand(choose); form.setcommandlistener(this); display.setcurrent(form); public void pauseapp() public void destroyapp(boolean unconditional) notifydestroyed(); public void commandaction(command c, Displayable displayable) String label = c.getlabel(); if (label.equals("choose")) StringItem message[] = new StringItem[technology.size()]; boolean get[] = new boolean[technology.size()]; technology.getselectedflags(get); for (int i = 0; i < get.length; i++) if (get[i]) message[i] = new StringItem("Your Choice is: ", technology.getstring(i)); form.append(message[i]); form.delete(index); form.removecommand(choose); else if (label.equals("exit")) destroyapp(false); 16

17 OUTPUT: 17

18 Program 6: Radio Button Program using Choice Group for listing the objects to cut copy paste Duration: Execution of program 45 minutes ********************** Source Code************************* import javax.microedition.midlet.midlet; import javax.microedition.lcdui.*; public class CutCopyPaste extends MIDlet implements CommandListener private Form form; private String actions[]= "cut", "copy", "paste", "delete", "select all", "unselect all"; private List actionlist; public CutCopyPaste() actionlist = new List("Edit", List.EXCLUSIVE, actions, null); actionlist.addcommand(new Command("Select list item", Command.SCREEN, 1)); actionlist.setcommandlistener(this); public void startapp() Display display; display = Display.getDisplay(this); display.setcurrent(actionlist); 18

19 public void pauseapp() public void destroyapp(boolean unconditional) notifydestroyed(); public void commandaction(command c, Displayable d) int i = actionlist.getselectedindex(); String selecteditem = actionlist.getstring(i); Alert alert = new Alert("Your Selection"); alert.setstring(selecteditem); alert.settimeout(5000); // 5 seconds Display display = Display.getDisplay(this); display.setcurrent(alert, display.getcurrent() ); 19

20 OUTPUT: 20

21 Program 7: CalenderMIDlet Duration: Execution of program 45 minutes ******************** Source Code************************ import javax.microedition.lcdui.*; import javax.microedition.midlet.midlet; import java.util.date; import java.util.timezone; public class CalendarMIDlet extends MIDlet private Form form; private Display display; private DateField calender; private static final int DATE = 0; public CalendarMIDlet() calender = new DateField("Date In:", DateField.DATE, TimeZone.getTimeZone("GMT")); public void startapp() display = Display.getDisplay(this); Form form = new Form("Calendar"); form.append(calender); display.setcurrent(form); public void pauseapp() public void destroyapp(boolean destroy) notifydestroyed(); 21

22 OUTPUT: 22

23 Program 8: J2ME application to demonstrate the DateField control (Displaying and inserting system date and time field objects with form choice group with J2ME Mobile Edition form) Duration: Execution of program 45 minutes ********************** Source Code************************* import javax.microedition.midlet.*; import javax.microedition.lcdui.*; public class DateTimeMidlet extends MIDlet Form form; Display display; DateField datetime; public DateTimeMidlet() form = new Form("DateField Control Demo Example"); datetime = new DateField("Date and Time", DateField.DATE_TIME); public void startapp() form.append(datetime); display = Display.getDisplay(this); display.setcurrent(form); public void pauseapp() public void destroyapp(boolean unconditional) 23

24 OUTPUT: 24

25 Program 9: StringItem Program for question & answer with commands Program Duration: Execution of program 60 minutes ******************** Source Code************************ import javax.microedition.midlet.*; import javax.microedition.lcdui.*; public class StringItemExample extends MIDlet implements CommandListener private Display display; private Form form; private StringItem question; private Command giveup; private Command exit; public StringItemExample() display = Display.getDisplay(this); question = new StringItem("Question: ","A plane crashes on the border between Canada and the US. Where are the survivors buried?"); giveup = new Command("Give Up", Command.SCREEN, 1); exit = new Command("Exit", Command.EXIT, 1); form = new Form("Quiz"); form.addcommand(exit); form.addcommand(giveup); form.append(question); form.setcommandlistener(this); public void startapp() 25

26 display.setcurrent(form); public void pauseapp() public void destroyapp(boolean unconditional) public void commandaction(command command, Displayable displayable) if (command == giveup) question.setlabel("answer: "); question.settext("survivors are not buried."); form.removecommand(giveup); else if (command == exit) destroyapp(false); notifydestroyed(); 26

27 OUTPUT: 27

28 Program 10: Text Box Capturing Program Duration: Execution of program 60 minutes ******************** Source Code************************ import javax.microedition.midlet.*; import javax.microedition.lcdui.*; public class TextBoxCapture extends MIDlet implements CommandListener private Display display; private TextBox textbox; private Command submit; private Command exit; public TextBoxCapture() display = Display.getDisplay(this); submit = new Command("Submit", Command.SCREEN, 1); exit = new Command("Exit", Command.EXIT, 1); textbox = new TextBox("First Name:", "", 30, TextField.ANY); textbox.addcommand(exit); textbox.addcommand(submit); textbox.setcommandlistener(this); public void startapp() display.setcurrent(textbox); public void pauseapp() 28

29 public void destroyapp(boolean unconditional) public void commandaction(command command, Displayable displayable) if (command == submit) textbox.setstring("hello, " + textbox.getstring()); textbox.removecommand(submit); else if (command == exit) destroyapp(false); notifydestroyed(); 29

30 OUTPUT: 30

31 Program 11: Text Field Midlet Program Duration: Execution of program 45 minutes ******************** Source Code************************ import javax.microedition.lcdui.*; import javax.microedition.midlet.*; public class TextFieldExample extends MIDlet implements CommandListener private Form form; private Display display; private final TextField name, company; private final Command ok; public TextFieldExample() name = new TextField("Name:", "", 30, TextField.ANY); company = new TextField("Company Name:", "", 30, TextField.ANY); ok = new Command("OK", Command.OK, 2); public void startapp() display = Display.getDisplay(this); Form form = new Form("Text Field"); form.append(name); form.append(company); form.addcommand(ok); form.setcommandlistener(this); display.setcurrent(form); public void pauseapp() public void destroyapp(boolean destroy) notifydestroyed(); 31

32 public void showinput() display = Display.getDisplay(this); String n = name.getstring(); String c = company.getstring(); Form form = new Form("Input Value"); form.append(n); form.append(c); display.setcurrent(form); public void commandaction(command c, Displayable d) String label = c.getlabel(); if(label.equals("ok")) showinput(); 32

33 OUTPUT: 33

34 Program 12: Checking the phone number validation using Text box Duration: Execution of program 60 minutes ******************** Source Code************************ import javax.microedition.midlet.*; import javax.microedition.lcdui.*; public class VerifyPhonenumber_h4 extends MIDlet implements CommandListener private Display display; private Form form; private Command cmdtest; private Command cmdexit; private TextField phonenum; private String areacodes[] = "050", "040", "044", "041", "0400", "058", "0590"; public VerifyPhonenumber_h4() display = Display.getDisplay(this); cmdtest = new Command("Check", Command.SCREEN, 1); cmdexit = new Command("Exit", Command.EXIT, 1); phonenum = new TextField("Phone:", "", 11, TextField.PHONENUMBER); form = new Form("Insert the phone number"); form.addcommand(cmdexit); form.addcommand(cmdtest); form.append(phonenum); form.setcommandlistener(this); public void startapp() 34

35 display.setcurrent(form); public void pauseapp() public void destroyapp(boolean unconditional) public void commandaction(command c, Displayable s) if (c == cmdtest) if (phonenum.size() >= 9 && phonenum.size() <= 11) char buf[] = new char[11]; phonenum.getchars(buf); // Call a method to check the area code table. String checkstr = checkcode(buf)? "is ok" : "is not ok"; StringItem tmp = new StringItem(null, "Area code " + checkstr ); if (form.size() == 1) form.append(tmp); else form.set(1, tmp); else if (c == cmdexit) destroyapp(false); notifydestroyed(); private boolean checkcode(char [] buf) String str = new String(buf, 0, 3); String str2 = new String(buf, 0, 4); for (int x = 0; x < areacodes.length; x++) // If we find a match in the table 35

36 if (str.equals(areacodes[x])) return true; if (str2.equals(areacodes[x])) return true; return false; OUTPUT: 36

37 Program 13: A J2ME application to retrieve the local Bluetooth device details. Duration: Execution of program 60 minutes ******************** Source Code************************ import javax.microedition.midlet.*; import javax.microedition.lcdui.*; import javax.bluetooth.*; public class LocalBTMidlet extends MIDlet implements CommandListener Display display; Form form; Command exit; LocalDevice local = null; public void LocalBTMidlet() public void startapp() form = new Form("Local Bluetooth Details"); exit = new Command("Exit",Command.EXIT,1); form.addcommand(exit); form.setcommandlistener(this); display = Display.getDisplay(this); try local = LocalDevice.getLocalDevice(); String address = local.getbluetoothaddress(); String name = local.getfriendlyname(); 37

38 form.append("address: "+address+"\n"); form.append("name: "+name+"\n"); catch(exception e) form.append("error: "+e+"\n"); display.setcurrent(form); public void pauseapp() public void destroyapp(boolean unconditional) public void commandaction(command cmd, Displayable d) if( cmd == exit ) this.destroyapp(true); this.notifydestroyed(); 38

39 OUTPUT: 39

40 Program 14: A J2ME application demonstrating on how to create a simple phone book import javax.microedition.lcdui.*; import javax.microedition.midlet.*; public class phonebook extends MIDlet implements CommandListener private Command exit, next, New; private TextBox name, number; private Display display; private String nam, no; private Form form; public phonebook() next = new Command("Next", Command.SCREEN, 2); exit = new Command("Exit", Command.SCREEN, 2); New = new Command("New", Command.SCREEN, 2); public void startapp() display = Display.getDisplay(this); name = new TextBox("Enter Name", "", 30, TextField.ANY); name.addcommand(next); name.setcommandlistener(this); number = new TextBox("Enter Number", "", 13, TextField.PHONENUMBER); number.addcommand(new); number.addcommand(exit); number.setcommandlistener(this); display.setcurrent(name); 40

41 public void pauseapp() public void destroyapp(boolean unconditional) notifydestroyed(); public void commandaction(command c, Displayable s) String label = c.getlabel(); if (label.equals("exit")) nam = name.getstring(); no = number.getstring(); System.out.println("Name = " + name.getstring() + ",Number = "+ number.getstring()); destroyapp(false); else if (label.equals("next")) number.setstring(""); display.setcurrent(number); else if (label.equals("new")) display.setcurrent(name); nam = name.getstring(); no = number.getstring(); 41

42 System.out.println("Name = " + name.getstring() + ", Number = "+ number.getstring()); name.setstring(""); OUTPUT: 42

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

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

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

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

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

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 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,

More information

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

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

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

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

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

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

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

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

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

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

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

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

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

3.3.4 Connection Framework

3.3.4 Connection Framework 108 MIDP 2.0 AND THE JTWI 3.3.4 Connection Framework 3.3.4.1 What s Optional and What s Not The CLDC provides a Generic Connection Framework (GCF), which is an extensible framework that can be customized

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

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

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

7. Concurrency. Motivation Infrastructure Faking concurrency Mobile Java implementation Symbian OS implementation. Maemo implementation Summary

7. Concurrency. Motivation Infrastructure Faking concurrency Mobile Java implementation Symbian OS implementation. Maemo implementation Summary 7. Concurrency Motivation Infrastructure Faking concurrency Mobile Java implementation Symbian OS implementation Threads Active objects Maemo implementation Summary 1 Motivation Mobile devices are fundamentally

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

CS434/534: Topics in Networked (Networking) Systems

CS434/534: Topics in Networked (Networking) Systems CS434/534: Topics in Networked (Networking) Systems WSN/Mobile Systems Yang (Richard) Yang Computer Science Department Yale University 208A Watson Email: yry@cs.yale.edu http://zoo.cs.yale.edu/classes/cs434/

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

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

LAB MANUAL MOBILE APPLICATION DEVELOPMENT LAB. Mr. D.RAHUL Assistant Professor

LAB MANUAL MOBILE APPLICATION DEVELOPMENT LAB. Mr. D.RAHUL Assistant Professor LAB MANUAL ON MOBILE APPLICATION DEVELOPMENT LAB IV B. Tech I semester (JNTUH-R15) Mr. D.RAHUL Assistant Professor INFORMATION TECHNOLOGY INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) DUNDIGAL, HYDERABAD

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

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

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

LAB MANUAL ON MOBILE APPLICATION DEVELOPMENT LAB

LAB MANUAL ON MOBILE APPLICATION DEVELOPMENT LAB LAB MANUAL ON MOBILE APPLICATION DEVELOPMENT LAB Objective: In this lab, a student is expected to design, implement, document and present a mobile client/server system using standard Java and Java 2 Micro

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

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

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

... 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

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

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

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

Using XML in Wireless Applications

Using XML in Wireless Applications Using XML in Wireless Applications CHAPTER 10 IN THIS CHAPTER Overview 336 XML and Parsing XML Documents 337 XML Parsers for Wireless Applications 340 SAX 1.0 Java API For J2ME MIDP 342 TinyXML Parser

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

CHAPTER 18 MIDLETS JAVA PROGRAMS FOR MOBILE DEVICES

CHAPTER 18 MIDLETS JAVA PROGRAMS FOR MOBILE DEVICES Although this document is written so that it slightly resembles a chapter of a book, this does not belong to my Java book A Natural Introduction to Computer Programming in Java. This document is additional

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

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

What remains? Median in linear time, randomized algorithms (Monte Carlo, Las Vegas), other programming languages.

What remains? Median in linear time, randomized algorithms (Monte Carlo, Las Vegas), other programming languages. What remains? Median in linear time, randomized algorithms (Monte Carlo, Las Vegas), other programming languages. Median in linear time in fact not just median If we wanted the algorithm finding only median,

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

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

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

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 2 Micro Edition

Java 2 Micro Edition Java 2 Micro Edition F.Ricci Content Why Java on mobile devices Three main Java environments Java 2 Micro Edition Configurations and profiles Optional packages Generic connection framework Application

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

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

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

Java 2 Micro Edition Socket, SMS and Bluetooth. F. Ricci 2008/2009

Java 2 Micro Edition Socket, SMS and Bluetooth. F. Ricci 2008/2009 Java 2 Micro Edition Socket, SMS and Bluetooth F. Ricci 2008/2009 Content Other Connection Types Responding to Incoming Connections Socket and Server Socket Security Permissions Security domains Midlet

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

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

Mobile Services 2 - Java 2 Micro Edition. F. Ricci

Mobile Services 2 - Java 2 Micro Edition. F. Ricci Mobile Services 2 - Java 2 Micro Edition F. Ricci Content Why Java on mobile devices Three main Java environments Java 2 Micro Edition Configurations and profiles Optional packages Generic connection framework

More information

Creating a Java ME Embedded Project That Uses GPIO

Creating a Java ME Embedded Project That Uses GPIO Raspberry Pi HOL. Note: IP: 10.0.0.37 User: pi Password: raspberry Part I Creating a Java ME Embedded Project That Uses GPIO In this section, you create a project by using NetBeans and you test it locally

More information

Mobile Services 2 - Java 2 Micro Edition. F. Ricci 2008/2009

Mobile Services 2 - Java 2 Micro Edition. F. Ricci 2008/2009 Mobile Services 2 - Java 2 Micro Edition F. Ricci 2008/2009 Content Mobile applications Why Java on mobile devices Three main Java environments Java 2 Micro Edition Configurations and profiles Optional

More information

Internet and Mobile Services 2 - Java 2 Micro Edition. F. Ricci 2009/2010

Internet and Mobile Services 2 - Java 2 Micro Edition. F. Ricci 2009/2010 Internet and Mobile Services 2 - Java 2 Micro Edition F. Ricci 2009/2010 Content Mobile applications Why Java on mobile devices Three main Java environments Java 2 Micro Edition Configurations and profiles

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

University of Osnabrueck

University of Osnabrueck University of Osnabrueck Google maps on mobile devices with J2ME Li Wang Supervisor: Prof. Dr. Oliver Vornberger Prof. Dr. Helmar Gust Department of Cognitive Science University of Osnabrueck 07. 27. 2006

More information

CS434/534: Topics in Networked (Networking) Systems

CS434/534: Topics in Networked (Networking) Systems CS434/534: Topics in Networked (Networking) Systems Mobile System: Android (Single App/Process) Yang (Richard) Yang Computer Science Department Yale University 208A Watson Email: yry@cs.yale.edu http://zoo.cs.yale.edu/classes/cs434/

More information

Hỗ trợ giao thức HTTP trong

Hỗ trợ giao thức HTTP trong Hỗ trợ giao thức HTTP trong MIDP Bởi: Khoa CNTT ĐHSP KT Hưng Yên Đến đây thì bạn dã biết được rằng GCF hỗ trợ nhiều kiểu kết nối và đã phát triển ứng dụng MIDlet tải về và hiển thị hình ảnh. Trong phần

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

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

Algorithms & Datastructures Laboratory Exercise Sheet 1

Algorithms & Datastructures Laboratory Exercise Sheet 1 Algorithms & Datastructures Laboratory Exercise Sheet 1 Wolfgang Pausch Heiko Studt René Thiemann Tomas Vitvar

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

Dynabook Vision. Mobile User Interfaces. Chapter 3: Mobile HCI Vorlesung Advanced Topics in HCI (Mensch-Maschine-Interaktion 2)

Dynabook Vision. Mobile User Interfaces. Chapter 3: Mobile HCI Vorlesung Advanced Topics in HCI (Mensch-Maschine-Interaktion 2) 08/07/04 LMU München Mensch -Maschine-Interaktion 2 SoSe04 Schmidt/Hußmann 1 Chapter 3: Mobile HCI Vorlesung Advanced Topics in HCI (Mensch-Maschine-Interaktion 2) Ludwig-Maximilians-Universität München

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

Alma Mater Studiorum University of Bologna CdS Laurea Magistrale (MSc) in Computer Science Engineering

Alma Mater Studiorum University of Bologna CdS Laurea Magistrale (MSc) in Computer Science Engineering Mobile Systems M Alma Mater Studiorum University of Bologna CdS Laurea Magistrale (MSc) in Computer Science Engineering Mobile Systems M course (8 ECTS) II Term Academic Year 2016/2017 04 Development and

More information

Alma Mater Studiorum University of Bologna CdS Laurea Magistrale (MSc) in Computer Science Engineering

Alma Mater Studiorum University of Bologna CdS Laurea Magistrale (MSc) in Computer Science Engineering Mobile Systems M Alma Mater Studiorum University of Bologna CdS Laurea Magistrale (MSc) in Computer Science Engineering Mobile Systems M course (8 ECTS) II Term Academic Year 2016/2017 04 Development and

More information

Learning Wireless Java. By Qusay Mahmoud. Publisher : O'Reilly Pub Date : December ISBN : Pages : 262.

Learning Wireless Java. By Qusay Mahmoud. Publisher : O'Reilly Pub Date : December ISBN : Pages : 262. Learning Wireless Java By Qusay Mahmoud Publisher : O'Reilly Pub Date : December 2001 Table of Contents ISBN : 0-59600-243-2 Pages : 262 Learning Wireless Java is for Java developers who want to create

More information

Pointers, Dynamic Data, and Reference Types

Pointers, Dynamic Data, and Reference Types Pointers, Dynamic Data, and Reference Types Review on Pointers Reference Variables Dynamic Memory Allocation The new operator The delete operator Dynamic Memory Allocation for Arrays 1 C++ Data Types simple

More information

CSci 4061 Introduction to Operating Systems. IPC: Basics, Pipes

CSci 4061 Introduction to Operating Systems. IPC: Basics, Pipes CSci 4061 Introduction to Operating Systems IPC: Basics, Pipes Today Directory wrap-up Communication/IPC Test in one week Communication Abstraction: conduit for data exchange between two or more processes

More information

In Java, all variables must be declared before they can be used. The basic form of a variable declaration is shown here:

In Java, all variables must be declared before they can be used. The basic form of a variable declaration is shown here: PART 4 Variable Types In Java, all variables must be declared before they can be used. The basic form of a variable declaration is shown here: type identifier [ = value][, identifier [= value]...] ; To

More information

Adding Attachments in the Microsoft Outlook Web App

Adding  Attachments in the Microsoft Outlook Web App University Information Technology Services Learning Technologies, Training & Audiovisual Outreach Adding Email Attachments in the Microsoft Outlook Web App Attaching OneDrive Files The following explains

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

Final Assignment for CS-0401

Final Assignment for CS-0401 Final Assignment for CS-0401 1 Introduction In this assignment you will create a program with an Graphical User Interface that will help customers to decide what car and car features that they want. In

More information

One day Crash Course in Java ME Development. by Michael Sharon, Co-founder/CTO, Socialight

One day Crash Course in Java ME Development. by Michael Sharon, Co-founder/CTO, Socialight One day Crash Course in Java ME Development by Michael Sharon, Co-founder/CTO, Socialight sources: http://www.biskero.org/?p=430, http://alindh.iki.fi/2006/06/27/mobile-platform-statistics/, http://en.wikipedia.org/wiki/mobile_development

More information

Mobile 3D Graphics API

Mobile 3D Graphics API Mobile 3D Graphics API for Java TM 2 Micro Edition Draft 15 Proposed Final Draft July 11, 2003 JSR-184 Expert Group jsr-184-comments@jcp.org Java Community Process (JCP) &RS\ULJKW1RWLFHDQG'LVFODLPHUV &RS\ULJKW

More information

Getting started with Java

Getting started with Java Getting started with Java by Vlad Costel Ungureanu for Learn Stuff Programming Languages A programming language is a formal constructed language designed to communicate instructions to a machine, particularly

More information

Case Study Accessing Web Services from J2ME Devices

Case Study Accessing Web Services from J2ME Devices Case Study Accessing Web Services from J2ME Devices Principal: Students: Dr. M.C.J.D. van Eekelen Ravindra Kali [0436690] Roel Verdult [442259] Radboud University Nijmegen Master of Informatics 2 e semester

More information

You must declare all variables before they can be used. Following is the basic form of a variable declaration:

You must declare all variables before they can be used. Following is the basic form of a variable declaration: Variable Types A variable provides us with named storage that our programs can manipulate. Each variable in Java has a specific type, which determines the size and layout of the variable's memory; the

More information

CS 177 Week 15 Recitation Slides. Review

CS 177 Week 15 Recitation Slides. Review CS 177 Week 15 Recitation Slides Review 1 Announcements Final Exam on Friday Dec. 18 th STEW 183 from 1 3 PM Complete your online review of your classes. Your opinion matters!!! Project 6 due Just kidding

More information

23 Shadowing ThinManager Shadow

23 Shadowing ThinManager Shadow 23 Shadowing Shadowing is a popular management tool that allows an authorized user to view what is running on a remote client. There are two methods: ThinManager Shadow Terminal-to-Terminal Shadow 23.1

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

Java Basic Programming Constructs

Java Basic Programming Constructs Java Basic Programming Constructs /* * This is your first java program. */ class HelloWorld{ public static void main(string[] args){ System.out.println( Hello World! ); A Closer Look at HelloWorld 2 This

More information

Introduction to Computer Science II (CSI 1101)

Introduction to Computer Science II (CSI 1101) Introduction to Computer Science II (CSI 1101) Professor: M. Turcotte February 2002, duration: 75 minutes Identification Student name: last name: Section: Student number: initials: Signature: Instructions

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

CSC Java Programming, Fall Java Data Types and Control Constructs

CSC Java Programming, Fall Java Data Types and Control Constructs CSC 243 - Java Programming, Fall 2016 Java Data Types and Control Constructs Java Types In general, a type is collection of possible values Main categories of Java types: Primitive/built-in Object/Reference

More information

CS 101 Fall 2006 Midterm 1 Name: ID:

CS 101 Fall 2006 Midterm 1 Name:  ID: You only need to write your name and e-mail ID on the first page. This exam is CLOSED text book, closed-notes, closed-calculator, closed-neighbor, etc. Questions are worth different amounts, so be sure

More information

MASTER'S THESIS. Group Voice Mixer

MASTER'S THESIS. Group Voice Mixer MASTER'S THESIS 2010:005 CIV Group Voice Mixer Andreas Berglund Luleå University of Technology MSc Programmes in Engineering Computer Science and Engineering Department of Computer Science and Electrical

More information

Name CIS 201 Midterm II: Chapters 1-8

Name CIS 201 Midterm II: Chapters 1-8 Name CIS 201 Midterm II: Chapters 1-8 December 15, 2010 Directions: This is a closed book, closed notes midterm. Place your answers in the space provided. The point value for each question is indicated.

More information

Lecture Notes CPSC 224 (Spring 2012) Today... Java basics. S. Bowers 1 of 8

Lecture Notes CPSC 224 (Spring 2012) Today... Java basics. S. Bowers 1 of 8 Today... Java basics S. Bowers 1 of 8 Java main method (cont.) In Java, main looks like this: public class HelloWorld { public static void main(string[] args) { System.out.println("Hello World!"); Q: How

More information

CSE 1223: Exam II Autumn 2016

CSE 1223: Exam II Autumn 2016 CSE 1223: Exam II Autumn 2016 Name: Instructions: Do not open the exam before you are told to begin. This exam is closed book, closed notes. You may not use any calculators or any other kind of computing

More information

CSci 4061 Introduction to Operating Systems. IPC: Basics, Pipes

CSci 4061 Introduction to Operating Systems. IPC: Basics, Pipes CSci 4061 Introduction to Operating Systems IPC: Basics, Pipes Communication IPC in Unix Pipes: most basic form of IPC in Unix process-process ps u jon grep tcsh // what happens? Pipe has a read-end (receive)

More information

Computer Science AP 2017 Summer Assignment Mrs. McFarland

Computer Science AP 2017 Summer Assignment Mrs. McFarland Computer Science AP 2017 Summer Assignment Mrs. McFarland Read Chapter 1 from the book Think Java: How to Think Like a Computer Scientist by Allen B. Downey. I have included Chapter 1 in this pdf. If you

More information

CSci 4061 Introduction to Operating Systems. IPC: Basics, Pipes

CSci 4061 Introduction to Operating Systems. IPC: Basics, Pipes CSci 4061 Introduction to Operating Systems IPC: Basics, Pipes Communication IPC in Unix Pipes: most basic form of IPC in Unix process-process ps u jon grep tcsh // what happens? Pipe has a read-end (receive)

More information

EMP105A-D - How to plan and build a basic form in Front Page.

EMP105A-D - How to plan and build a basic form in Front Page. EMP105A-D - How to plan and build a basic form in Front Page. Instructor : Scott Klassen Room : OC2004 Main Objectives: Recognizing when to use a form Building your form o Creating the form o Inserting

More information

Introduction to Programming (Java) 4/12

Introduction to Programming (Java) 4/12 Introduction to Programming (Java) 4/12 Michal Krátký Department of Computer Science Technical University of Ostrava Introduction to Programming (Java) 2008/2009 c 2006 2008 Michal Krátký Introduction

More information