@@ -0,0 +1,756 @@
+package org.barbon.acash.compat;%0A%0Aimport android.app.ListActivity;%0Aimport android.app.Dialog;%0A%0Aimport android.os.Bundle;%0A%0Aimport android.view.KeyEvent;%0A%0Apublic class CompatListActivity extends ListActivity %7B%0A    // emulate onBackPressed for Android 1.6%0A    @Override%0A    public boolean onKeyDown(int keyCode, KeyEvent event) %7B%0A        if (keyCode != KeyEvent.KEYCODE_BACK)%0A            return super.onKeyDown(keyCode, event);%0A%0A        onBackPressed();%0A%0A        return true;%0A    %7D%0A%0A    public void onBackPressed() %7B%0A        finish();%0A    %7D%0A%0A    // Android 1.6 compatibility%0A    protected Dialog onCreateDialog(int id) %7B%0A        return onCreateDialog(id, null);%0A    %7D%0A%0A    protected Dialog onCreateDialog(int id, Bundle bundle) %7B%0A        return null;%0A    %7D%0A%7D%0A

Add Android 1.6 compatibility class for ListActivity.