Repository navigation
Add Zooper Widgets
Warning
Legacy
Current versions of Blueprint don't support Zooper widgets: the sample project no longer includes the Zooper folders or the Zooper code. This page is kept only for people maintaining an app on an old version. For new apps, use Kustom assets instead.
In old versions, Zooper widgets were set up like this.
Zooper widgets need files in four folders inside app/src/main/assets: bitmaps, fonts, iconsets and templates. Copy your widget files into the matching folders.
In app/src/main/AndroidManifest.xml, remove the comment marks (<!-- and -->) around these two blocks:
<!-- TODO: Remove comment marks to enable Zooper
<intent-filter>
<action android:name="org.zooper.zw.TEMPLATES"/>
</intent-filter>
--><!-- TODO: Remove comment marks to enable Zooper
<provider
android:name=".zooper.TemplateProvider"
android:authorities="${applicationId}.zwprovider"
tools:ignore="ExportedContentProvider"/>
-->Google Play encrypts paid apps, which breaks how Zooper reads iconsets. To avoid that, keep each iconset both zipped and unzipped. For an iconset called WeatherIcons.zip:
- Copy
WeatherIcons.ziptoassets/iconsets/. - Create a folder called
WeatherIconsinassets/iconsets/. - Extract the contents of
WeatherIcons.zipinto that folder. - Keep both the zip and the folder.
Note
Would you like to help improve this wiki?
It is advised that you contribute to jahirfiquitiva/dashboards-wikis, which is the repository that holds the contents of this wiki. Please open an issue or a pull request in that repo instead.
Wiki by Jahir Fiquitiva, with contributions from Patryk Goworowski, Lumiq Creative and Jackson Hayes. Special thanks to Sanchith Hegde.
Licensed under the Creative Commons Attribution-ShareAlike 4.0 International License.