2012년 6월 25일 월요일

getSystemService....

WINDOW_SERVICE"window"The top-level window manager in which you can place custom windows. The returned object is a WindowManager.
LAYOUT_INFLATER_SERVICE"layout_inflater"A LayoutInflater for inflating layout resources in this context.
ACTIVITY_SERVICE"activity"A ActivityManager for interacting with the global activity state of the system.
POWER_SERVICE"power"A PowerManager for controlling power management.
ALARM_SERVICE"alarm"A AlarmManager for receiving intents at the time of your choosing.
NOTIFICATION_SERVICE"notification"A NotificationManager for informing the user of background events.
KEYGUARD_SERVICE"keyguard"A KeyguardManager for controlling keyguard.
LOCATION_SERVICE"location"A LocationManager for controlling location e.g., GPS updates.
SEARCH_SERVICE"search"A SearchManager for handling search.
VIBRATOR_SERVICE"vibrator"A Vibrator for interacting with the vibrator hardware.
CONNECTIVITY_SERVICE"connection"A ConnectivityManager for handling management of network connections.
WIFI_SERVICE"wifi"A WifiManager for management of Wi-Fi connectivity.
INPUT_METHOD_SERVICE"input_method"An InputMethodManager for management of input methods.
UI_MODE_SERVICE"uimode"An UiModeManager for controlling UI modes.
DOWNLOAD_SERVICE"download"A DownloadManager for requesting HTTP downloads



I am looking for way to contorl whold system in app side.

getSystemService is very important keyword.



mWindowManager = (WindowManager)mContext.getSystemService(Context.WINDOW_SERVICE);

is needed to me.

댓글 없음:

댓글 쓰기

국정원의 댓글 공작을 지탄합니다.

친칠라 법칙 ⑬ (완결) — 2026년의 예산표: 사전학습 : 사후학습 : 테스트타임

친칠라는 하나의 예산을 두 축(N, D)에 나누는 문제였다. 2026년은 세 개의 예산을 나누는 문제다 — 사전학습, 사후학습(RL), 그리고 테스트타임. 마지막 편은 이 셋의 비율을 재고, 시리즈가 열두 편 내내 미뤄 둔 계산을 마무리한다. 서빙...