| Reply | « Previous Thread | Next Thread » |
|
I have a form to which i add to commands. One of type OK and one of type EXIT.
When the form is displayed on Sun's emulator I have on one soft key the "OK" command and on the second soft key the "EXIT" command. (This is the way I want it to be). However on Nokia,( both emulator and real device), I have on one soft key the "EXIT" command and on the second one I have another command which is labeled "Options" and within the Options I have 2 choices: my OK command and another Command which is labeled "Exit". Does someone have any idea why it happens? |
|
Hi,
I guess you are talking about Series 60 devices and emulators. It is just a feature of Symbian platform. In MIDP applications there is always one exit command by default. So you can't remove that command. Best Regards, JP / Forum Nokia |
|
Thanks for your answer.
You are right; I'm talking about Series 60 devices. So how can I solve this problem if I want to develop a generic application that should work on multiple vendors’ devices? |
|
You can use System.getProperty("microedition.platform") method to check what is the device in use. It should return a String which includes the name of the platform or device and software version, e.g., Nokia6310i/4.70
I haven't tested that in Symbian devices, but I hope it works. Best Regards, JP / Forum Nokia |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|