Widget and application in one application

I have an application and widget. What should I do to install only one thing. And do not install the application and widget separately?

I hope you understand me, otherwise just ask.

Gauwe

Ps. I'm still learning english

+4
source share
1 answer

What you need to do is simply declare both the widget and the application in one AndroidManifest.xml.

Inside the application tag in the manifest, declare the application an activity tag and a widget with a receiver tag.

Basically, try to "combine" both manifestos into one.

Please let me know if my answer confuses you.

+5
source

All Articles