Hello MonoDroiders:

 

I recently asked about why my app doesn't resume where you left off like
other apps.  I use two attributes on my main activity (launcher=true) one is
alwaysRetainTaskState = true and the other is launchMode.  I later changed
my app to use the splash screen concept shared here a week or two ago which
now has me adding the launcher activity in the manifest directly.  Things
are working better by doing that and I discovered after some research that
launchMode of "singleTask" doesn't work right and the suggest to use
"singleInstance" resolves my problem, the app now resumes properly.  The one
person that suggested using the save/restore instance state, that is for the
activity, not the app as a whole.

 

So today I decided to try without using the splash implementation and again
the app would NOT resume where you left off even with the proper attribues
set (singleinstance, etc.).  So it appears there is a bug in 1.1 with the
LaunchMode attribute of the activity.  I switched back to the splash
implementation and the manual entry for the launcher activity in the
manifest and all is fine again.

 

FYI

 

Neal Culiner

NC Software, Inc.

http://www.nc-software.com <http://www.nc-software.com/> 

 

_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to