| Author |
MEOS & GPS Demos
|
Rashid Mayes
Ranch Hand
Joined: Jan 11, 2006
Posts: 160
|
|
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. Here are two examples of MEOS commands. Ping type "ping <hostname>" on command line to see ping results. $ ping www.java.net Whois To see the whois information for a host, type "whois <hostname>" on the command line $ whois yahoo.com 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
|
Rashid Mayes
http://www.hostj2me.com/ - http://www.worlddeveloper.org/
|
 |
 |
|
|
subject: MEOS & GPS Demos
|
|
|