Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

backbutton event on XDK App Preview

Andrea_P_1
New Contributor I
428 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
428 Views

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

0 Kudos
Reply