Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用以下代码检查是否在 PhoneGap 中单击了 Android 的硬件后退按钮,但它给了我错误Can't open keycharmap file
Can't open keycharmap file
所以我无法检查是否点击了 Android 的后退按钮?
document.addEventListener("backbutton", onBackKeyDown, false); function onBackKeyDown() { alert("Back"); }