Skip to content

NYIT-CSCI455-2015-Spring/BluetoothChat

Repository files navigation

BluetoothChat

This app lets two users with Android phones/tablets to chat with each other using Bluetooth technology. It also has useful features like notifications and contacts.

Pre-requisites

  • Android 4.0 or higher
  • Android SDK v21

FAQs

What is bluetooth?
- Bluetooth is a Personal Area Network (PAN) technology which uses UHF radio waves in the ISM band, from 2.4 GHz to 2.485 GHz. It is currently managed by the Bluetooth Special Interest Group, although originally standardized by IEEE in its 802.15.1 standard.

What devices are supported?
- This app currently supports all android devices.

What is the bluetooth chat range?
- The range depends on the device. Usually, it works up to 50 feet.

What situations can bluetooth chat be used?
- In a situation where there is no WiFi connectivity, two users can connect via bluetooth and start chatting with each other. For example, in a library with no wireless LAN connectivity, two people sitting in different areas can chat with each other using this app.

Can this app work on a tablet? Can a tablet chat with a phone?
- Yes, this app works on a tablet. It also works if one of the devices used is a tablet and the other is a phone.

Can the user be notified of new messages while not using the app?
- Yes. The app notifies the user by vibrating and flashing an LED light.

What if my bluetooth is not turned on?
- The app will prompt the user to turn it on and will list all of the available devices within range.

If you've found an error in this sample, please file an issue: https://github.com/googlesamples/android-BluetoothChat

Patches are encouraged, and may be submitted by forking this project and submitting a pull request through GitHub. Please see CONTRIBUTING.md for more details.

Coming Soon

  • Access camera and share pictures/videos
  • Save chat history
  • Chat with more than one person (Group chat)

License

Copyright 2014 The Android Open Source Project, Inc.

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you 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.