Installing app as a widget on the home screen of android

Hi
I wanted to check if there is a way to add your application as a widget on the homescreen once it is installed on Android device.
Also is this functionality available on other devices like FireOS, Windows Phone etc.

Thanks

It’s defiantly possible. But yes you will need to be writing native code and have an understanding of Java/Android.

And any updating the widget needs to do, refreshing from a web service, will need to be written in Java/Android. As you can not talk to the javascript from the Service required to update the widget.