public void openSettingsScreen ( ) { Intent intent = new Intent ( ) ; intent . setAction ( Settings . ACTION_APPLICATION_DETAILS_SETTINGS ) ; Uri uri = Uri . parse ( "package:" + context . getContext ( ) . getPackageName ( ) ) ; intent . setData ( uri ) ; context . startActivity ( intent ) ; }
open android settings screen for the specific package name