J2ME Technology J2ME Home Monitoring. The Java™ 2 Platform.

Slides:



Advertisements
Similar presentations
Review of Chapter 2. Important concepts – The Internet is a worldwide collection of networks that links millions of businesses, government agencies, educational.
Advertisements

Learning Through a Mobile Device David McDyre Dr Averil Meehan Dr Stephen Wright.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 6A Operating System Basics PART II.
TANDBERG Content Server January Organizational Challenges Corporations have struggled in the past:  Achieving unified communications within a global.
Introduction To Java Objectives For Today â Introduction To Java â The Java Platform & The (JVM) Java Virtual Machine â Core Java (API) Application Programming.
What is the Internet? Internet: The Internet, in simplest terms, is the large group of millions of computers around the world that are all connected to.
Discovering Computers: Chapter 1
Exchange server Mail system Four components Mail user agent (MUA) to read and compose mail Mail transport agent (MTA) route messages Delivery agent.
SmartPhones Student 1 Student 2 Student 3. SmartPhone Definition “A SmartPhone is one device that can take care of all your handheld computing and communication.
Java 2 Platform, Micro Edition (J2ME) By Xiaorong Wang.
Mgt 240 Lecture Website Construction: Software and Language Alternatives March 29, 2005.
J2ME and WAP Technologies CSCI – Independent Study Fall 2002 Presented by: Kashif Syed.
The Internet & The World Wide Web Notes
01 Introduction to Java Technology. 2 Contents History of Java What is Java? Java Platforms Java Virtual Machine (JVM) Java Development Kit (JDK) Benefits.
Digital Technology Basics Digital Technology Basics includes two lessons:  Lesson 1: The Modern Digital Experience  Lesson 2: Digital Technology & Career.
Office 365: Efficient Cloud Solutions Wednesday March 12, 9AM Chaz Vossburg / Gabe Laushbaugh.
2440: 141 Web Site Administration Remote Web Server Access Tools Instructor: Enoch E. Damson.
Introduction to Skype A. Name -. Applies to Skype for home and small business accounts.
Smartphones Group 4 Brittany, Chelsea, and Brandi ☺
Lecture 5 Title: Networks and Businesses
Objectives Overview Discuss the evolution of the Internet
9. Car-Borne Information System
CHAPTER 2 Communications, Networks, the Internet, and the World Wide Web.
Project By:. 2 Agenda Introduction Problem Definition Proposed Solution Block Diagram Flowchart Technical Implementation Hardware & Software Requirements.
Discovering Computers 2010 Chapter 2 The Internet and World Wide Web.
Catalyzing Collaboration with OSIsoft and Microsoft Gregg Le Blanc Director of Product Marketing Brian Bostwick Development Manager at Omicron Consulting.
In addition to Word, Excel, PowerPoint, and Access, Microsoft Office® 2013 includes additional applications, including Outlook, OneNote, and Office Web.
Olaf Feldkamp Development Platform Advisor Microsoft Schweiz GmbH.
Instant Messaging for the Workplace A pure collaborative communication tool that does not distract users from their normal activities.
The Internet and World Wide Web By: Shilpa Phanse 10/8/2008.
XPand your capabilities with Citrix ® MetaFrame XP ™ for Windows ®, Feature Release 2.
Framework and application bytecode size CLDC MIDP kXML parser Utility classes Graphics Logic (MIDlet) Application Data (XML file)
What is the Internet? Internet: The Internet, in simplest terms, is the large group of millions of computers around the world that are all connected to.
Objectives Overview Discuss the evolution of the Internet Briefly describe various broadband Internet connections Describe the purpose of an IP address.
Instant Messaging for the Workplace A pure collaborative communication tool that does not distract users from their normal activities.
Module 3: Business Information Systems Chapter 8: Electronic and Mobile Commerce.
WWW Programming Model. WWW Model The Internet WWW architecture provides a flexible and powerful programming model. Applications and content are presented.
1 Zamzar The Solution for File Conversion Alison Fricke EDIT 605 Week 6&7 July 15, 2008.
Microsoft Internet Explorer and the Internet Using Microsoft Explorer 5.
Chapter 3.  The characteristics and purpose of: ◦ Intranets ◦ Internet ◦ Extranets.
Chapter 18 Networking F Client/Server Communications F Simple Client/Server Applications F Serve Multiple Clients F Create Applet Clients F Send and Retrieve.
Online gaming  Online gaming is very popular today and is a very big industry.  Online gaming is when people from all over the world come together.
Foundations of AT - Unit 1. Technology in our Culture Entertainment Information & Communication Medical Industrial Babies on Tech!!!
Discovering Computers Fundamentals, Third Edition CGS 1000 Introduction to Computers and Technology Spring 2007.
Communication Systems The Internet The largest wide area network in the world. It is made up of thousands of linked networks. What.
NETWORK HARDWARE AND SOFTWARE MR ROSS UNIT 3 IT APPLICATIONS.
“Confidential –Internal Halliburton Use Only. © 2004 Halliburton. All Rights Reserved.” Portal Brief OracleAS Portal A component of Oracle Application.
INTERNET. Objectives Explain the origin of the Internet and describe how the Internet works. Explain the difference between the World Wide Web and the.
Securely Synchronize and Share Enterprise Files across Desktops, Web, and Mobile with EasiShare on the Powerful Microsoft Azure Cloud Platform MICROSOFT.
Kuliah Pengantar Teknologi Informasi Coky Fauzi Alfi cokyfauzialfi.wordpress.com Internet (2)
FTP Short for File Transfer Protocol, the protocol for exchanging files over the Internet.protocolfilesInternet works in the same way as HTTP for transferring.
Newsgroup World Wide Web (WWW) Conservation Over the Internet e.g.ICQ File Transfer Protocol (FTP) Includes 6 main services: Electronic Mail Remote.
Online Services. An online service is a service delivered from the internet.
Microsoft Partner Conference Integrated Innovation Don Kerr Partner Technology Specialist.
Information systems and management in business Chapter 2 Electronic Business and Business Mobility.
Learning Aim B.  In this section, you will consider the resources necessary for designing your website.  You will also think about any constraints that.
Living in a Digital World Discovering Computers Fundamentals, 2011 Edition.
6/28/ A global mesh of interconnected networks (internetworks) meets these human communication needs. Some of these interconnected networks are.
G063 - Intranets, the Internet and Extranet. Learning Objectives: At the end of this topic you should be able to: describe the characteristics and purpose.
Unit 3 Virtualization.
What is WWW? The term WWW refers to the World Wide Web or simply the Web. The World Wide Web consists of all the public Web sites connected to the Internet.
Warm Handshake with Websites, Servers and Web Servers:
Evolution of Internet.
ICT Communications Lesson 1: Using the Internet and the World Wide Web
Store, Share, Sync and Collaborate
Objectives Overview Explain why computer literacy is vital to success in today's world Describe the five components of a computer Discuss the advantages.
OPERATING SYSTEMS.
My Position: I am an Intern in the Psychology Industrial Internship Program. I am working in Connie Varnhagen’s Instructional Technologies Lab. The.
Mobile Commerce and Ubiquitous Computing
Presentation transcript:

J2ME Technology J2ME Home Monitoring

The Java™ 2 Platform

Learn Once… Write Anywhere Dynamic provisioning of new applications Enhanced User experience –Dynamic, graphical content –Fast interaction (local operation) –Disconnected operation (convenience, cost- effective) –Intelligent network bandwidth usage Leverage 2.5 million Java developers Availability of development tools –Large selection of available tools Java Technology Benefits

Java Enabled Content for Wireless SMART Wireless Portal Infrastructure Mobile Communication Services Mobile Information Services Mobile Entertainment Services Mobile Enterprise Services Mobile Commerce Services News Stock Updates Weather forecast Directories Location-based services Music Games Video Streaming Productivity Collaboration Work-Force Automation Auctions Banking and Trading Travel Reservations CRM Instant Messaging

J2ME User Initiated Provisioning Advertise App on Web Page User Selects App Descriptor File Name Version Size App URL... Descriptor File Name Version Size App URL... Java Application Jar file “Breakout” game Java Application Jar file “Breakout” game HTTP Network Transfer OTA Handset Downloads Application Handset Downloads Descriptor File OTA

Java Service Vending Machine J2ME CDC J 2 M E C L D C J 2 S E

Major J2ME Adoption Handset Manufacturers Wireless Operators

Major Industry Interest Java Service Vending Machine Industry Players Iplanet Ellipsus Openwave ATG BEA Mobilitec 4thpass

J2ME Home Monitoring What is J2ME Home Monitoring: It is a Java Application for your remote visual monitoring needs. You can monitor your office, warehouse, yard and other places while you are on-the-go. The software package allows you to easily view up-to-the-minute images of the places or things you wish to monitor, right on your mobile device. David Fox won the Motorola-Nextel Developer Challenge at JavaOne by whipping up a program that lets you control lights and appliances at home via cell phone, and stream webcam images to its tiny screen. And, he did it in six hours, and drove away in a BMW Z3 for his efforts. The contest was simple enough -- write an application, any application, for the new Motorola i85s cell phone. From design to prototype to build to deploy, in six hours or less.

J2ME Home Monitoring Hardware and Software Requirements  IBM-compatible personal computer with an attached PC Camera.  JDK1.3.1( base tools needed to develop Java applets and applications)  J2ME emulator for developing and testing the MIDlet ( a set of tools that provides developers with the emulation environment, documentation and examples needed to develop CLDC/MIDP compliant applications, Microsoft Windows 98 Second Edition, Microsoft Windows NT or Microsoft Windows ) 4. PNG Image converter  A web server or a web space for your home page

J2ME Home Monitoring A use case of J2ME Home Monitor 1. The PC Camera can be set to take a picture each 10 seconds. 2. The picture will be placed in a certain directory. 3. The PNG Converter will pick the image from a certain directory and convert it from jpg to png format. 4. The batch file will pick the png image and ftp it to a certain directory on your web server. 5. The Java 2 application allows you to “pull” down the last image uploaded to your website and view it on your mobile device.

J2ME Home Monitoring Batch script :start C:\PROGRA~1\2png\2png.exe s="C:\delete\Source\*.*" d="c:\delete\destination" -q75 -w200 -h100 -prop c:\WINNT\system32\ftp off echo Starting! echo Wscript.Sleep 10000> sleep.vbs start /w wscript.exe sleep.vbs echo Done! del off goto :start d at: Description: Pic2Pic Pro is easy to use and powerful utility for batch conversion of image files using scripts. Description:

J2ME Home Monitoring ftp script open userID Password # directory of destination cd /app cd weblogic cd nunivak cd wlserver6.1 cd config cd eghosh01domain cd applications binary hash #directory of source lcd c:\delete\source put Sample.png bye d at: Description: Pic2Pic Pro is easy to use and powerful utility for batch conversion of image files using scripts. Description:

Testing your application I J2ME application: Consists of two classes VideoTimer Class J MIDlet Class J VideoTimer, which calles a nextImage() method every couple of seconds: nextImage httpconnection.openDataInputStream() datainputstream.readFully(abyte0) createImage() J2J powerful utility for batch conversion of image files using scripts. Description:

class VideoTimer extends TimerTask { VideoTimer() { } public void run() { try { nextImage(); frm.append(image); disp.setCurrent(frm); } catch (Exception ex) { System.out.println("Exception " + ex); } MIDlet Class : The timer is triggered like this: timer = new Timer(); vt = new VideoTimer(); timer.schedule(vt,(long)10,10); It also needs to pass the Form and display obkect to VideoTimer Class

J2ME Home Monitoring Software 1. Java TM 2 SDK, Standard Edition Version 1.3.1_02 Description: 2. Java TM 2 Platform Micro Edition, Wireless Toolkit Pic2PicPro

References n Wireless Java with J2ME in 21 days n Wireless programming with Java 2 Micro Edition n n