일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 안드로이드
- Bluetooth 스캔
- bottomNavigation animation
- 로띠애니메이션
- 로그캣 색상변경
- BottomNavigation
- 바텀네비게이션
- 투명도 hex값
- 고유식별자
- Android OS 10
- Android Bluetooth
- 로그캣 색상지정
- 안드로이드apk변환
- aab파일apk변환
- svn체크아웃
- targetSDK29
- 앱강종
- lottieAnimation
- retrieveExplicitStyle
- 안드로이드 디버깅툴
- Android
- 디바이스ID
- Opacity Hex
- 바텀네비
- Android10
- 안드로이드aab변환
- 앱강종현상
- target29
- apk변환
- 안드로이드 로그캣
Archives
- Today
- Total
목록Bluetooth 스캔 (1)
공부하는 다락방
Bluetooth가 off 되었어도 스캔할 수 있는 방법
mBluetoothManager = (BluetoothManager) getSystemService(Context.BLUETOOTH_SERVICE); mBluetoothAdapter = mBluetoothManager.getAdapter(); // 리플랙션 try { Method method = mBluetoothAdapter.getClass().getMethod("enableBLE"); boolean result = (Boolean) method.invoke(mBluetoothAdapter); Log.d(TAG, ">> " +result); } catch (Exception e){ Log.e(TAG, e.getMessage()); } // 스캔 mBluetoothAdapter.startLeScan(nu..
Android
2016. 6. 14. 15:51