> I have an app using the WebKit that I'm developing.  In my onCreate()
> method I'm loading my page:
>
>               browser = (WebView) findViewById(R.id.webkit);
>               browser.getSettings().setJavaScriptEnabled(true);
>               browser.loadUrl("file:///android_asset/mystuff.html");
>
> However, this fires off when the keyboard is popped out.  What do I
> need to do in order to have the browser only load on the initial start
> of the app and not do a complete reload of the page when the
> orientation is changed?

I have a series of blog posts over on AndroidGuys.com on this topic.
Search for "Rotational Forces". There are several options, and you'll need
to determine which one best fits your situation.

--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 1.4 Published!



--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to