Search code examples
androidwear-osapple-watchibeaconbeacon

Is it possible to connect wear app with beacons devices


I want to develop android wear smart watch app using android studio. My requirement is to talk wear app with located beacons devices. There will be multiple beacons devices for different locations in office. Whenever user (wearing watch) goes in the range fo beacons device signal, wear app should raise an event.

Wear app is not connected to mobile phone. It just standalone app. App should fire event even if watch display is off. Sometimes it happens if watch display if off it wont supply events. I probably use Samsung Watch5.

What configuration beacons device do I need to use/purchase when I use it Samsung Watch5 ?

Is that possible to achieve ?


Solution

  • Yes, that is achievable. Some links to useful, and reputable, sources:

    In the Android Developer Documentation:

    • The page on Bluetooth Low Energy (BLE) is the starting point in the docs for BLE-related topics regarding Android, including Android Wear. As you know, beacons employ BLE.
    • The guide on Background Work Overview introduces the corresponding principles and forwards to further details, e.g. how to Keep the device awake.
    • Though Android Wear OS is basically the same as the Android flavors used on other devices, there are some specifics. If necessary use the page on Get started with Wear OS as the starting point for research.

    Further you might be interested in the higher-level Android Beacon Library, including docs and sample code.


    Regarding the beacon devices' configuration the only thing I can recommend for sure is to avoid second-hand Eddystone devices. Eddystone was discontinued by Google in 2018 as it had poor user popularity. So, though the Android Beacon Library still supports Eddystone, I wouldn't consider such devices for purchase. Otherwise you should be fine by sticking to the documentations mentioned above. I'm not aware of specifics considering the Galaxy Watch 5. However, I can't guarantee there isn't, so a separate question on Android Enthusiasts Stack Exchange may help you.

    You mentioned in the comments, that you plan to employ Estimote devices. Note, that Estimote applied as protocols -- if I'm not mistaken -- except of Estimote Monitoring also iBeacon and Eddystone. Better to keep away from latter.