We're trying to host a 3rd party widget inside our own app, and we're trying to figure out how it can be added upon our app's installation, without having the user need to select it from the Select Widgets list. The reason being, our client needs their users to choose this specific widget (and we're trying to keep the code separate so they can update this specific widget, inside our app, on their own), and it's not a great UX for a user to be able to choose a different one by accident. Is there a way to filter the Select Widget list even? Or just have it show the one we need it to show? And since we have access to this 3rd party widget's source, would that help?
We can tell so far that the only way to add a widget to a widget host is to allocate an id, run ACTION.APPWIDGET_PICK and user can choose from there.. But we really need to find a way for either that list to be filtered somehow, or this third party widget be installed when our app (host) is installed too.
Any ideas?
Thanks!