| Reply | « Previous Thread | Next Thread » |
|
Hi guyz,
I have got a problem using command when i add two ie(yes and no) command for the alert i get extra "options" command in nokia.Inside the "option" command i get the "no" command.But for "yes" command it works fine.What should i do in order to remove the "options" command i think it comes as default.So what should i do.Sorry if my english is not good. Thanks in advance vignesh |
| vigneshkrish |
| View Public Profile |
| Find all posts by vigneshkrish |
|
I think the option is displayed because of Command type.
Check out how you construct your "no" and "yes" Commands. I think if you use types: Command.BACK, Command.CANCEL or Command.EXIT for the "no" Command it should not display under option menu. |
|
hi i used (no = new Command("no",Command.EXIT,1);) .Still its not working for few of the mobiles. how to make it compatible to all mobile.
|
| vigneshkrish |
| View Public Profile |
| Find all posts by vigneshkrish |
|
Did you try the other "negative" types?
Some devices might always do the "options" and it cannot be disabled. I'm not sure but changing the priority might affect also how the Commands are displayed for the Alert. Try to set the priority to zero for both Commands. Use a negative type for "no" and Command.OK or such "positive" type for "yes" Command. Sorry I can't help further. Just try different types and priorities for the Commands and see if you can get them to work. |
|
change the priority of no command from 1 to 2. set priority 1 for yes command.
thanks, jitu_goldie.. KEEP TRYING.. |
| jitu_goldie |
| View Public Profile |
| Find all posts by jitu_goldie |
|
As per MIDP 2.1 documentation, priorities of Commands with different Command Type is never compared
|
| arpit2agrawal |
| View Public Profile |
| Find all posts by arpit2agrawal |
|
Quote:
thanks, jitu_goldie.. KEEP TRYING.. |
| jitu_goldie |
| View Public Profile |
| Find all posts by jitu_goldie |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Voip Usage Battery Stats N95 8GB | rajil.s | VoIP | 0 | 2008-12-07 19:55 |
| helping my symbian server take more CPU usage | loquendo | General Symbian C++ | 3 | 2008-11-24 22:12 |
| Memory Usage more with S40 devices | muralidharvvk | Mobile Java General | 6 | 2008-06-03 09:23 |
| Usage of hardware video decoder on N93/N95 | sgrohn | Symbian Media (Graphics & Sounds) | 2 | 2007-04-17 09:39 |
| Battery Usage | mikebukhin | Python | 2 | 2006-10-09 00:10 |