Skip to content

Implementation of a Bluetooth network with application as transfer of a file from one device to another.

Notifications You must be signed in to change notification settings

brainbotsector/BluetoothExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BluetoothTransfer

Implementation of a Bluetooth network with application as transfer of a file from one device to another.

Bluetooth Example

Using BluetoothAdapter class we will do the following operations

● Check if Bluetooth is available or not.

● Turn On/Off Bluetooth.

● Make Bluetooth Discoverable.

● Display Paired/Bounded devices.

Note: The getBoundedDevices() method of BluetoothAdapter class provides a set containing list of all paired or bounded bluetooth devices.

Permissions Required: BLUETOOTH, BLUETOOTH_ADMIN

Steps

Step 1: Create a new project OR Open your project

Step 2: Add 2 Images to show Bluetooth status icons

Step 3: Add BLUETOOTH, BLUETOOTH_ADMIN permission in AndroidMenifest.xml

Step 4: Code

How to run app on real device

Build->Build Bundle(s)/APK(s)->Build APK(s)

Then locate the apk and share the apk on your real device via email or any other source.

Screen Shots

mc1 WhatsApp Image 2021-08-18 at 23 38 07 (2) WhatsApp Image 2021-08-18 at 23 38 07 (1) WhatsApp Image 2021-08-18 at 23 38 07 WhatsApp Image 2021-08-18 at 23 38 07 (4) WhatsApp Image 2021-08-18 at 23 38 07 (3)

About

Implementation of a Bluetooth network with application as transfer of a file from one device to another.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages