This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Android and the fly likes Refresh When person rotates the handset Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Mobile » Android
Bookmark "Refresh When person rotates the handset" Watch "Refresh When person rotates the handset" New topic

Refresh When person rotates the handset

Rahul Juneja
Ranch Hand

Joined: Aug 03, 2002
Posts: 425
Suppose there is an application where a person is watching some text and images in portrait view and at the same time the application is loading at the bottom. Now if the user rotates his/her screen to landscape then how can i preserve the state as Android is saving the state and also how do i need to continue loading the app.

Rahul Juneja
ThoughtClicks -
Anthony Agustin

Joined: Apr 07, 2011
Posts: 3

Did you try the onConfigutationChanged(Configuration) method from the Activity class?
Read more about it here.
I agree. Here's the link:
subject: Refresh When person rotates the handset
It's not a secret anymore!