This is my code:
package com.testappmobile; import android.app.Activity; import android.os.Bundle; import android.view.KeyEvent; import android.view.Window; import android.webkit.WebChromeClient; import android.webkit.WebView; import android.webkit.WebViewClient; public class testappmobileActivity extends Activity { final Activity activity = this; private WebView webview; @Override public boolean onKeyDown(int keyCode, KeyEvent event) {
Now they are unable to get the equipment return button to work. The application loads fine, like the page and everything else, but as soon as I click the back button, it crashes and then closes. I searched google for the last 3 hours and found only vague answers with very little information or broken links. Google instructions also sucked in as I am new, and they assume you know a certain amount.
Where should I put the code if it is in the wrong place?
Are there any errors?
Hurrah!
source share