How to Detect Beacon in Android?

Discussion in 'Java' started by Ashish Bisht, Aug 22, 2016.

  1. Ashish Bisht

    Ashish Bisht New Member

    Joined:
    Aug 4, 2016
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Gender:
    Male
    Hi, Being a learner. I am here to participate just like other Android Developer Forum to enhance my knowledge regarding Android Programming & I would like to know that "how can we detect Beacon in Android", which is a device that is designed to attract attention to specific locations.
     
  2. Jeff Ronald

    Jeff Ronald Member

    Joined:
    Dec 9, 2016
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    6
    Gender:
    Male
    Home Page:
    http://ezmoov.com
    To detect an altBeacon, you will first have to build a scan filter. You will need to create an array, of bytes, of size 24. The first 2 bytes will be the altbeacon identifier prefix: 0xBE 0xAC . You will also insert the 16 bytes for the UUID of the beacons you want to detect.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice