jcook2004 wrote:
> In my app I embed a web site into my application with WebView.  When
> the user clicks a link on the originally loaded site, it takes them to
> the new site - no problem, everything is still contained within my
> app. But when the user is at that new link and then they flip/open the
> screen on their g1, the original site gets loaded and they lose the
> web site they were currently on. I cant find any docs or threads on
> how to resolve this issue, does anyone have any tips on fixing this?

You need to handle the rotation event.

I have a series of blog posts on this topic over at AndroidGuys:

http://androidguys.com/?s=rotational+forces

Depending on what you want to actually happen when they open/close the
keyboard, you may wish to disable rotations (see Part Four of the blog
posts).

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

Android App Developer Books: http://commonsware.com/books.html

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