Need help with opening Android settings programmatically

hi folks!

I’m not even know java and android.

Here is code for Java :

startActivityForResult(new Intent(android.provider.Settings.ACTION_SETTINGS), 0);

how i can get something in c# unity?

Thanks!

You can probably call this from C# , but it will be a very long and ugly code.
The better (and easier) way of doing it, is to create some custom Java code that will perform this, but will have a simpler signature. Then, call this method from Unity.

Calling Java code from Unity (C#) is done using the AndroidJavaObject and AndroidJavaClass classes.