

We start with a Cordova plugin project structure.

We recommend reading the Tabris.js documentation about creating a custom widget in both JavaScript and Android parts. Additionally, we’ll create Tabris.js project example that renders received counter value and includes the TextInput that sends the input number to the home screen widget.īuilding a custom home screen widget requires some experience in Tabris.js and Android development. We are going to create a plugin that renders a counter, increases or decreases it directly in the widget, and exchanges the value with a Tabris.js application. This article covers a complete tutorial on how to create a custom home screen widget plugin for the Android platform and how to use it in your Tabris.js project. However, we can create it natively as a Tabris.js custom widget. Unfortunately, we cannot directly use Tabris.js to create home screen widgets. The app widget is one of the desirable features in mobile apps and highly requested by Tabris.js developers.
