Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Android library and service providing a unified API for Bluetooth and WiFi-Direct development
Branch: master
Pull request Compare This branch is even with mehrvarz:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
configs
src/org/timur/rfcomm
.gitignore
AndroidManifest-orig.xml
LICENSE
ant.properties
build-scala.xml
build.xml
local.properties.sample
make
pre-build.xml
project.properties
readme.mkdn

readme.mkdn

RFCommHelper for Android

RFCommHelper is a generic Android service that can be used to develop Bluetooth and WiFi-Direct applications.

RFCommHelper service...

  • simplifies the process of establishing p2p connections
  • acts as a hub for other devices to connect
  • manages multiple Bluetooth RFCommHelper connections in the background
  • forwards messages targeted towards other devices in the network
  • allows the implementation of application specific protocol extensions
  • makes use of Google protobuf to implement the packaging of messages
  • is written in Scala 2.8.x
  • can be deployed on Android 2.2+

Instructions on how to build from source can be found below.

Initial build setup

Building requires Android SDK, Scala-2.8.1.final, JDK 6 and Ant 1.8.2.

$ cp local.properties.sample local.properties

  • Adjust "sdk.dir" setting in "local.properties"
  • Adjust "scala.dir" setting in "local.properties"

Building

$ ./make

This will create "bin/rfcommhelper.jar" which can be placed in the "libs/"-folder of your Android 2.2+ project.

How to use

A ready-to-use "rfcommhelper.jar" is provided in the "bin/" folder.

In order to make use of this service, you need to copy "bin/rfcommhelper.jar" to your Android project "libs/" folder.

Something went wrong with that request. Please try again.