i was looking for some info about chnaging system setttings , here arte some pointers for links that might help you .
The major class is : /Settings.Secure
http://developer.android.com/reference/android/provider/Settings.Secure.html
allowed adb insatll
http://stackoverflow.com/questions/11985251/how-to-access-device-settings-programmatically
Settings.Secure.putInt(getActivity().getContentResolver(),Settings.Secure.ADB_ENABLED, 1);
How to change programmatically a global setting like 'haptic feedback'?
http://stackoverflow.com/questions/7696934/how-to-change-programmatically-a-global-setting-like-haptic-feedback
Settings.System.putInt(getContentResolver(), Settings.System.HAPTIC_FEEDBACK_ENABLED, 0);
Control default auto rotate screen in my application
http://stackoverflow.com/questions/9718317/control-default-auto-rotate-screen-in-my-application
public static void setAutoOrientationEnabled(ContentResolver resolver, boolean enabled)
{
Settings.System.putInt(resolver, Settings.System.ACCELEROMETER_ROTATION, enabled ? 1 : 0);
}
How to change screen timeout programmatically?
http://stackoverflow.com/questions/10748861/how-to-change-screen-timeout-programmatically
android.provider.Settings.System.putInt(getContentResolver(),
Settings.System.SCREEN_OFF_TIMEOUT, time);
turn-the-volume-to-max
http://stackoverflow.com/questions/15670524/how-to-turn-the-volume-to-max-programmatically-on-android
change keyboard
http://stackoverflow.com/questions/6901097/change-input-method-of-android-device-programatically-android
not possible to change keyboard
GPS - on off
http://stackoverflow.com/questions/4721449/enable-gps-programatically-like-tasker
http://stackoverflow.com/questions/8983772/turn-on-location-providers-programmatically-in-android
No comments:
Post a Comment