Susan wrote:
> Just to make sure I'm understanding you
> correctly, you mean that there's no way to, say, change the image in
> an ImageView or change the color of a Button programmatically?

Sure you can, the same way you set the image in the ImageView or set the
color in the Button in the app widget in the first place, via
RemoteViews methods like setImageViewResource(). Just go through the
normal update process and set whatever color or image you want.

However, that's not what you originally asked. You asked:

"How can I access the text that the user has typed into the TextView?"

And the answer is: you can't. RemoteViews offers *setters* for various
things, but no *getters*.

Hence, other than clicks triggering PendingIntents, you cannot receive
input directly from an app widget.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android 1.6 Programming Books: http://commonsware.com/books

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

Reply via email to