Search code examples
java-memidp

midlet.platformRequest in j2me


I am developing a game using j2me. When level is completed Im calling a url (ie: www.google.com) using midlet.platformRequest.In Some of nokia devices, it is redirected to browser, when I exit from browser, it comes back to game. But it's not working in samsung device.

 this.emidlet.platformRequest("https://www.google.co.in/");

how to solve this problem? Is midlet.platformRequest supported in all devices?


Solution

  • From the MIDlet.platformRequest() javadoc:

    Returns: true if the MIDlet suite MUST first exit before the content can be fetched.