Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Andrea_P_1
New Contributor I
46 Views

backbutton event on XDK App Preview

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?

Tags (2)
0 Kudos
1 Reply
PaulF_IntelCorp
Employee
46 Views

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

Reply