[android-developers] Re: User input in an AppWidget?

2009-05-14 Thread pMay
How did they code the Google Search Widget? Is that a hack? On Apr 16, 7:47 am, Jeff Sharkey jshar...@android.com wrote: Jon, you're right, there isn't a direct way of including an EditText into a widget. The major reason for this is we don't have a good way of identifying how that text

[android-developers] Re: User input in an AppWidget?

2009-05-14 Thread Dianne Hackborn
It is still built in to home, like it was in previous versions. (And it does far more than an EditText -- it has a auto complete text view, which is customized for special behavior there.) On Thu, May 14, 2009 at 5:37 AM, pMay eniak.i...@googlemail.com wrote: How did they code the Google

[android-developers] Re: User input in an AppWidget?

2009-04-16 Thread Jon Colverson
On Apr 16, 6:47 am, Jeff Sharkey jshar...@android.com wrote: The major reason for this is we don't have a good way of identifying how that text should be sent back across a PendingIntent.  To solve this from the framework side, one approach would to add the text to the extras bundle with the

[android-developers] Re: User input in an AppWidget?

2009-04-16 Thread Jeff Sharkey
clicked it gathers up all the state from the others views in the RemoteViews layout (EditTexts, Checkables, RadioGroups) and puts that into the Intent. Actually, this would work nicely by just asking the widget layout tree to onSaveInstanceState() into a single Parcelable, which would include

[android-developers] Re: User input in an AppWidget?

2009-04-15 Thread Jeff Sharkey
Jon, you're right, there isn't a direct way of including an EditText into a widget. The major reason for this is we don't have a good way of identifying how that text should be sent back across a PendingIntent. To solve this from the framework side, one approach would to add the text to the