Re: [codenameone-discussions] Re: java.io.IOException: Bluetooth not initialized

2019-08-28 Thread Gareth Murfin
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  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
> 
> .
>


-- 
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.


Re: [codenameone-discussions] Re: java.io.IOException: Bluetooth not initialized

2019-08-28 Thread Gareth Murfin
Thanks Kandy! Your libraries worked perfectly for me. Much appreciated! No
idea why mine didnt work!!.. Thanks again, let me know if you ever need any
help in return.

On Wed, 28 Aug 2019 at 15:30, Gareth Murfin  wrote:

> Thanks very much! Grabbing the libs now, but my internet is poor.. my
> email is gareth.mur...@gmail.com
>
> On Wednesday, August 28, 2019 at 2:56:30 PM UTC+1, Kandy Bitxenio wrote:
>>
>> Hi Gareth
>>
>> This are my libs, please give me your mail to send the project.
>>
>> https://www.dropbox.com/sh/d652hpn11bowq0s/AAA-jEVH3WRv-1sueCOReuQ5a?dl=0
>>
>> My project is copied from:
>>
>>
>> https://github.com/chen-fishbein/bluetoothle-codenameone/tree/master/BTDemo
>>
>> Best Regards
>>
>> El miércoles, 28 de agosto de 2019, 15:37:51 (UTC+2), Gareth Murfin
>> escribió:
>>>
>>> That would be great Kandy, a dummy project that you know works would
>>> help me greatly. I appreciate your help!
>>>
>>> On Wednesday, August 28, 2019 at 2:25:43 PM UTC+1, Kandy Bitxenio wrote:

 If you I can send you my libraries, or my dummy project.

 Best Regards.

>>> --
> 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/fa6721df-38b4-420d-ac2d-f00f99bd4e50%40googlegroups.com
> 
> .
>


-- 
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/CANOaY6moEbX4-H3dg1ZDLhN95qW5V-kaEo-PN--bWB7xjTZ3gg%40mail.gmail.com.