You cannot use WebView in an app widget. However, setTextViewText()
takes a CharSequence, so if your HTML is fairly limited, use
Html.fromHtml() to create such a CharSequence and put it in a TextView
in your app widget.

On Fri, Jun 1, 2012 at 3:14 AM, zhang guichuan <[email protected]> wrote:
> hi guys!
> I am searching for some information about how to show HTML content on
> appwidget.
> there is a old post in the forum ,
> https://groups.google.com/group/android-developers/browse_thread/thread/cb6a65d4aaad5b13/ec4e1ad5845cd073?lnk=gst&q=webview+appwidget#ec4e1ad5845cd073
>
> I wanna to know if there any way can do that, or is there any open source
> project can achieve it since its a long time from that old post.
> if you know ...please do let me know~ 3x
>
> --
> 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



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

_The Busy Coder's Guide to Android Development_ Version 3.7 Available!

-- 
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