Use an older example that does not rely on Android 6:
http://toastdroid.com/2014/09/22/android-bluetooth-low-energy-tutorial/
On Friday, October 14, 2016 at 2:21:10 PM UTC-6, Александр Сергеевич Джус
wrote:
>
> Hello, I want to use Bluetooth 4.0 to connect the Vert device. The problem
> is,that I have android 4.4, but your official example is based on android
> 6.0. I rebuilded this example to work on my device, it starts with
> problems (I can connect and get BleService(s)/BleCharacteristic(s), but
> haracteristic.getValue("...") always null ). So can you say what is wrong,
> and what should I do to get Vert's values ?
>
--
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-developers/f1f3044d-39d6-4838-9305-1adbd78d092a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.