I'm running Android 4.0 and my app results in hot links displayed in the output.
Clicking a hot link sends me to another page but clicking the back key totally exits application.
How can I intercept or handle the Android back key to return back to my Tiggzi application?
Backbutton event handler in Tiggzi IDE appears not to fire. What did I miss?
Last Active Activity involves package
com.tiggzi.project32447 which should spell out
public class MyTiggziActivity extends Activity {
...
}
At a lower level, I found some code from the SDK that may help:
@Override
public boolean onKeyDown(int keyCode, KeyEvent event) {
if (keyCode == KeyEvent.KEYCODE_BACK) {
//do what you want
return true;
}
return super.onKeyDown(keyCode, event);
}