- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I wonder how to use the both commands:
intel.xdk.device.managePower(true, false);
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.
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.
Jochen M.
- Tags:
- HTML5
- Intel® XDK
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you including the plugin when you build your app?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi John,
yes, I included the "Device" plugin. I also tried it with including all plugins to get sure, no chance...

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page