Resume not working

Gmankelow

Member
Licensed User
Longtime User
I have two Activities
First time I go from Activity 1 to Activity 2 everything works fine, that is to say
Activity 1 pauses
Activity 2 Creates (firsttime=true)
Activity 2 Resumes

I then go back to Activity 1

Activity 2 Pauses
Activity 1 Creates (firsttime=false)
Activity 1 Resumes

I then try to go back to Activity 2
Activity 1 Pauses

Then the screen goes blank on the Xoom and I see nothing more, if I then press home i see
Activity 2 Pause
in the log screen

Any thoughts?
 

Gmankelow

Member
Licensed User
Longtime User
kickaha,

I have got a step further with this, my 1st screen is landscape and the 2nd screen portrait, to make this work I have changed the screenoreintation setting in the manifest and made it read only (this is my last issue so I am happy to make it read only however I would prefer to do this programatically but could not find a way).

If I leave the manifest editable it gets rewritten with both screens portrait and all is ok.

What I have noticed looking at the logs when I move to a 3rd portrait screen which does work is that whilst the change from the 1st activity to the 3rd activity causes the resume etc to fire the orientation does as well, so you get

1st Screen Pause
3rd Screen Create
3rd Screen Resume
3rd Screen Pause
3rd Screen Create
3rd Screen Resume

Just wondering if my issues is in here somewhere?
 
Upvote 0
Top