android - Launch another intent from AndEngine activity -
i have 2 activities, mainmenuactivity , gameactivity, each inherit andengine's basegameactivity. i'm trying launch game main menu:
startactivity(new intent(getapplication(), gameactivity.class)); finish();
this being called within onscenetouchevent. causes application crash in poolupdatehandler::onupdate, on line says "synchronized (scheduledpoolitems)".
i feel should simple. clues?
try suggestion swapping out getappliction()
this
. want pass in reference current activity's context rather passing in application reference.
Comments
Post a Comment