diff --git a/shell/android/libs/image-uniload.jar b/shell/android/libs/image-uniload.jar deleted file mode 100644 index c13c71cac..000000000 Binary files a/shell/android/libs/image-uniload.jar and /dev/null differ diff --git a/shell/android/res/layout/change_item.xml b/shell/android/res/layout/change_item.xml deleted file mode 100755 index 2cfdc070f..000000000 --- a/shell/android/res/layout/change_item.xml +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/shell/android/res/layout/toast_layout.xml b/shell/android/res/layout/toast_layout.xml deleted file mode 100755 index d9a5993fe..000000000 --- a/shell/android/res/layout/toast_layout.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/shell/android/res/layout/webview.xml b/shell/android/res/layout/webview.xml deleted file mode 100755 index 6e532a676..000000000 --- a/shell/android/res/layout/webview.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/shell/android/res/values/strings.xml b/shell/android/res/values/strings.xml index 68bf08175..89b0b7f82 100644 --- a/shell/android/res/values/strings.xml +++ b/shell/android/res/values/strings.xml @@ -17,7 +17,6 @@ The Dreamcast Flash is missing. A dump of the Dreamcast Flash is required for this emulator to work. Make sure the Flash file is named "dc_flash.bin" and is in %1$s/data/dc_flash.bin You have to provide a Dreamcast BIOS. The current data folder is assumed. - GitHub Native is unavailable! Boot BIOS Select current folder diff --git a/shell/android/src/com/reicast/emulator/AboutFragment.java b/shell/android/src/com/reicast/emulator/AboutFragment.java index 0c8766dff..e89430215 100644 --- a/shell/android/src/com/reicast/emulator/AboutFragment.java +++ b/shell/android/src/com/reicast/emulator/AboutFragment.java @@ -5,7 +5,6 @@ import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; -import android.app.Activity; import android.content.pm.PackageManager.NameNotFoundException; import android.os.Bundle; import android.support.v4.app.Fragment; diff --git a/shell/android/src/com/reicast/emulator/config/Config.java b/shell/android/src/com/reicast/emulator/config/Config.java index 8499046af..fbecc3810 100644 --- a/shell/android/src/com/reicast/emulator/config/Config.java +++ b/shell/android/src/com/reicast/emulator/config/Config.java @@ -115,32 +115,6 @@ public class Config { JNIdc.dreamtime(DreamTime.getDreamtime()); } - public static void customNotify(Activity activity, int icon, int message) { - LayoutInflater inflater = activity.getLayoutInflater(); - View layout = inflater.inflate(R.layout.toast_layout, - (ViewGroup) activity.findViewById(R.id.toast_layout_root)); - - ImageView image = (ImageView) layout.findViewById(R.id.image); - if (icon != -1) { - image.setImageResource(icon); - } else { - image.setImageResource(R.drawable.ic_launcher); - } - - TextView text = (TextView) layout.findViewById(R.id.text); - text.setText(activity.getString(message)); - - DisplayMetrics metrics = activity.getResources().getDisplayMetrics(); - final float scale = metrics.density; - int toastPixels = (int) ((metrics.widthPixels * scale + 0.5f) / 14); - - Toast toast = new Toast(activity); - toast.setGravity(Gravity.BOTTOM, 0, toastPixels); - toast.setDuration(Toast.LENGTH_SHORT); - toast.setView(layout); - toast.show(); - } - /** * Read the output of a shell command *