by d80harri » Fri Mar 27, 2009 8:01 pm
Don't know if this is what you are looking for... but I've found the following in a book about android application-developement:
"[...] Android supports runtime changes to the language, location, and hardware by terminanting and restarting each application and reloading the resource values. This default behavior isnt always convenient or desirable, articularly as some configuration changes (like screen orientation and keyord visibility) can occur as easily as a user rotatint the device or sliding out the keyboard. [...]
<activity android:name=".TodoList" android:label="@string/app_name" android:theme="@style/TodoTheme" android:configChanges="orientation|keyboard"/>
Adding this attributes suppresses the restart of the specified configuration changes, instead, triggering the onConfigurationChanged method in the Activity. [...] blab bal [...] override onConfigurationChanged."
Good luck,
Harald
Des fois on n'sait pas bien ce qui s'passe.