How can i create a widget of my app ( like google search or junk cleaner or weather app )

i want to create a widget on Home Screen of my app like ( google search or junk cleaner or weather app or music player ).
Please anyone tell me How can i do this

A widget is a Service. A Service is a small app that runs in the background. App Inventor apps cannot run in the background; i thing, you cannot create a widget as of now.

or may be you have to ask any aix developer if they can or it can possible they will create it for you.

If we use background task extension than ?

@Technical_rajan

Nothing will happening!! Ai2 type of app development has Background running capability but the issue is you can’t make widget with them or this type of coding platform, maybe you can contact extension developer they can help you.