This example project contains multiple toy demos:
basicdemo which shows the application iconTouch-down(press down) to increment and display a counterTouch-up(release) to stop incrementing the counter
glyphbuttondemo which shows a randomly populated gridLong-presstheGlyph Buttonon the device to generate a new random grid
animationdemo which shows an indefinite animation until the toy is deactivated
After going through the Setup stage in this document the demo project can be run on the device.
Tip:
Short-presstheGlyph Buttonto navigate between the toys.
The demo project already contains the necessary libraries (GlyphMatrix SDK) and source structure as an example. However, if you want to install libraries for your own application, please reference the SDK documentation.
This demo is written in Kotlin, it also utilize a useful Kotlin wrapper GlyphMatrixService.kt,wrap around the original SDK that you can use in your own project.
basic_demo.mp4
Android Studio, Kotlin, compatible device with Glyph Matrix
1. Prepare your Nothing device and connect it to the computer for development
2. Clone this project or download this repository as a ZIP and uncompress it to your local directory.
3. Open a new windows in Android studio and hit file on the menu bar, select open.
4. Select the directory where you have cloned the repository or the unzipped folder and click Open
5. Once the Gradle files have been synced and your phone is connected properly, you should see your device name shown at the top and a play button. Click the play button to install this example project.
When the example project is installed on the device, toys within the project needs to be acivated before it can be used.





