Blog

BeaconisBluetoothlow-energy (BLE)wirelesstechnologytocreateadifferentwayofprovidinglocation-basedinformationandservicestoAndroiddevices. Thebeaconsthemselversaresmall, cheapBluetoothtransmitters. AppsinstalledonyourAndroidlistenoutfor the signal transmitted by these beacons and responds accordingly when the phone comes into range.

TheUUIDisanuniqueidentifier. For example, ifBig Bazaar decides to deploy beacon sensors inside its store and make an app that can tell the user once they arrive at a specific store, theywoulddefineaUUIDthatisuniquetotheirappandthebeaconsinsidetheirstores. Insidethestores, theywouldplacebeacondevicesandconfigureeachofthemtouseadifferent “minor” value. For example, at the store A, they would place all beacon devices broadcasting the Starbucks UUID, major value 0, minor 1 near the door, minor 2 near the mugs display and minor value 3 near the cashier. At store B, they would use the same UUID, but major 1 and minor values according to the location inside the store.

Now to implement the Beacons functionality for Android in Titanium, you need to download the latest module from the link "http://gitt.io/component/com.liferay.beacons" and include that module in your "tiapp.xml" .