Search code examples
androidbackendibeaconandroid-ibeacon

How to build an ibeacon backend panel?


I developed an ibeacon android app and now I am going to extend my app to have website login and back-end control panel in order to user be able to manage its beacons. Can everyone tell me what is the best way doing that?


Solution

  • Beacon can not communicate with your back-end to receive the attachments but your mobile app does. To understand the entire scenario, you gotta try Google proximity Beacons API.

    Step 1:

    Adding attachments to your beacon through Google Proximity Beacon API.

    Register your Beacon through Google Proximity Beacon API. You gotta register your beacon, if you wish add attachments to them. Also do remember that you gotta change the UUID of beacon, if you are willing to register through Google Proximity Beacon API because Beacon database is global. If its Eddystone, change the UID. Once if it is registered, you can actually be able to add attachments to them. Do research on Google Proximity beacon API and revert back to me if you need any clarification while trying to add attachments to the beacons. You can call this app as Beacon Manager Application since it lets you to add attachments.

    Second:

    Receiving attachments using Nearby Messages API

    Now that we have added attachments to our beacons using Google Proximity beacons API but to receive the attachments ,we gotta use Nearby Messages API. So once if you go near the beacon which has got its attachments registered through Google Proximity Beacon API, it will receive the corresponding attachments automatically.

    Try to understand the entire process overflow behind Google Proximity Beacon API [Attachment adder] and Nearby Messages API[Attachments Receiver]. Then you can actually be able to simulate the same while you are trying to build your own back-end. If you've any query, do revert back. :)