Code:
	this.platformRequest("localapp://gallery/show?folder=E:/My Apps/CMS/Test.xhtml");
this.platformRequest("localapp://gallery/show?folder=E:/My Apps/CMS/Test.xhtml");
public class MapTimer extends TimerTask{
public void run() {
        try {
            connected = startConnection();
            sendMessage(this.message);
            System.out.println("Sending message111
public void startServer() throws IOException { UUID uuid = new UUID("1101", false);
//Server
public  void startServer() {
		System.out.println("server is running...");
 public Command getOk_Lastjourney() {
        if (Ok_Lastjourney == null) {
            // write pre-init user code here
            Ok_Lastjourney = new Command("Last Journey", Command.OK, 0);
            // write post-init user code here
public void run() {
        try {
            System.out.println("Sending message...");
            stringItem.setText(stringItem.getText() + "1");
            sendMessage("Query,map,$,start,211,Arsenal,!");
           stringItem.setText(stringItem.getText() + "2");
            String unformattedurl = receiveMessage();
            stringItem.setText(stringItem.getText()
public void run() {
        try {
            System.out.println("Sending
Main class::
public void commandAction(Command command, Displayable displayable)
{        
        if (displayable == form1) {
            if (command == cancelCommand) {               
 exitMIDlet();
                
            } else if (command == okCommand) {
import java.io.IOException; import javax.microedition.lcdui.Command; import javax.microedition.lcdui.CommandListener; import javax.microedition.lcdui.Display; import javax.microedition.lcdui.Displayable;
public void startApp() { try { // establish a socket connection with remote server streamConnection = (StreamConnection) Connector.open(connectString);