Beacons, particularly Bluetooth Low Energy (BLE) beacons, have gained attention as an innovative technology for retail sales enhancement, with Apple's iBeacon being a pioneering protocol in this space. Despite hardware limitations in some Android devices, recent updates, such as Android 12.0, have introduced a new location permission model, expanding beacon compatibility and encouraging further development in beacon technology and Internet of Things (IoT) device control. Various beacon protocols, including Apple's iBeacon, Google's Eddystone, Radius Networks' AltBeacon, and Tecno-World's GeoBeacon, offer unique features and compatibility with multiple platforms. The article provides a detailed overview of beacon technology, including signal emission, structure of data packets, and methods for computing distance to beacons. It also explores the use of the Android BLE package for beacon scanning and emission, highlighting the ease of implementing beacon technology on Android devices through specific APIs and examples.