Android デバイスで [戻る] ボタンをダブルクリックすると、アプリがクラッシュします。
私のアプリケーションは、JQuery Mobile と Phonegap 2.0 (Cordova) を使用して構築されました。
私は問題に直面しました。キーボードが表示されるように、ページ上の任意の INPUT フィールドにフォーカスを置きます。デバイスの「戻る」ボタンをダブルクリックします。予想: アプリが以前にアクセスしたページに戻る。実際: アプリがクラッシュする
Eclipse Log Cat は、発生時に次のメッセージを表示します。
11-09 18:20:04.175: D/SoftKeyboardDetect(7399): Ignore this event
11-09 18:20:04.597: D/dalvikvm(136): GC_FOR_ALLOC freed 502K, 11% free 15278K/17159K, paused 149ms
11-09 18:20:04.632: D/CordovaWebView(7399): >>> loadUrlNow()
11-09 18:20:04.675: D/SoftKeyboardDetect(7399): Ignore this event
11-09 18:20:04.707: W/InputManagerService(136): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub
$Proxy@414c0dc0 (uid=10008 pid=7399)
11-09 18:20:04.707: W/InputManagerService(136): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub
$Proxy@414c0dc0 (uid=10008 pid=7399)
11-09 18:20:04.711: W/IInputConnectionWrapper(7399): showStatusIcon on inactive InputConnection
11-09 18:20:04.925: D/OpenGLRenderer(7399): Flushing caches (mode 0)
11-09 18:20:04.988: D/dalvikvm(202): GC_CONCURRENT freed 869K, 32% free 10761K/15623K, paused 2ms+22ms
11-09 18:20:05.425: D/OpenGLRenderer(7399): Flushing caches (mode 1)
11-09 18:20:05.429: D/DroidGap(7399): onDestroy()
11-09 18:20:05.429: D/CordovaWebView(7399): >>> loadUrlNow()
11-09 18:20:05.433: D/CordovaWebView(7399): >>> loadUrlNow()
11-09 18:20:05.457: D/DroidGap(7399): onMessage(onPageStarted,about:blank)
11-09 18:20:05.476: D/Cordova(7399): onPageFinished(about:blank)
11-09 18:20:05.476: D/DroidGap(7399): onMessage(onPageFinished,about:blank)
11-09 18:20:05.476: D/DroidGap(7399): onMessage(exit,null)
誰かがこの問題で私を助けることができますか?
前もって感謝します。