Forums Register Login

How to refresh the display?

+Pie Number of slices to send: Send
Hi,
Is there any way to refresh the display after menu re-generation? I'm using "removeCommand()" and "addCommand()"-methods after each network request, but somehow these menus aren't visible even these are there (reacts to push). I'm able to get display refreshed if the last statement after menu re-generation uses Alert-class like "New menu generated", but this way to confirm the generation do not fit to orginal UI-design...
This problem occurs only with Nokia's emulator (Series 60 MIDP Concept SDK Beta 03) and Sun's similar works fine. Is this a bug in Nokia's emulator, or is there a suitable method to solve the problem? I'm been trying to take a look into each potential API-classes, but haven't found any what could work.
Network requests and menu generations are located in own thread "to avoid potential deadlock".
Thanks in advance.
-Jorma-
+Pie Number of slices to send: Send
Note the emulator is "Concept Beta":
"Concept": It is not based on the code for the actual device. Instead it is pure X86 emulator code.
"Beta": It is not a final product.
So, there will be bugs. I'd be curious whether the 3650 device behaves the same way.
+Pie Number of slices to send: Send
Yes, it would be nice to know, but don't have emulator for 3650 and I didn't find it by short look into the download page on www.forum.nokia.com.
My Nokia Developer suite offers two emulators, one for that Beta concept and one for 7210. Unfortunatelly, my applicaton do not work with 7210 by reason; "Cannot create class in system package".
I'm not sure what causes this error on 7210 emulator, but assuming the emulator to be reserved for testing of older phones with definitions of MIDP 1.0?
-Jorma-
+Pie Number of slices to send: Send
You're right: the Nokia 7210 emulator only supports MIDP 1.0 (since the Nokia 7210 phone only supports MIDP 1.0). If your application is a MIDP 2.0 application, it won't run in the Nokia 7210 emulator. If it did run, it wouldn't be a proper emulation
I don't always make ads but when I do they're tiny
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 963 times.
Similar Threads
Drop down menu and page refresh
Dynamic menu generation
Infinite loop using LookupDispatchAction
Drop down menu and page refresh
disabling session time outs
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 05:39:50.