Software Archive
Read-only legacy content
17061 Discussions

backbutton event on XDK App Preview

Andrea_P_1
New Contributor I
219 Views

Hello,

I'm using intel XDK plus XDK App Preview on my Android phone but i've noticed that the "backbutton" event is never fired. If i build the app and then install it for real, all is working correctly. 

On the XDK simulator all is working correctly so it seems a problem on the XDK App Preview.

This is the code

document.addEventListener("backbutton", onBackKey, false); 

function onBackKey() {
        alert("back");
}

Can you confirm?

0 Kudos
1 Reply
PaulF_IntelCorp
Employee
219 Views

This is a known bug in App Preview that should be fixed in a future release of App Preview.

0 Kudos
Reply