The scenario is that i am modifying the home screen in android and
adding some buttons to it.
When i click on any one button on the home screen,an appwidget has to
be started in the available screen space.
Can appwidgets be started by broadcasting or passing an intent from
another application.
If so how can that be done...
Regards,
Anand
On Nov 9, 7:03 pm, Mark Murphy <mmur...@commonsware.com> wrote:
On Nov 10, 5:25 am, anand <anand.ramasw...@wipro.com> wrote:
> The scenario is that i am modifying the home screen in android and
> adding some buttons to it.
> When i click on any one button on the home screen,an appwidget has to
> be started in the available screen space.
If you're building your own home screen and want to run AppWidgets on
it, my understanding is that you need to use the
android.app.AppWidgetHost class, Take a look at it in the docs - it
has methods like allocateAppWidgetId and createView which perform the
widget-creation tasks.
> On Nov 10, 5:25 am, anand <anand.ramasw...@wipro.com> wrote:
> > The scenario is that i am modifying the home screen in android and
> > adding some buttons to it.
> > When i click on any one button on the home screen,anappwidgethas to
> > be started in the available screen space.
> If you're building your own home screen and want to run AppWidgets on
> it, my understanding is that you need to use the
> android.app.AppWidgetHost class, Take a look at it in the docs - it
> has methods like allocateAppWidgetId and createView which perform the
> widget-creation tasks.
> On Nov 10, 12:33 pm, String <sterling.ud...@googlemail.com> wrote:
> > On Nov 10, 5:25 am, anand <anand.ramasw...@wipro.com> wrote:
> > > The scenario is that i am modifying the home screen in android and
> > > adding some buttons to it.
> > > When i click on any one button on the home screen,anappwidgethas to
> > > be started in the available screen space.
> > If you're building your own home screen and want to run AppWidgets on
> > it, my understanding is that you need to use the
> > android.app.AppWidgetHost class, Take a look at it in the docs - it
> > has methods like allocateAppWidgetId and createView which perform the
> > widget-creation tasks.
> On Nov 10, 12:33 pm, String <sterling.ud...@googlemail.com> wrote:
> > On Nov 10, 5:25 am, anand <anand.ramasw...@wipro.com> wrote:
> > > The scenario is that i am modifying the home screen in android and
> > > adding some buttons to it.
> > > When i click on any one button on the home screen,anappwidgethas to
> > > be started in the available screen space.
> > If you're building your own home screen and want to run AppWidgets on
> > it, my understanding is that you need to use the
> > android.app.AppWidgetHost class, Take a look at it in the docs - it
> > has methods like allocateAppWidgetId and createView which perform the
> > widget-creation tasks.