On Tue, Oct 18, 2011 at 10:50 AM, Brian <avalo...@caerleon.us> wrote:

> I'd like to be able to preserve the complete web view state as well as
> have combo boxes work properly, but at this point the only choice I
> have is to provide a switch that lets the user choose one or the
> other.  Any ideas on ways to let me keep both?
>

Determine which properties of the WebView's state you really care about and
serialize that to Bundle / File / Database, whatever. Then recreate a
WebView within an Activity's context when you need it with the saved
properties instead of from a Service's Context (which kind of "feels"
wrong).

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

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

Reply via email to