It is as much a hack as it was in previous versions of the platform. On Thu, May 14, 2009 at 12:56 PM, Philip May <eniak.i...@googlemail.com>wrote:
> I have heared, that it is not possible to add an EditText field to a > AppWidget. Now I am asking how it can be possible that there is the Google > search widget that is doing exactly this. Is the widget a hack? > > Thanks, > Philip > > ---------- Weitergeleitete Nachricht ---------- > Von: <philip....@t-systems.com> > Datum: 14. Mai 2009 1:54 nachm. > Betreff: How do I add a "EditText" Field to an AppWidget (RemoteViews) > An: <eniak.i...@gmail.com> > > How do I add a "EditText" Field to an AppWidget (RemoteViews) > > Hello, > > I am trying to add a "EditText" Field to an AppWidget. > I took the AppWidget example from here: > http://developer.android.com/guide/samples/ApiDemos/src/com/example/andr > oid/apis/appwidget/index.html<http://developer.android.com/guide/samples/ApiDemos/src/com/example/andr%0Aoid/apis/appwidget/index.html> > and modified it by replacing the TextView with a EditText. > It doesnt work... > Compiles and runs but the Widget sais "Problem loading Widget" when it > shows up. > > Can somone please give me a hint? Maybe an example? > Is the default Google Search Widget open source? > Can someone give ma a link to the source? > > Thanks! > > > > > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---