Writing an App to Detect the Beacon

Our Beacon is already up and advertising. We will now write an app to detect the Beacon and the contents of the advertisement. Although Eddystone has excellent documentation provided by Google for both Android and iOS. Eddystone is originally developed by Google and in general sense has a more elaborative setup on Android. Hence, we shall start with Android first and then move on to iOS. For iOS, we shall give you a head start on the code and then expect that you do the rest as an exercise to gain a solid footing.

Prerequisites for this section:

  • A Raspberry Pi 3(setup as described in the previous section)

Android:

  • Latest Android Studio
  • A Latest Android Device(Preferable Samsung Galaxy S8, since it has support for Bluetooth 5 otherwise Any Device with an API Level of 23(Android M) is fine)
  • Basic familiarity with Java and Android

iOS:

  • XCode 8.2
  • A latest iOS device(Our development device uses iOS 9.3.5)
  • Basic familiarity with Swift 2.3 and iOS

 

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.220.1.239