mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Unlock orientation again after some native fixes. Experiment with Google App Analytics.
The app analytics only tracks usage, sends no other information about what you do with the app. Interested in opinions if anyone thinks this is too much or maybe should be disabled by default.
This commit is contained in:
1 parent
1eec3a54f1
commit
8489bd15db
6 files changed
+40
-11
No files matched your search
@@ -5,10 +5,12 @@
|
||||
android:versionName="0.9.1"
|
||||
android:installLocation="auto" >
|
||||
|
||||
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="17"/>
|
||||
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="18"/>
|
||||
|
||||
<uses-feature android:glEsVersion="0x00020000"></uses-feature>
|
||||
<!--
|
||||
<uses-feature android:name="android.hardware.screen.landscape" />
|
||||
-->
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
|
||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
|
||||
<uses-permission android:name="archos.permission.FULLSCREEN.FULL" />
|
||||
@@ -30,7 +32,8 @@
|
||||
android:label="@string/app_name"
|
||||
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
|
||||
android:configChanges="orientation|locale|keyboard|keyboardHidden|navigation|fontScale|uiMode"
|
||||
android:screenOrientation="landscape" >
|
||||
>
|
||||
<!-- android:screenOrientation="landscape" -->
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
|
||||
Executable
BIN
Binary file not shown.
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="ga_trackingId">UA-36039055-2</string>
|
||||
<!--Enable automatic activity tracking-->
|
||||
<bool name="ga_autoActivityTracking">true</bool>
|
||||
<!--Enable automatic exception tracking-->
|
||||
<bool name="ga_reportUncaughtExceptions">true</bool>
|
||||
</resources>
|
||||
@@ -1,6 +1,9 @@
|
||||
package org.ppsspp.ppsspp;
|
||||
|
||||
import android.os.Bundle;
|
||||
|
||||
import com.henrikrydgard.libnative.NativeActivity;
|
||||
import com.google.analytics.tracking.android.EasyTracker;
|
||||
|
||||
public class PpssppActivity extends NativeActivity {
|
||||
static {
|
||||
@@ -9,11 +12,26 @@ public class PpssppActivity extends NativeActivity {
|
||||
|
||||
public PpssppActivity() {
|
||||
super();
|
||||
}
|
||||
|
||||
public boolean overrideKeys()
|
||||
{
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onStart() {
|
||||
super.onStart();
|
||||
EasyTracker.getInstance(this).activityStart(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onStop() {
|
||||
super.onStop();
|
||||
EasyTracker.getInstance(this).activityStop(this);
|
||||
}
|
||||
|
||||
public boolean overrideKeys() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
+1
-1
Submodule lang updated: 6d8cc479c8...60b4010fb4.
+1
-1
Submodule native updated: c690d4c0e1...3778d8d8b1.
Reference in new issue
Block a user