- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am having 2 problems with my generated app, the first one is that I cannot find a way to build a "back button" in my header, I am currently using bootstrap. I have found some threads in this forum where some guys posted pictures of a tick box "back button" but I just cannot find it in the Intel sdk gui.
My second problem is how to create a proper "exit" button that completely stop the app rather than using the Android "home" button to come out of the app, as I have noticed that the app still runs in the background.
Thank you,
Ben
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
By default, bootstrap is doesn't provide a back button in the standard header of the UI framework. You can add a back button to the header by dragging a button on the desired page's header and updating the Trigger's action to the previous page manually in the drop down menu.
It is not possible to terminate an app programmatically using JavaScript or a plugin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ben,
If you did as Elroy suggested, you may use this code to return to previous page:
parent.history.back();
Because if you call the page from different places, a fixed page to the button is not the same as back.
It works in my Bootstrap projects.
Regards,
Diego
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you to both of you!
I will add this little js code then, thanks again.
Ben

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