Browser view resets when keypad slides !

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Browser view resets when keypad slides !

Postby Afzal » Thu Jun 18, 2009 12:21 pm

Hi,

I am using a browser view in my application. It goes to google.com when the application starts. But after some surfing when open the keypad (slide). The browser screen goes white and the start page is displayed !

How to avoid this and show the same page to user whether he opens the keypad or not.

Is there any event that is called when the keypad is opened ?

Thanx.
Afzal
Freshman
Freshman
 
Posts: 8
Joined: Thu Jun 18, 2009 12:07 pm

Top

Done it..

Postby Afzal » Thu Jun 18, 2009 4:41 pm

If you add

Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1. android:configChanges="orientation|keyboard|keyboardHidden"
Parsed in 0.000 seconds, using GeSHi 1.0.8.4


to the manifest..it does not makes a new activity every time the orientation is changed
Afzal
Freshman
Freshman
 
Posts: 8
Joined: Thu Jun 18, 2009 12:07 pm

Postby WarrenFaith » Fri Jun 19, 2009 7:09 am

Is there any event that is called when the keypad is opened ?

Yes its the ConfigurationChanged event.
You should check your life-cycle for this event.
WarrenFaith
Moderator
Moderator
 
Posts: 227
Joined: Fri Mar 13, 2009 10:59 am
Location: Berlin, Germany

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 3 guests