Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can i integrate my app with my widget?

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

But I don't know how to integrate both, I mean integrating the widget with the application. I think I have to made some manifest changes. But I am totally blind regarding this. I need some help.

like image 573
jyotiprakash Avatar asked Dec 24 '11 11:12

jyotiprakash


1 Answers

They need to be in the same project, and your manifest file needs to have the "this is a launchable activity" signature for the one that starts the non-widget stuff, and you widget activity needs to have the "this is a widget, make it available as such" signature. Code example to follow shortly if that wasn't clear.

like image 189
Travis Avatar answered Oct 27 '22 00:10

Travis