Forums Register Login

Background midlet on startup

+Pie Number of slices to send: Send
hi,
Is it possible to start a background thread in j2me ?
I always do this in BlackBerry.
PLz tell something ! I need it.

Thanks,
Abhijit Chandekar
+Pie Number of slices to send: Send
Sure, just like in J2SE - use Thread and Runnable.
+Pie Number of slices to send: Send
hello,
Yes i can use a thread, but when i close the midlet, the thread gets closed too !
I want to run an midlet thread in the background contineously !

1) Can i run more than 1 midle at a time .
2) Can i have a MIdlet that starts at the start up of the device as in BlackBerry ?

Plz help !

Thanks,
Abhijit Chandekar
+Pie Number of slices to send: Send
It depends on the particular phone.
Some phones like Motorola i730 have an option to start a program when the phone powers on.
You can put an application in the background by calling MIDlet.notifyPaused(). Usually the application continues to execute its threads on the background.

You can autostart application also by using the PushRegistry.

I haven't tried that one, but you should check out what will happen if you don't set a screen in MIDlet.startApp(), but call MIDlet.notifyPaused() instead - this should put the application in the background immediately when it starts.
+Pie Number of slices to send: Send
Hi,
Have you solved the problem of running the midlet in background.
Please tell me code or the solution for the same.
Its urgent..........

Thanks in advance.
+Pie Number of slices to send: Send
hey how is it done using blackberry? can we use j2me for developing apps for it? or do i need an another simulator for it?
+Pie Number of slices to send: Send
Hi,
For j2me we require another simulator.
In blackberry we can make a project to run in background by setting the properties of the project.
+Pie Number of slices to send: Send
i mean what is the simulator used for blackberry...i have downloaded the eclipse plugin for blackberry...is that enough?
+Pie Number of slices to send: Send
Ya that is enough
+Pie Number of slices to send: Send
Do you have any idea as how to run a midlet (J2me) in background after immediately instaling the application.
Goodbye moon men. Hello tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 4141 times.
Similar Threads
want background image in applet
multiple images using css
awt
background?
puzzle of the day
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 05:58:06.