Android examples for User Interface:Screen Lock
get Lock Screen Timeout
//package com.java2s; import android.content.Context; import android.provider.Settings; public class Main { public static long getLockScreenTimeout(Context context) { return Settings.Secure.getLong(context.getContentResolver(), "lock_screen_lock_after_timeout", 0); }/*from w w w . java2 s .c om*/ }