When you normally want to add an AppWidget in Android there is a list where you need to pick one widget and it binds it to the home screen.
I\'m trying to build an a
In Android O, its possible to pin app widget programmatically. Just watch at example here
Also check out Google official documentation