How to launch bluetooth settings in android

I want to launch bluetooth settings in android as I want to see whether bluetooth is off or On. This is in a framework and I dont have access to manifest.xml using which I can do.

In my app I need to to check if its off / on and based on that I can click to make it on /off.

Please suggest/help with code

Try https://stackoverflow.com/questions/37259260/android-enable-disable-bluetooth-via-command-line

you can use mobile: shell helper to execute these commands