Fitpolo / FitpoloDemo_H701_Android

This demo include Fitpolo SDK_H701
3 stars 2 forks source link

Pairing #1

Open imana97 opened 5 years ago

imana97 commented 5 years ago

Hi, I am not able to find a method for pairing. How do you pair?

liuwenzheng commented 5 years ago

You can find the pairing method in the README, just in the directory 2.2:

@Description pair device public void connDevice(Context context, String address, MokoConnStateCallback mokoConnStateCallback) {}

This method is in the file 'MokoSupport.java'

imana97 commented 5 years ago

Thank you. I am using this. I am writing another library for react-native to communicate with H701. The question is this, how bonding works?

liuwenzheng commented 5 years ago

Sorry, we don't currently support React-Native. If you want to use it, you can check how to call Android native method on google.

Goel-Rishabh commented 3 years ago

You can implement functionality in android studio and then bridge it to react native