How can I integrate my application with my widgets?

I made an application, as well as a widget called a world clock.

But I do not know how to integrate both, I mean the integration of the widget with the application. I think I should have made some obvious changes. But I'm completely blind. I need help.

+7
source share
1 answer

They must be in the same project, and your manifest file must have the signature "this is the launched activity" for one that launches material that is not related to widgets, and for the widget to be active, it must be "this widget, make it available as such" signature " An example of code that follows briefly if this is not clear.

+1
source

All Articles