I’m encountering issues with my app on Android 11 (newer and older versions don’t have this problem). It looks like the touch is not handled by the application, although for each touch I can see the paint methods being called. When touching, the bottom system bar pops up for a split second.
It sounds like this might be a problem with kiosk mode and/or full-screen mode.
Are you using kiosk mode to hide the status bar and navigation bar in your application? Do things work properly if you don’t use kiosk mode?
Are you testing on a physical Android 11 device, or on an emulator? If it’s a physical device, does it have any custom UI/launcher? Are you able to test any other Android 11 devices, and do you see the same behaviour on all of them?
Is your version of JUCE up-to-date? If not, is the issue still present on the develop branch?
Do you see the same behaviour in any of the JUCE examples, such as the DemoRunner application?
Hi reuk, thanks for the suggestions, I’m not that familiar with JUCE for Android. I’ll answer your questions:
I’m not using kiosk mode right now. I’ll try this first and see if it fixes it.
I’m testing on both physical device and emulator, physical device has custom UI (MIUI) and emulated does not. The problem is identical in both situations. I also tried with both physical device with Android 13 and other emulators with newer android version, and they all work fine.
I have yet to try the develop branch, i have JUCE 8.0.10 main branch.
I actually haven’t tried running the examples, my bad, should’ve been the first thing
Thanks for your answers so far. Unfortunately I don’t have any good ideas at the moment, but if you are able to repro the issue with the DemoRunner in an emulator then I can attempt to repro and debug the issue locally.
Another thought: does the issue affect all touches, regardless of their location on screen? Or, does it only affect touches over the navigation bar and/or status bar?
Ok, I did some tests. Unfortunately, kiosk mode doesn’t fix the issue. Same thing happens with the DemoRunner. All touch, anywhere on the screen, seems to not be handled but only on Android 11, newer and older versions work fine.
Tested with both JUCE 8.0.10 release and current develop branch.
I am encountering a critical issue specifically on devices running Android 11. After launching the app, the UI becomes completely unresponsive—no interactions are possible, and the app cannot even be closed using standard system controls. The only way to terminate the app is by restarting the device.
This issue does not occur on other Android versions. For example, the app functions correctly on a device running Android 16. I have reproduced the problem both on an Android 11 emulator and a physical device running the same version.
Notably, this behavior was not present in previous JUCE versions, which suggests a possible regression or compatibility issue introduced in newer updates.
This is a severe problem, as it effectively locks the user’s device and creates a denial-of-service–like experience. I would appreciate guidance on potential causes or solutions to resolve this issue.
Also I had commented the initEdgeToEgde() function in JuceActivity and its working fine too. I feel there is no need for this function in JuceActivity. or is it required and am i missing something ?