Sunday, June 6, 2010

[android-developers] Re: Display Widget inside activity?

You can at the most use the layout of the widget and the update code.
Other than that, I guess, you cannot bring the widget as it is on your
activity. A widget has a lifecycle of it's own.

Thanks and Regards,
Kumar Bibek

On Jun 3, 12:37 am, Tommy <droi...@gmail.com> wrote:
> Hey everyone,
>
> I was wondering if there is a way to show a widget that I have created
> inside an activity. I have a weather widget and I also have an app I
> am working on that I would like to include weather reports in. Is
> there a way I can just re-use the widget code and make it show inside
> the weather activity?
>
> Thanks for your time and help,
>
> Tommy

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment