who knows whats going on this bluetooth library is terrible.
issue described here.
https://github.com/chen-fishbein/bluetoothle-codenameone/issues/11

On Wed, 28 Aug 2019 at 16:54, Gareth Murfin <gareth.mur...@gmail.com> wrote:

> 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 a topic in the
> Google Groups "CodenameOne Discussions" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/codenameone-discussions/BID1gcFOGqw/unsubscribe
> .
> To unsubscribe from this group and all its topics, 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
> <https://groups.google.com/d/msgid/codenameone-discussions/57d9d6f0-4002-4c34-987c-50d4e5379f42%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Gareth Murfin
(Android Freelancer - www.garethmurfin.co.uk)

-- 
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/CANOaY6m602_E_98Bdc_%3Dhe_A8Yji%2BMiCj24G8Dp45xedVjbZrA%40mail.gmail.com.

Reply via email to