Skip to content

hitherejoe/WatchTower

Repository files navigation

WatchTower

Web Launcher

Note: In order to use this app, you'll need to use the Google API Console to register your SHA1 token along with the package name, this app won't work otherwise.

WatchTower is a simple application which was created to test and explore the functionality of the new Proximity Beacon API. The application can be used to try out:

  • Registering Beacons
  • Updating Beacons
  • Viewing Beacons
  • Viewing Beacon Diagnostics
  • Viewing Beacon Attachments
  • Adding Beacon Attachments
  • Deleting Single Beacon Attachments
  • Deleting Batch Beacon Attachments by Type

Some features are not very practical within a mobile-app (for example, adding json data to attachments), so these have not been included.

Web Launcher

Note: This was built quickly to simply test the APIs functionality. If you come across any bugs please feel free to submit them as an issue, or open a pull request ;)

For further information, please read the supporting blog post.

Requirements

Building

To build, install and run a debug version, run this from the root of the project:

./gradlew installRunDebug

Testing

For Android Studio to use syntax highlighting for Automated tests and Unit tests you must switch the Build Variant to the desired mode.

To run unit tests on your machine using [Robolectric] (http://robolectric.org/):

./gradlew testDebug

To run automated tests on connected devices:

./gradlew connectedAndroidTest

Attributions

Thanks to the following for icons off of Noun Project:
Stéphanie Rusch - Beacon Icon
Abraham - Cloud Icon
S.Shohei - Battery Icon
Juergen Bauer - Alert Icon
Pham Thi Dieu Linh - Attachment Icon

About

A sample application created to test, explore and demonstrate the Proximity Beacon API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages