/* 3G, Wifi 연결정보 확인 */ ConnectivityManager cManager; NetworkInfo mobile; NetworkInfo wifi; cManager=(ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE); mobile = cManager.getNetworkInfo(ConnectivityManager.TYPE_MOBILE); wifi = cManager.getNetworkInfo(ConnectivityManager.TYPE_WIFI); if(mobile.isConnected()){ //3G 연결되있음. } if(wifi.isCOnnected()){ //wifi 연결되있음. } /* 네트워크 변화에 따른 감지기능..
private boolean isAirplaneModeOn(Context context) { return Settings.System.getInt(context.getContentResolver(),Settings.System.AIRPLANE_MODE_ON, 0) != 0; } private void setAirplaneMode(Context context, boolean status) { boolean isAirplaneModeOn = isAirplaneModeOn(context); if (isAirplaneModeOn == status) { return; } if (isAirplaneModeOn && !status) { Settings.System.putInt(context.getContentReso..
- Total
- Today
- Yesterday
- submit
- 실시간
- 제이쿼리
- select
- focus
- If
- Drop
- dom
- 인천공항
- javascript
- android
- 비행기
- Filter
- Selector
- html
- Oracle
- jquery
- 항공편
- regexp
- jsp
- attr
- ready
- 기초
- asp
- Next
- centOS
- create
- event
- MySQL
- Click
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |