valef
b2c3ee8d57
- Added jshortcutParam parameter to libnative_NativeApp_init.
...
- If shortcut_param is not empty, pass it as additional varargs argument to NativeInit() method.
const char *argv[3] = {app_name.c_str(), shortcut_param.c_str(), 0};
NativeInit(2, argv, user_data_path.c_str(), externalDir.c_str(), installID.c_str());
- NativeInit() is expected to treat extra argument as boot_filename, which in turn will start game immediately.
2014-01-06 13:36:40 +07:00
valef
234344983a
- Added key to get shortcut parameter.
...
public static final String SHORTCUT_EXTRA_KEY = "org.ppsspp.ppsspp.Shortcuts";
- Added code to get shortcut parameter from intent.
String shortcutParam = getIntent().getStringExtra(SHORTCUT_EXTRA_KEY);
- Call NativeApp.init() with shortcutParam argument.
NativeApp.init(dpi, deviceType, languageRegion, apkFilePath, dataDir, externalStorageDir, libraryDir, shortcutParam, installID, useOpenSL);
2014-01-06 13:36:40 +07:00
valef
87533085fa
Added 'shortcutParam' argument to init() method declaration.
...
public static native void init(int dpi, String deviceType, String languageRegion, String apkPath, String dataDir, String externalDir, String libraryDir, String shortcutParam, String installID, boolean useOpenSL);
2014-01-06 13:36:40 +07:00
Henrik Rydgård
432fa7e6e6
Workaround for broken key repeat on Ouya - it sends repeats with a different device ID
2014-01-05 12:49:40 +01:00
Henrik Rydgård
ce20273f5f
Add showTwitter command (Android-only).
2013-12-19 14:27:16 +01:00
Henrik Rydgård
1ef531ec9c
Add some infrastructure to handle screen resizes that don't lose the device
2013-12-16 16:19:40 +01:00
Henrik Rydgård
d20700d5bb
Android: Add "sharetext" action
2013-12-11 18:04:23 +01:00
Henrik Rydgard
ca6355d859
Turn EGLConfig back on on Ouya
2013-12-10 23:43:43 +01:00
Henrik Rydgård
d0d5be2c5d
Logspam reductions
2013-12-09 13:44:47 +01:00
Henrik Rydgård
dc1594ad3d
Turn off kitkat immersive mode. Can't get it to work consistently.
2013-12-09 13:12:22 +01:00
Sacha
9e5df6028a
Add InputBox as a platform-specific system function instead of a host function. Enable it on all Qt platforms.
2013-12-08 20:15:09 +10:00
Henrik Rydgard
4e2212de40
Skip the EGLConfigChooser. Seems to choose a suboptimal mode on several phones.
...
We just have to live with no stencil in non-buffered. Play buffered.
2013-12-07 15:20:11 +01:00
Henrik Rydgård
6730d2d244
Android: set immersive mode on "configChanges"
2013-12-06 15:01:52 +01:00
Henrik Rydgard
3c8374d304
Add command to invoke android's "Share picture" functionality
2013-12-04 17:59:16 +01:00
Henrik Rydgard
563e005101
Android: Allow sending generic string messages out to Java.
...
Implement stubs for other platforms.
2013-12-04 17:38:37 +01:00
Henrik Rydgard
9140f10e2f
Take out nonsensical DPI adjustment (android).
...
It had bad effects when combined with kitkat immersive mode.
2013-12-04 12:41:37 +01:00
Unknown W. Brackets
26821c5f9f
Typo, buildfix, warning fix.
2013-11-27 22:34:52 -08:00
Sacha
8186bebce0
Oops, cast to float.
2013-11-28 16:04:37 +10:00
Sacha
bd6a94c6ec
Use better DPI on Android.
2013-11-28 15:44:01 +10:00
Henrik Rydgård
d7e3173f55
Kitkat Immersive Mode. Need to upgrade the buildbot before we can merge this.
2013-11-25 14:38:12 +01:00
Henrik Rydgård
cf895f95d7
Didn't mean to upgrade the project yet.
2013-11-13 17:09:52 +01:00
Henrik Rydgard
726471f665
Add my_isnanorinf.
2013-11-12 13:38:36 +01:00
Henrik Rydgard
8572251198
Reverse the Moga Pro version check to check for not non-pro instead.
...
May help dpad not working on some Pro's, if they have some new version numbers.
2013-11-05 20:49:59 +01:00
Henrik Rydgard
c374c6abda
Prefer modes with 24-bit or 20-bit depth to 16-bit.
2013-10-31 01:27:47 +01:00
Sacha
60f1d1e3cb
Clean up of unused or redundant code and comments.
2013-10-29 11:24:10 +10:00
Henrik Rydgard
214de3a993
Fix back button behaviour on Android Honeycomb and later.
2013-10-28 11:24:03 +01:00
Henrik Rydgård
01b8cda080
Make the EGL config chooser actually prefer modes with no alpha.
...
Should finally take care of #4272 .
2013-10-27 10:11:22 +01:00
Henrik Rydgård
ad85b8e69d
Ignore alpha when creating the backbuffer. Getting weird problems on some android devices.
...
Add BroadCom to GPU vendors
2013-10-25 12:35:53 +02:00
Henrik Rydgard
26946b52e7
Terribly ugly workaround for destination alpha issues on Mali. Fixes #4272 .
2013-10-24 01:14:41 +02:00
Henrik Rydgard
b16b67d8b6
Fix OpenGL context creation on PowerVR
2013-10-10 23:55:59 +02:00
Henrik Rydgård
9aa30a69f6
Add support for standard Android haptic feedback, which does not require the VIBRATE permission.
2013-10-10 16:00:30 +02:00
Henrik Rydgård
ac1620137f
Android: Add simple haptic feedback support
2013-10-10 16:00:30 +02:00
Henrik Rydgard
c0c8df6155
Look for a format with stencil even if we only found RGB565.
2013-10-10 11:08:39 +02:00
Henrik Rydgard
357d224414
Use an EGLConfigChooser to give us more control over which display config to use.
2013-10-10 11:08:38 +02:00
Henrik Rydgård
67bea6c7ed
Run gl_lost() on gl shutdown
2013-10-09 16:08:02 +02:00
Henrik Rydgård
3778d8d8b1
Android: Reorganize the display resize stuff. Assorted cleanup and fixes.
2013-10-09 15:29:02 +02:00
Siddharth
6f95936da9
ppsspp on Android gains and loses audio focus
2013-10-06 18:09:42 +05:30
Siddharth
6615ad5dd6
fixed the 4xMSAA crash on android
2013-10-01 16:14:51 +05:30
Henrik Rydgard
9e31751386
Reduce Moga logging
2013-09-26 14:44:03 +02:00
Henrik Rydgard
46af0731fc
Android: Add native Moga controller support
2013-09-26 14:25:58 +02:00
Henrik Rydgard
f1b7580be8
Workaround some obscure crashes reported through Android crash reporting
2013-09-11 22:16:07 +02:00
Henrik Rydgard
fee82ce288
Fetch language/region code, fix bug in VFSGetFileInfo
2013-09-04 12:07:05 +02:00
Henrik Rydgard
1790bd8b7e
Replace System_GetName with System_GetProperty so we can return more info
2013-09-04 11:28:19 +02:00
PewnyPL
f12d369b51
An (ugly) hack to make some Bluetooth Gamepads to work.
...
The problem with BT gamepads is the fact they tend to show up as multiple gamepads, while PPSSPP only recognises two. Until the whole gamepad code is reworked, this will allow them to work by always returning inputPlayerA in case of an additional recognised gamepad. Fixes issue #3314
2013-08-30 18:34:21 +02:00
Henrik Rydgard
92dd9cd798
Android: Don't discard "non-game" keys when listening for modern style key events.
2013-08-21 22:09:30 +02:00
Henrik Rydgard
89361d002f
Bugfixes
2013-08-18 00:39:21 +02:00
Henrik Rydgard
0a857fe4a1
Add a way to get the "System name" (will be mostly useful for android). Tweaks.
2013-08-18 00:14:25 +02:00
Henrik Rydgard
2175499217
Typo fixes
2013-08-17 23:49:33 +02:00
Henrik Rydgard
4a1c3c4f83
More UI stuff, add glMapBuffer
2013-08-16 16:47:25 +02:00
Henrik Rydgard
46f7415bc9
Various UI key navigatation improvements
2013-08-12 23:07:27 +02:00