blank screen when pressing home then restarting - kindle app

Put your problem here if it does not fit any of the other categories.

blank screen when pressing home then restarting - kindle app

Postby dandushka » Thu Mar 01, 2012 11:03 pm

when pressing the home button, the app is meant to go into background. this works fine for me on samsung galaxy tablet. here are the lifecycle methods called in order:

onPause() - when home button is pressed
onStop()

onStart() - when app is restarted
onResume()


--------------------------------------

on the kindle fire, I get a blank screen. I also notice a difference in the lifecycle methods called:
onPause() - when home button is pressed
onStop()

*** HERE IS THE DIFFERENCE ****
onCreate() - when app is reentered
onStart()
onResume()


------
there is an on create call , without a matching on destroy call.

Ive googled the forums for a few days. I've found similar issues but unsatisfactory solutions, such as calling finish() from onPause().

I've also posted this on kindle fire development forum, but wanted a wider audience in case this isn't a kindle-specific issue after all.

many thanks for any feedback.

d.
dandushka
Once Poster
Once Poster
 
Posts: 1
Joined: Thu Mar 01, 2012 10:56 pm

Top

Re: blank screen when pressing home then restarting - kindle

Postby Phyll » Fri Mar 02, 2012 12:49 pm

Hi dandushka,

You might want to read this:

http://blog.ness.com/spl/bid/73971/Kind ... Developers

Hope this helps.

Phyll
Phyll
Master Developer
Master Developer
 
Posts: 648
Joined: Fri Oct 14, 2011 11:19 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google [Bot] and 12 guests