I'm developing a J2ME application, which should start from a WAP page. I mean, the user client opens the WAP browser, goes to the application specific wml page in the mobile, clicks in the link ýstart applicationý and then, the J2ME application starts. Is this possible?
If it is impossible, I have though the following solution:
The user client starts the J2ME application. The J2ME application does nothing excepting make an HTTP request to the WEB server where the wml pages are located. The WEB server doesnýt send the HTTP response still. Then, the user client opens the WAP browser, keeping the J2ME application in background listening to the HTTP response from the WEB server. The user client goes to the application specific wml page in the mobile, clicks in the link ýstart applicationý, which inform to the WEB server that the user client wants to start the application. Then, the WEB server sends back the previous HTTP response to the J2ME application, which goes to foreground when it receives the HTTP response. Can a J2ME application listen to an HTTP response in background and goes to foreground when it receives the HTTP response?
In order to avoid the user client to start the application before opening the WAP browser, I have though in the following solution. Start the J2ME application when the mobile is switched on. The J2ME application will be in start-up programs of the mobile, like in Windows. Is this possible?
Thanks in advance