This Android library is part of Thali Project and provides means to discover other peer-to-peer devices and establish connections using insecure RFCOMM (Bluetooth) sockets.
This project is intended to be used with the Thali Cordova Plug-in, but can be used to build native Android applications.
Download and install Maven: http://maven.apache.org/download.cgi
In case you decide to use the development phase versions (not the version in the master branch), you may need to compile the library into your local Maven repository.
The version in the master branch can be found from Bintray repository: https://bintray.com/thali
-
Using command line tool, navigate to location where you have the library cloned or downloaded
-
Go to
BtConnectorLib
folder, where you should findgradlew
andgradlew.bat
files -
Build and install the library into your local Maven repository:
Windows:
gradlew build install
Linux/Mac:
./gradlew build install
- If you run into a permission denied issue in Linux or Mac, make sure that
the
gradlew
file has execution permission; run commandchmod 744 gradlew
- If you run into a permission denied issue in Linux or Mac, make sure that
the
If the library was built and installed successfully, you should now see the library in your local Maven repository:
<user folder>\.m2\repository\org\thaliproject\p2p\btconnectorlib\btconnectorlib2\<version number>
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.