Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

When the phone is idle for a few seconds, the screen goes all black, the devices is locked, the app is suppend and returns to OEM.

My app needs to be with LCD on all the time. I use IDisplay_BackLight(m_pIDisplay, true) on every frame of my video game but is useless.

I remove the Keyguard event but i didn't work (return true on my HandleEvent method).

I'm going to look for some LCD Libraries and/or functions but if you got any idea on how to help it would be great.

The device is BrewMP but is developed on BREW SDK 3.1.5 and I don't know if that cause the issue.

Actually that is software keyguard(lock) and is not related to backlight so backlight APIs won't work. Did you try to see if your got keyguard event because software lock may not send keyguard event?

Actually that is software keyguard(lock) and is not related to backlight so backlight APIs won't work. Did you try to see if your got keyguard event because software lock may not send keyguard event?

It has the keyguard event, I handle some app propierties in that event (a DBGPRINTF appears on that event). I also removed the keyguard event and the screen is still turning off (actually fadding in black with light on). With or without the keyguard event.

It has the keyguard event, I handle some app propierties in that event (a DBGPRINTF appears on that event). I also removed the keyguard event and the screen is still turning off (actually fadding in black with light on). With or without the keyguard event.

on some devices u cannot control it from the App, like HTC, this may be only changed via OEM Menu -> Settings -> LCD timeout value.
For others handling EVT_KEYGAURD & EVT_APP_NO_SLEEP should work.

on some devices u cannot control it from the App, like HTC, this may be only changed via OEM Menu -> Settings -> LCD timeout value.
For others handling EVT_KEYGAURD & EVT_APP_NO_SLEEP should work.