I gave this api a shot so many times now that i am giving up. It seems like BLE is taking over anyway but just wanted to put this out there.
The sample app is way too cluttered with UI (i am only talking about android here).
I really want to use the Library but each time i go down one path i keep having to pass activity contexts and the UI is created for me. The dialogs are ugly and don't have the proper margins. Up until 2 months ago the shared preferences were world read and caused issues on new android versions. WOrld read went away in android 5 years ago.
The api should not include ui. It should be a rich set of methods that return data structures. Unless I am missing something here. I can't find really any example of this and from the other posts it appears others have the same problem. I want to use this and i don't want to be a complainer but new people coming to ant shouldn''t have to already know how to use the api. there should be examples that are simple the FitnessEquipmentSampler is 2000 lines long!.
I am giving up and going to BLE permanently.