Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
17060 Discussions

Wake lock and hideStatusBar question

Jochen_M_1
Beginner
565 Views
Hi,
 
I wonder how to use the both commands:
 intel.xdk.device.managePower(true, false);
 intel.xdk.device.hideStatusBar;
 
In the emulator they work fine, but when I build the app and try it on android and iOS, it will not work here.
I also tried to use these commands inside onDeviceReady, but it will only fire inside the emulator but not inside the app on the device.
 
Do you have a hint for me or could you show me some lines of example code how to implement it?
 
Best Regards,
Jochen M.
0 Kudos
2 Replies
John_H_Intel2
Employee
565 Views

Are you including the plugin when you build your app?

0 Kudos
Jochen_M_1
Beginner
565 Views

Hi John,

yes, I included the "Device" plugin. I also tried it with including all plugins to get sure, no chance...

0 Kudos
Reply