android-管理器类型




  1. 通知管理器:   (NotificationManager)getSystemService(Context.NOTIFICATION_SERVICE);
  2. 键盘管理器:  (InputMethodManager) getSystemService(INPUT_METHOD_SERVICE);
  3. 传感器管理器:(SensorManager)getSystemService(Context.
  4. 视频管理器:  (AudioManager)getSystemService(Context.AUDIO_SERVICE);
  5. 闹钟管理器:  (AlarmManager)getSystemService(Context.ALARM_SERVICE);   ---> 闹钟系统 使用,通过服务来监听触发事件。
  6. Sim卡管理器: (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE);
  7. 网络管理器:  (ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE);
  8. 窗口管理器:  (WindowManager)getSystemService(Context.WINDOW_SERVICE);
  9. 活动管理器:  (ActivityManager)getSystemService(Context.ACTIVITY_SERVICE);
  10.剪切板管理器:(ClipboardManager)getSystemService(Context.CLIPBOARD_SERVICE);
  11.定位管理器:  (LocationManager)getSystemService(Context.LOCATION_SERVICE);
  12.电源管理器:  (PowerManager)getSystemService(Context.POWER_SERVICE);
  13.搜索管理器:  (SearchManager)getSystemService(Context.SEARCH_SERVICE);  ????
  14.  (AccountManager)getSystemService(Context.ACCOUNT_SERVICE);
  15.  (AccessibilityManager)getSystemService(Context.ACCESSIBILITY_SERVICE);
  16.  (DevicePolicyManager)getSystemService(Context.DEVICE_POLICY_SERVICE);
  17.  (KeyguardManager)getSystemService(Context.KEYGUARD_SERVICE);
  18.  (UiModeManager)getSystemService(Context.UI_MODE_SERVICE);
  19.  (WifiManager)getSystemService(Context.WIFI_SERVICE);

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值