Back to project page UltraExplorer.
The source code is released under:
GNU General Public License
If you think the Android project UltraExplorer listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.mirrorlabs.filebrowser; /*from www . j a v a2s . c o m*/ import android.view.KeyEvent; public abstract class BaseActivity extends FilebrowserULTRAActivity { @Override public boolean onKeyDown(int keyCode, KeyEvent event) { if ((keyCode == KeyEvent.KEYCODE_BACK)){ this.finish(); return false; } return super.onKeyDown(keyCode, event); } }