일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- apk변환
- 바텀네비게이션
- Opacity Hex
- aab파일apk변환
- 안드로이드 디버깅툴
- 바텀네비
- svn체크아웃
- 고유식별자
- retrieveExplicitStyle
- 안드로이드aab변환
- 로띠애니메이션
- 안드로이드
- 앱강종
- bottomNavigation animation
- 안드로이드apk변환
- 디바이스ID
- Bluetooth 스캔
- target29
- 로그캣 색상변경
- Android Bluetooth
- 로그캣 색상지정
- Android
- 투명도 hex값
- Android OS 10
- lottieAnimation
- BottomNavigation
- Android10
- 안드로이드 로그캣
- 앱강종현상
- targetSDK29
- Today
- Total
공부하는 다락방
안드로이드 6.0에서는 디바이스의 맥어드레스를 가져오지 못합니다. 그러나 다른방법으로 가져오는 방법은 있습니다. 안드로이드의 /sys/class/net/wlan0/address에 Wifi에 대한 mac address의 값을 저장하고 있습니다. public static String getMACAddress(String interfaceName) { try { List interfaces = Collections.list(NetworkInterface.getNetworkInterfaces()); for (NetworkInterface intf : interfaces) { if (interfaceName != null) { if (!intf.getName().equalsIgnoreCase(interfaceNa..
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..