Android common system Services

Source: Internet
Author: User

The specified system service can be obtained through the Getsystemservice method of the Activity class .

The Getsystemservice method has only one parameter of type String, which represents the IDof the system service, the ID of the entire the Android system is unique.

The Android SDK defines these IDs in the Android.content.Context class. as follows:

Constants

Accessibilitymanager

Accessibility_service

The UI event is fed back to the user through the registered event listener .

Mainly some view to get click, focus, text changes and other events distribution management, the entire system debugging, problem positioning, but also need the most of this service carefully.

Accountmanager

Account_service

Receive Intents at the time you choose

Activitymanager

Activity_service

Activity Services

Alarmmanager

Alarm_service

Alarm Clock Service

Appopsmanager

App_ops_service

use with Getsystemservice (String) to retrieve a appopsmanager for tracking application operations on the device.

Tracking applications in device operations

Audiomanager

Audio_service

Audio Services . Manage volume, ring mode, and audio routing

Bluetoothadapter

Bluetooth_service

bluetooth Service

Captioningmanager

Captioning_service

use with Getsystemservice (String) to retrieve a captioningmanager for obtaining captioning properties and Listeni ng for changes in captioning preferences.

Clipboardmanager

Clipboard_service

Shear Plate Service

Connectivitymanager

Connectivity_service

Network Connection service. It can be queried by other applications, and can be changed when the network status changes.

Consumerirmanager

Consumer_ir_service

Infrared Signal service. Operation of a device that emits infrared signals

Devicepolicymanager

Device_policy_service

Device Monitoring Service

Displaymanager

Display_service

use with Getsystemservice (String) to retrieve a Displaymanager for interacting with display devices.

Get the Displaymanager interacts with the display device.

Downloadmanager

Download_service

Download Service . HTTP Download Request

Dropboxmanager

Dropbox_service

Get Dropboxmanager instances to record diagnostic logs .

Inputmethodmanager

Input_method_service

Input method of the Management Service program, including when to enable Input method, switch Input Method and so on.

InputManager

Input_service

Get InputManager to interact with the input device .

Notificationmanager

Keyguard_service

Get Notificationmanager to control the keyboard lock

Layoutinflater

Layout_inflater_service

Use the Getsystemservice (String) to retrieve a layoutinflater for inflating layout resources in the context.

Locationmanager

Location_service

GPS Location Services, etc.

Mediarouter

Media_router_service

use with Getsystemservice (String) to retrieve a mediarouter for controlling and managing routing of media.

nfcmanager 

Nfc_service

Span style= "COLOR: #222222" >USE WITH  getsystemservice (String)  to retrieve a  NFCMANAGER FOR USING NFC.

NFC

notificationmanager 

Notification_service

responsible manage and notify background events statusbar glue together, generally in statusbar

Nsdmanager

Nsd_service

use with Getsystemservice (String) to retrieve a nsdmanager for handling management of network Service discovery

PowerManager

Power_service

Power supply Service

PrintManager

Print_service

Print Service . Print and manage Printers and print tasks

Searchmanager

Search_service

Search Service

Sensormanager

Sensor_service

sensor Service

StorageManager

Storage_service

System Storage Service

Telephonymanager

Telephony_service

Telephone Service

Textservicesmanager

Text_services_manager_service

Use the Getsystemservice (String) to retrieve a textservicesmanager for accessing text services.

Uimodemanager

Ui_mode_service

Use the Getsystemservice (String) to retrieve a uimodemanager for controlling UI modes.

Usbmanager

Usb_service

use with Getsystemservice (String) to retrieve a usbmanager for access to the USB devices (as a USB host) and for Cont Rolling this device ' s behavior as a USB device.

Usermanager

User_service

User Management service. Managing users on a multi-user-enabled device

Vibrator

Vibrator_service

Vibrating Device Service

Com.android.server.

Wallpaperservice

Wallpaper_service

Wallpapers Service

Wifip2pmanager

Wifi_p2p_service

wifi-p2p Connection Service

Wifimanager

Wifi_service

WIFI Service

WindowManager

Window_service

System Window Service

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.