This application demonstrate, how a location can be identified using BLE based beacons and implement organization policies on the device to make it secure. In this demo, if a user enters a secured location (beacon is detected), then camera of the device is disabled. Once the user exits the secure location, camera is enabled automatically. This use case can be enhanced to automatically activate different policies and settings on devices when in specific location. This use case can also be used for other purposes like indoor beacon based navigation, announcements, advertisments, etc.
All rights reserved. No part of this project may be reproduced, distributed,copied,transmitted or
transformed in any form or by any means, without the prior written permission of the developer.
For permission requests,write to the developer,addressed “Attention:Permissions Coordinator,”
at the address below.
Abhinav Tyagi
DGIII-44Vikas Puri,
New Delhi-110018
abhi007tyagi@gmail.com
Prepare beacon
- Get Nexus6 device or any other device which supports BLE broadcasting.
- Install QuickBeacon app from Radius Networks.
- Enable bluetooth of the device
- Open the app and put following settings
i. ID1: 43A2BC29C1114A768B6F78AECB142E5A (this is UUID for beacon, you can use your own UUID)
ii. ID2:1(optional... major)
iii. ID3:7(optional... minor)
iv. Power: -56
v. Advertisements Per Second: 10 (Low Latency)
vi. Transmitter Power: High or Medium
vii. Beacon format: AltBeacon - Switch ON and select "Apply"
Your beacon is ready!!
User Device that is to be secured
- Get Nexus5 or any android device that supports BLE.
- Install SecureLocation app.
- Run the app.
- Select "Activate" to provide Device Admin features to app to control device camera.
- Select "Allow" to enable bluetooth on device.
- Make sure UUID field has same ID as in Beacon (Nexus6) i.e. "43A2BC29C1114A768B6F78AECB142E5A" if using default.
- Use default settings for Scan Time and Scan Intervals i.e. 5 sec and 1 min respectively.
- Use Altbeacon if beacon is prepared using Altbeacon standard or iBeacon if beacon prepared via iBeacon standard.
- Start the background service by sliding the switch to right.
Application is ready to sense beacon with above UUID and hense detect secure location to disable/enable camera.
Now whenever the app senses beacon, it will disable device camera and user will not be able to use camera. Once user is outside secure location, application will enable the device camera.
Similarly, other organization policies can be implemented.