get Keyguard Manager - Android android.view.inputmethod

Android examples for android.view.inputmethod:KeyBoard

Description

get Keyguard Manager

Demo Code

import android.app.KeyguardManager;
import android.content.Context;

public class Main {

  public static final KeyguardManager getKeyguardManager(Context context) {
    return (KeyguardManager) context.getSystemService(Context.KEYGUARD_SERVICE);
  }/*from   ww w .j ava 2 s  .c o m*/

}

Related Tutorials