Git Product home page Git Product logo

bluetooth-lib's Introduction

This project provides a Android library that allows you to communicating between devices via Bluetooth.

Getting Started
===============

Step 1: Setup Android development Environment
* Follow instruction on from [Installing the SDK Guide](http://developer.android.com/sdk/installing.html)
* Clone the GitHub repository: git clone git://github.com/khanmurtuza/bluetooth-lib.git

Step 2: Create New BluetoothSDK Project
* For the first time, you will need to create a new Android project for the Bluetooth SDK source which can be reference from your app. This is only required once. Open Eclipse and create a new Android Project (File | New | Project | Android Project) for the Bluetooth Android SDK Project source and later reference it from your app. Get the content by selecting Create project from existing source and specifying the Bluetooth directory from your git repository (~/bluetooth-lib/BluetoothSDK)

Step 3: Add reference to the BluetoothSDK
* Create a new Android project for your app or use your existing project and add a reference to the BluetoothSDK project. You do this by opening the properties window for your app (File | Properties | Android), pressing the Add... button in the Library area and selecting the BluetoothSDK project created above.

Step 4: Modify the AndroidManifest.xml
* In order to use Bluetooth features in your application, you need to declare at least one of two Bluetooth permissions: BLUETOOTH and BLUETOOTH_ADMIN.


Sample Applications
===============

This library includes two sample applications to guide you in development.

* __BluetoothDevice__: A simple app that can receive commands from other device and display it on screen.

* __BluetoothRemote__: A app that can send connect to a device and send different commands  to perform operation on connected remote device.

bluetooth-lib's People

Contributors

khanmurtuza avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

devmix-apps

bluetooth-lib's Issues

question

Is there anyway you can generate a jar out of the SDK?
im using Android studion and dont know how to add the sdk to the project
Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.