Henrik Rydgård
0d3d642371
It works!
2017-06-05 23:09:12 +02:00
Henrik Rydgård
0bf92a4fa2
Font rendering code runs but it sure ain't right
2017-06-05 23:09:11 +02:00
Henrik Rydgård
d9c43642c2
Fix assorted JNI issues, the calls work now.
2017-06-05 23:09:10 +02:00
Henrik Rydgård
871260fcc4
Start sketching native text rendering for Android
2017-06-05 23:09:04 +02:00
Henrik Rydgård
2391c0edd5
Fix reported null pointer error in the Java code
2017-06-04 11:51:24 +02:00
Henrik Rydgård
01635a5cd6
Android: Just like on Windows, prompt to restart when changing graphics backend.
2017-05-31 11:12:11 +02:00
xiushu
c3a6d5a392
Remove blank line
2017-04-30 02:09:52 +08:00
xiushu
93536997cd
UI: Allow choosing bgs (android)
2017-04-30 02:06:37 +08:00
Henrik Rydgard
908193e894
Rework Android lost/restore lifecycle again. Can autorotate screen without crashing again. Should help #9295 and maybe #8906 .
2017-03-18 15:21:26 +01:00
Unknown W. Brackets
b23043666a
Support newer S5+ Touchwiz power saving setting.
2016-10-08 09:51:46 -07:00
Unknown W. Brackets
a8d37a01e6
Ignore Sense/Touchwiz power saving on L or higher.
2016-10-08 09:43:56 -07:00
Henrik Rydgard
97b60a23a8
Assorted failsafes around PowerSaveModeReceiver
2016-09-18 23:11:41 +02:00
Unknown W. Brackets
279a8e2658
Remove unused import.
...
This was migrated to the PowerSaveModeReceiver class.
2016-09-11 05:18:36 -07:00
Unknown W. Brackets
98b523ea2c
Android: Shutdown on finish().
2016-09-10 21:58:43 -07:00
Henrik Rydgård
ef95bb05cc
Merge pull request #8871 from unknownbrackets/android-power
...
Detect power saving mode on Android
2016-08-06 12:16:01 +02:00
Unknown W. Brackets
f366f09c4c
Android: Detect pre-L power saving.
...
Sometimes users don't realize these are on, and they can slow down
gameplay. Of course, they can also save battery.
2016-07-24 17:29:04 -07:00
Unknown W. Brackets
1f7a137926
Android: Detect and report power save mode.
...
This shows a message when it's on, or when power drops to low.
2016-07-24 17:04:06 -07:00
Henrik Rydgard
526d1682ae
Update to target Android SDK platform 24 (N)
2016-07-25 01:05:13 +02:00
Unknown W. Brackets
76cd5bf876
Android: Use the game title as the shortcut title.
...
This way when you have more than one, it's not just "PPSSPP" on each of
them.
2016-07-23 14:12:14 -07:00
sails
ecf57bdc23
Update NativeActivity.java
...
fix javaGL bug
2016-07-21 09:31:44 +08:00
Unknown W. Brackets
4d4e334fc4
Vulkan: Allow C++ to determine use of JavaGL.
...
Based on config - this way we can enable Vulkan more easily even before we
determine why some devices don't like C++ EGL for GLES.
2016-07-01 14:05:15 -07:00
Unknown W. Brackets
02db45982a
Pass Build.BOARD from Java, avoid lookup.
...
Fixes arm64 build with r10, but is ugly coupling.
2016-05-27 20:11:25 -07:00
xiushu
6189e3130e
fix inputbox
...
#8642 break #8607 ,now fixed
2016-03-20 08:40:25 +08:00
Henrik Rydgard
92c6810954
Not using a GL config chooser seems to be the way to go, really, and was the way we used before the EGL attempt.
2016-03-17 22:22:57 +01:00
Henrik Rydgard
5ad772a8bf
Further fixes to Java EGL support
2016-03-17 19:42:59 +01:00
Henrik Rydgard
2880e09dd2
Fix touch scaling with Java EGL
2016-03-17 18:59:43 +01:00
Henrik Rydgard
0d6c8df4ba
Restore Java EGL support, while keeping the new stuff around as an option.
...
Did not restore the old DPI code, reusing the new instead.
To switch back to C++ EGL, change javaGL in NativeActivity.java.
Fixes issue #8638 and hopefully others like #8618 .
2016-03-17 18:49:18 +01:00
xiushu
7a2b4eea0a
Add inputbox for android
...
For inputting IP and NickName ,or something else in future on Android
2016-02-21 11:23:00 +08:00
xiushu
2ba902368e
Add open action for android
...
Open games from file explorer directly.
2016-02-20 19:23:32 +08:00
Henrik Rydgard
2a77ab71aa
Some attempts at increasing reliability of render thread management.
2016-02-17 17:08:48 +01:00
Henrik Rydgard
67282cafc4
Apply some minor changes from #8592
2016-02-15 18:21:29 +01:00
Henrik Rydgard
0be9a520ef
Remove hack in render loop thread
2016-02-15 00:19:17 +01:00
Henrik Rydgard
bfa5091c41
Exit cleanly on Android instead of hard-exiting using exit(0).
2016-02-13 19:57:05 +01:00
Unknown W. Brackets
71e41d4adb
Android: Restart the render loop on wake.
2016-02-07 16:33:14 -08:00
Henrik Rydgard
b39206f922
Use the app cache directory on Android for the shader cache.
2016-01-17 22:15:23 +01:00
Henrik Rydgard
27c71aa340
Get rid of the unused "InstallID"
2016-01-17 15:46:15 +01:00
Unknown W. Brackets
272d21d702
Send initially held permission grants at start.
...
This way we don't have to re-ask for things we already have.
2015-12-22 22:29:11 -08:00
Henrik Rydgard
732b1239e7
Add some permission infrastructure, add an ugly button that asks you to grant STORAGE permission if necessary.
2015-12-17 22:41:50 +01:00
Henrik Rydgard
2d22088f38
Update Android target, support "Runtime Permissions" in Android 6.0+ (Marshmallow).
...
Currently this is the absolute minimum required. Will later add a button to re-request the
permission if it's lost, but at least we do that on application startup.
Storage is the only permission we need that's not auto-granted.
2015-12-17 20:27:25 +01:00
Henrik Rydgard
ebf9bd74c6
Minor fixes
2015-12-17 19:38:23 +01:00
Henrik Rydgård
0e1e52242f
Remove unused import
2015-12-16 22:25:01 +01:00
Henrik Rydgard
db633aa377
Lots more debug logging. Terrifying compatibility hack for devices that for some reason create 16-bit buffers.
...
Like Xperia Play.
2015-12-16 21:37:39 +01:00
Henrik Rydgard
ac202c16c3
Screen rotation works correctly on startup on older Android devices now.
...
Changing in-menu still has issues because the activity will not restart.
2015-12-16 19:43:39 +01:00
Henrik Rydgard
13515bf235
Use the hardware scaler again on Android. Move all DPI handling code from java to app-android.cpp.
2015-12-16 14:52:44 +01:00
Henrik Rydgard
04f8bffa29
Use EGL from native code to initialize and run OpenGL on Android.
...
Should be more robust, allows initializing desktop GL if available, and lets us take control of the render loop.
2015-12-16 10:57:24 +01:00
Henrik Rydgard
2083f22dce
Refactor (android): Decouple frame commands from Renderer object.
...
Minor cleanup in preparation for EGL.
2015-12-13 22:44:55 +01:00
Henrik Rydgard
ee4261cf5c
Attempt to address some auto-reported crashes on Android
...
Still confused about the SignalSema/WaitSema ones.. they are still getting reported at high frequency
2015-11-25 12:05:32 +01:00
Henrik Rydgard
a0cff13efa
Fix an auto-reported null pointer exception in NativeActivity, plus a couple of potential others.
...
Must be rare though..
2015-11-25 11:39:56 +01:00
Henrik Rydgård
7faf1cb3f3
Fix a couple of crashes
2015-10-06 19:07:28 +02:00
Henrik Rydgård
9636e4cef4
Fix assorted key mapping issues affecting Shield and probably pads in general on Android. See #7976
2015-09-17 22:46:59 +02:00