Android Question Gamemode on Android

Spright

Active Member
Is there a way to enable Gamemode in B4A? This will show up as one or two additional softbuttons. I'm not sure if it is 100% standard on every device but I've seen it on alot of devices. Is there a way to enable that?
 

Spright

Active Member
Thanks! From what I know, the game mode setting is mainly in the AndroidManifest, and you can't change the mode directly in Java code. Instead, you can check the current mode.

Game mode is optional in API 31 and 32, so not all devices will have it. However, starting from API 33, it's available on all devices.

I'm not very experienced in converting Manifest code to B4A, but here's what should enable the various modes. I'd appreciate any assistance in creating a B4A example code.

 
Upvote 0
Top