hmmm now im getting android errors, im presuming these need to be set as build hints.. BluetoothLeScanner: fail to start le scan - SecurityException thrown: java.lang.SecurityException: Need ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION permission to get scan results
On Wednesday, August 28, 2019 at 12:25:12 AM UTC+1, Gareth Murfin wrote: > > Getting this error with the bluetooth lib on Android (samsung s7 - > Android 8.0) > > W/System.err: java.io.IOException: Bluetooth not initialized > W/System.err: at com.codename1.cordova.Cordova.execute(Cordova.java:33) > W/System.err: at > com.codename1.bluetoothle.Bluetooth.enable(Bluetooth.java:85) > W/System.err: at userclasses.MainForm.startBluetooth(MainForm.java:55) > W/System.err: at > com.pippa.hobmonitor.MyApplication.start(MyApplication.java:41) > W/System.err: at > com.pippa.hobmonitor.MyApplicationStub.run(MyApplicationStub.java:163) > W/System.err: at > com.pippa.hobmonitor.MyApplicationStub$1.run(MyApplicationStub.java:107) > W/System.err: at > com.codename1.ui.Display.processSerialCalls(Display.java:1298) > W/System.err: at > com.codename1.ui.Display.mainEDTLoop(Display.java:1093) > W/System.err: at > com.codename1.ui.RunnableWrapper.run(RunnableWrapper.java:120) > W/System.err: at > com.codename1.impl.CodenameOneThread$1.run(CodenameOneThread.java:60) > W/System.err: at java.lang.Thread.run(Thread.java:764) > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/57d9d6f0-4002-4c34-987c-50d4e5379f42%40googlegroups.com.