akexorcist / BluetoothSPPLibrary

[UNMAINTAINED][Android] Bluetooth Serial Port Profile which comfortable to developer application to communication with microcontroller via bluetooth
Apache License 2.0
1.7k stars 570 forks source link

Context #105

Open smudgy67 opened 4 years ago

smudgy67 commented 4 years ago

Hey there,

Firstly, thank you for your plugin.

I have managed to download and incorporate your library into Android Studio.

Please can you tell me when I enter this line into MainActivity.java, the Context complains error: class, interface, or enum expected: BluetoothSPP bt = new BluetoothSPP(Context);

I'm new to this, however, muddling through.

Any help would be greatly appreciated.

Kind regards,

Dominic

smudgy67 commented 4 years ago

It's ok, sussed it. Thank you for your plugin, really appreciated =]