Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function bringApplicationToFront() {
- //here I would use tizen.power.turnScreenOn():
- tizen.power.request("SCREEN", "SCREEN_NORMAL");
- var app = tizen.application.getCurrentApplication();
- //app is launched just in case it is currently in background
- tizen.application.launch(app.appInfo.id, () => {
- tau.openPopup("pageToShow");
- tizen.power.release("SCREEN");
- }
- }
Add Comment
Please, Sign In to add comment