I need to run Android command like this below from C# Unity3D Android app.
How it can be done?
adb shell am broadcast -a "ACTION_HIDE_STATUSBAR" --ei "ui" 2 --ez "state" true
I need to run Android command like this below from C# Unity3D Android app.
How it can be done?
adb shell am broadcast -a "ACTION_HIDE_STATUSBAR" --ei "ui" 2 --ez "state" true
I ended up by modified UnityPlayerActivity class after exporting to Android project.
After more research it seems that this is the only solution or alternatively it can be done via java plugin in similar way.