Custom apps on FW 5.0.4
Posted: Tue Jan 29, 2019 12:23 am
I've been struggling to create my own app on 5.0.4. As a simple first try I decided to recreate the clock tile, but also showing seconds and the weekday when not in dimmed state. In the past there actually was a clock app that could be modified, but that's not the case anymore.
To avoid problems with the built-in clock app, I called mine digitalclock. I created a digitalclock directory under /HCBv2/qml/apps, containing DigitalClockApp.qml, DigitalClockTile.qml, and qmldir. But after restarting qt-gui, my app doesn't show up on the tile selection page.
There no longer is a /HCBv2/qml/qb/base/Globals.qml file to add the app to.
I've been looking at existing apps in the toon store, but couldn't identify any magical trick that makes them appear which I've missed in my app. Is there something special that needs to be done, or should I continue looking for a typo in my qml files?
By the way, may I suggest to use grep -w when looking for a package in /usr/lib/opkg/status in the pre- and post-install scripts? Because with the current code, `grep ov /usr/lib/opkg/status` finds lots of lines containing "Provides:". `grep -w ov /usr/lib/opkg/status` only finds the intended "Package: ov", or nothing.
To avoid problems with the built-in clock app, I called mine digitalclock. I created a digitalclock directory under /HCBv2/qml/apps, containing DigitalClockApp.qml, DigitalClockTile.qml, and qmldir. But after restarting qt-gui, my app doesn't show up on the tile selection page.
There no longer is a /HCBv2/qml/qb/base/Globals.qml file to add the app to.
I've been looking at existing apps in the toon store, but couldn't identify any magical trick that makes them appear which I've missed in my app. Is there something special that needs to be done, or should I continue looking for a typo in my qml files?
By the way, may I suggest to use grep -w when looking for a package in /usr/lib/opkg/status in the pre- and post-install scripts? Because with the current code, `grep ov /usr/lib/opkg/status` finds lots of lines containing "Provides:". `grep -w ov /usr/lib/opkg/status` only finds the intended "Package: ov", or nothing.