phone locked -> application still running?

Bassaidai

Member
Licensed User
Longtime User
Hi,

is there a way to make sure an application keeps on running while the device is locked? (of course not shutdown, but locked with switched off screen).

I tried to search for "background" and came across pretty interesting stuff (like switching the today screen to the front), but nothing for "locked mode running"...

Any idea?

Thanks
Joerg
 

sitajony

Active Member
Licensed User
Hi, Normaly it's running when you're on the LockScreen...
You can make a MsgBox() every 1min (by example), you run it and you lock your screen and you'll see ;)
But You can't show any Form when it's locked...
Good Luck...
 
Hi.
I tried it on my RoverPC.The message box won't pop up while the screen is off.
As soon as I turn the screen on I get the message box.
:sign0136:
 

Bassaidai

Member
Licensed User
Longtime User
yep, doesn't pop up! I tried that before and afterwards decided to ask here. I couldn't find a way to keep the application alive while in lock mode.

Any idea? Maybe with the threading library? Is it technically possible?

Thanks
Joerg
 

sitajony

Active Member
Licensed User
You mean in Sleep mode or Lock mode? Cause in Lock mode all programs stay in running normaly but in Sleep Mode (Screen Off) all process are in sleeping...
There's a wakeup function with Door lib I think but not sure...
Sorry if I can't help you anymore...
Good Luck!
 

Bassaidai

Member
Licensed User
Longtime User
hi Chan,

thanks for pointing me to the notifiy-library.

I'm not sure if I fully understand the concept, but it seems notify covers events in case of status-changes on the device. Does it also keep the application running in the background while in sleep-mode or even lock-mode?

(some basic services have to be running even in lock-mode, otherwise a buttonclick wouldn't wakeup the device... is there a way to put the basic4ppc application into that level/layer?)


Thanks
Joerg
 
Top