Creating a Homescreen widget for android

android

#1

Hello, i’m using nativescript with angular 6 in order to develop an android app.

I would like to know how to create a home screen widget that can make a functionality of the application.

Thanks a lot!


#2

Here is a POC for creating home screen widget.


#3

I have seen that before, and the problem is that this POC does not make any complex functionality from the main application (example for complex functionality: playing a song in music application).
So my question is: how to create a widget which can perform functionality in angular&NS application?


#4

Did you try the audio plugin for playing sounds?


#5

No, Because I don’t need that in my application, I just gave this example as an example for an ability I want in my application.