Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android error, failed to set top app changed

Tags:

android

Can somebody please throw some light on the arcane error "Failed to set top app changed", by the activity manager? I'm wondering what causes this error. In one of my application I'm making a view fullscreen and then switching back. For the first time things are ok but then if i try to make the view full screen again, I get a crash and the error mentioned above is found on logcat.

Any help is greatly appreciated.

Reagrds, M

like image 982
Madhur Bhargava Avatar asked Jan 12 '11 07:01

Madhur Bhargava


1 Answers

I just encountered this problem today myself.. let me tell you what did the trick for me... maybe it will help you too.

anyway in my case it crashed because i overrided onActivityResult and inside that event i tried to do this:

Bundle extra = data.getExtras();
    String albumId = extra.getString("id");

this is old code that got left in the application.. after deleting this everything worked as expected.

hope this helps in some way.

like image 110
guy schaller Avatar answered Sep 30 '22 14:09

guy schaller