User loginSearchNavigationActive forum topics |
A can not use the setExitURI in a Samsung sph-a660??I'm writing a j2me applications for the sph-a660 but when I use the setExitURI from Sprint API the applications throught a error mensage and exit , somebody know why this is happening
|
Re: A can not use the setExitURI in a Samsung sph-a660??
"I'm writing a j2me applications for the sph-a660 but when I use the setExitURI from Sprint API the applications throught a error mensage and exit , somebody know why this is happening"
It may be a bug in the JVM on that handset. Can you post some sample code that will reproduce the problem?
doesn't launching browser System.setExitURI(String url)
I am using the following code to launch the browser in the sprint devices but it doesn't launch the browser.
com.sprintpcs.util.System.setExitURI(url);
midlet.destroyApp(true);
I used the above codes in the both MIDP1 and MIDP2 but it doesn't work.
I am using the API: midlet.platformRequest(url) to launch the browsers in the MIDP2 devices . It launches the browser. MIDP1 not support this URL.
These are happening in the Emulator, i am not sure about the devices. After i get the details in the devices for this issue, i will post the details.
reply me to solve the problem. thanks.
RE: can not use the setExitURI in a Samsung sph-a660??
I had the same problem before. The problem is caused when your apllication is eating up all the memory and while the VM is killing your app it doesn't have enough memory to open the browser after that. Make sure you clean up your application properly when before calling destroyApp().