July 2018
Intermediate to advanced
358 pages
7h 17m
English
Now, what if we wanted to implement our own sensor from the hardware provided? As it turns out, Google has already thought of that and has a very in-depth tutorial on creating and registering your own driver which can be viewed at https://developer.Android.com/things/sdk/drivers/location. I will go over a few of the items specified, but it is best to read what they wrote. In short, we will just look at the sample code provided that will make it so that we can convert GPS data as a plugin. The basic structure is exactly the same as the one we used to create our basic plugin in Java. The next step will be to write our code so that it returns the data so that it can be passed from the native plugin to Unity. ...
Read now
Unlock full access