Skip to main content

MEOS & GPS Demos

1 reply [Last post]
astrientlabs
Offline
Joined: 2006-09-14

Here are few more of my weekend diversions, complete with source code and ready to run.

MEOS

MEOS emulates a command line, similar to what you would see on a Linux or Unix system. Commands are implemented locally and remotely. The client will attempt to find a command handler locally, contacting the server if it is unable to find an appropriate handler.

May be interesting because of:

Text input widget
Line wrapping
Client/Server communication
Job framework (Non-busy wait multithreading)
URL Encoder
Property file parser

Details and source code available on

http://hostj2me.com/appdetails.html?id=2519

GPS Demo

The GPS Demo use the Location API to find the current coordinates of the device. Once the coordinates are obtained, it communicates with Yahoo Maps (REST) to obtain a URL reference to a map image for the corresponding location. The client downloads the map image, proxied through the HostJ2ME.com image service, and displays it on the device.

May be interesting because of:

Location API
XML parsing
Job framework (Non-busy wait multithreading)
URL Encoder

Details and source code available on

http://hostj2me.com/appdetails.html?id=2875

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
astrientlabs
Offline
Joined: 2006-09-14

Forgot to add, here are two examples of MEOS command.

Ping

type "ping " on command line to see ping results.

$ ping www.java.net

Whois

To see the whois information for a host, type "whois " on the command line

$ whois yahoo.com