https://developer.android.com/develop/c ... setup#java
Я выполнил первые шаги, создав экземпляр BluetoothManager и получив BluetoothAdapter:
Код: Выделить всё
BluetoothManager myBluetoothManager = getSystemService(BluetoothManager.class);
BluetoothAdapter myBluetoothAdapter = myBluetoothManager.getAdapter();
Код: Выделить всё
Код: Выделить всё
BluetoothManager myBluetoothManager = getSystemService(BluetoothManager.class);
Спасибо
Подробнее здесь: https://stackoverflow.com/questions/797 ... hes-my-app
Мобильная версия