0

Im trying to connect a 2.2 android phone with a 4.1.2

It seems as if there's some problems though since my 2.2 phone says paired but not connected and when i try to run the method

    Set<BluetoothDevice> pairedDevices = bluetoothAdapter.getBondedDevices();

On either device it crashes. Is there some problems with connecting a 2.2 phone with a 4.1.2 or?

Just tried and even a simple command like

    bluetoothAdapter = BluetoothAdapter.getDefaultAdapter();
    boolean on = bluetoothAdapter.isEnabled();

Seems to crash at the second line even though the bluetoothadapter is assigned

4

1 回答 1

0

发现我没有允许使用蓝牙所以解决了

于 2012-12-04T12:49:03.767 回答