Friday, June 8, 2012

[android-developers] Re: instance count violation

thanks a lot for the answers. i also came up with the solution to ignore this error. :)

On Thursday, June 7, 2012 12:39:58 PM UTC+2, marcin kolonko wrote:
hi,
i have an app with two classes:

SelectItemActivity extends AbstractListActivity, and AbstractListActivity extends Activity

(~20 lines of code each) - not much to screw up i thought...

links to pastebin:
AbstractListActivity : http://pastebin.com/iKEa3d3a
SelectItemActivity : http://pastebin.com/UC01gvTg

now, when i click on the button in the actionbar, switch to landscape and then back to portrait, the app crashes and i get this error:
android.os.StrictMode$InstanceCountViolation: class ch.futurecom.MeetingMaid.view.SelectItemActivity; instances=2; limit=1

does anyone have a clue what's going on?

thx

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate