This library allows you to easily create a socket bluetooth connection for two android devices with one server and one client. This library is compatible with the Android SDK 2.3 to 5.1.
For documentation and additional information see the website.
For multiple bluetooth connection you can see this lib the website.
Download the latest JAR or grab via Maven:
<dependencies>
<dependency>
<groupId>com.ramimartin.bluetooth</groupId>
<artifactId>AndroidBluetoothLibrary</artifactId>
<version>1.0.1-SNAPSHOT</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>arissa34-ftp</id>
<name>Arissa Ftp</name>
<url>http://arissa34.free.fr/maven2</url>
</repository>
</repositories>
or Gradle:
repositories {
maven {
url "http://arissa34.free.fr/maven2/"
artifactUrls mavenLocal()
}
mavenCentral()
}
dependencies {
compile 'com.ramimartin.bluetooth:AndroidBluetoothLibrary:1.0.1-SNAPSHOT'
}
Copyright 2014 Rami Martin
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.