forked from libretro/mame2016-libretro
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial work to make MAME work on Android [Miodrag Milanovic]
- Loading branch information
Showing
37 changed files
with
2,197 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ | |
/* | ||
/*/ | ||
!/3rdparty/ | ||
!/android-project/ | ||
!/benchmarks/ | ||
!/artwork/ | ||
!/bgfx/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.idea | ||
.gradle | ||
local.properties | ||
*.iml | ||
*.so | ||
*.apk | ||
build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
apply plugin: 'com.android.application' | ||
|
||
android { | ||
compileSdkVersion 18 | ||
buildToolsVersion "22.0.1" | ||
|
||
defaultConfig { | ||
applicationId "org.mamedev.mame" | ||
minSdkVersion 18 | ||
targetSdkVersion 18 | ||
|
||
ndk { | ||
moduleName 'main' | ||
} | ||
|
||
} | ||
|
||
sourceSets.main { | ||
jni.srcDirs = [] | ||
jniLibs.srcDir 'src/main/libs' | ||
} | ||
|
||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Replace org.libsdl.app with the identifier of your game below, e.g. | ||
com.gamemaker.game | ||
--> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="org.mamedev.mame" | ||
android:versionCode="1" | ||
android:versionName="0.137" | ||
android:installLocation="auto"> | ||
|
||
<!-- Android 4.0 --> | ||
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="14" /> | ||
|
||
<!-- OpenGL ES 2.0 --> | ||
<uses-feature android:glEsVersion="0x00020000" /> | ||
|
||
<!-- Allow writing to external storage --> | ||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> | ||
|
||
<!-- Create a Java class extending SDLActivity and place it in a | ||
directory under src matching the package, e.g. | ||
src/com/gamemaker/game/MyGame.java | ||
then replace "SDLActivity" with the name of your class (e.g. "MyGame") | ||
in the XML below. | ||
An example Java class can be found in README-android.txt | ||
--> | ||
<application android:label="@string/app_name" | ||
android:icon="@drawable/ic_launcher" | ||
android:allowBackup="true" | ||
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" | ||
android:hardwareAccelerated="true" > | ||
<activity android:name="MAME" | ||
android:label="@string/app_name" | ||
android:configChanges="keyboardHidden|orientation" | ||
> | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN" /> | ||
<category android:name="android.intent.category.LAUNCHER" /> | ||
</intent-filter> | ||
<!-- Drop file event --> | ||
<!-- | ||
<intent-filter> | ||
<action android:name="android.intent.action.VIEW" /> | ||
<category android:name="android.intent.category.DEFAULT" /> | ||
<data android:mimeType="*/*" /> | ||
</intent-filter> | ||
--> | ||
</activity> | ||
</application> | ||
|
||
</manifest> |
Oops, something went wrong.