Index of the Moto Mods Developer project:
The Slideshow above is also below:
An app can be made in any Android Studio platform including Windows, Linux or Mac. For this I used Windows.
The MDK-Utility app that motorola provides for loading firmware uses Android CardView for the layout look. Where each “card” is a different section with a display and/or button. As Shown below:
I modified the MDK-Utility app for my own use by deleting unnecessary parts of the app that I didn’t need for my blinker app. The Information panel and switcher “cards” were kept. Other cards were deleted.
To get started with modifying this app, I needed to clone the MDK-Utility app repository to Android Studio.
Graphic View layout
Code View Layout
In MainActivity, the code for Switcher, the “switch_led” id corresponds to the id of the graphical switch on the app panel. When the switch is activated, it runs the raw personality service called blinky using the raw protocol to send the blink boolean to the reference moto mod, where the STM32 micro receives it and runs the blinky routine on its firmware.
Raw Personality Service:
Below is my custom Blinker App using parts of the MDK Utility and CardView layout