A Modern RFID App Using NativeScript


Mehfuz has finished a first pass at an RFID scanning app for the Invengo XC-1003 (see earlier progress reports: part I and part II) leveraging NativeScript.  You can see the code for the app at GitHub.

The app uses 4 plugins: SQLite, GeoLocation, Maps, and RFID.

The interaction goes through 3 screens.  In this short screencast the app:

  • Displays the location of the device, acquired via the GeoLocation Plugin
  • Presenting the lcoation as LAT/LONG and a Map, using the Maps Plugin
  • Scans an RFID Tag, using the RFID Plugin
  • Provides the history of previous reads, including their location, stored locally using the SQLite Plugin, and
  • Provides details of a read in the history, with a Map of the location where the read happened

This App architecture relies in the ability of NativeScript to extract meta-data from a library so it can be used at the JavaScript layer.  In the App, Mehfuz created a thin layer on top of that, a Plugin, to simplify accessing the (RFID) sensor.  As we see more industrial devices built on Android, this benefit of NativeScript will enable quickly creating powerful and pretty applications.

For more information on NativeScript, check NativeScript.org.  If you have an iOS or Android device, you may want to install the Samples App and play with it.

One thought on “A Modern RFID App Using NativeScript

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s