How to open the device setting on home button click - android -
want open setting of device when click on home button in device tried code when app start open device setting automatically
@override public void onattachedtowindow() { super.onattachedtowindow(); this.getwindow().settype(windowmanager.layoutparams.type_keyguard); startactivityforresult(new intent(android.provider.settings.action_settings), 0); }
how make code open setting of device when home key button clicked ?
Comments
Post a Comment