You Are Here:

Community: Developer Discussion Boards

#1 Old Command on a Form - Nokia Vs. Sun emulator - 2003-05-14, 14:02

Join Date: Apr 2003
Posts: 184
zivgr
Offline
Regular Contributor
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?
Reply With Quote

#2 Old Command on a Form - Nokia Vs. Sun emulator - 2003-05-14, 14:17

Join Date: Mar 2003
Posts: 176
Location: Helsinki, Finland
jp_fn's Avatar
jp_fn
Offline
Regular Contributor
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
Reply With Quote

#3 Old 2003-05-14, 14:26

Join Date: Apr 2003
Posts: 184
zivgr
Offline
Regular Contributor
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?
Reply With Quote

#4 Old 2003-05-14, 14:55

Join Date: Mar 2003
Posts: 176
Location: Helsinki, Finland
jp_fn's Avatar
jp_fn
Offline
Regular Contributor
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 With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia