Skip to content

Commit

Permalink
0.14.0a
Browse files Browse the repository at this point in the history
  • Loading branch information
fd committed Jan 22, 2017
1 parent 4970fec commit 2f9e22c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion android/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="fluddokt.opsu.android"
android:versionCode="2"
android:versionName="0.13.0a" >
android:versionName="0.14.0a" >

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.INTERNET" />
Expand Down
17 changes: 17 additions & 0 deletions android/src/fluddokt/opsu/android/AndroidLauncher.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package fluddokt.opsu.android;

import fluddokt.ex.DeviceInfo;
import fluddokt.opsu.fake.GameOpsu;
import android.os.Build;
import android.os.Bundle;

import com.badlogic.gdx.backends.android.AndroidApplication;
Expand All @@ -13,6 +15,21 @@ protected void onCreate (Bundle savedInstanceState) {
AndroidApplicationConfiguration config = new AndroidApplicationConfiguration();
config.useImmersiveMode = true;
config.useWakelock = true;
DeviceInfo.info = new DeviceInfo() {
@Override
public String getInfo() {
return
"BOARD: "+Build.BOARD
+"\nFINGERPRINT: "+Build.FINGERPRINT
+"\nHOST: "+Build.HOST
+"\nMODEL: "+Build.MODEL
+"\nINCREMENTAL: "+Build.VERSION.INCREMENTAL
+"\nRELEASE: "+Build.VERSION.RELEASE

;

}
};
initialize(new GameOpsu(), config);
}
}

0 comments on commit 2f9e22c

Please sign in to comment.