Here's a splash screen example from an older forum post from Brian Long that's worked for me (see also: http://mono-for-android.1047100.n5.nabble.com/Slow-poor-performance-td4390223.html;cid=1313068734524-953 )
http://blong.com/Downloads/MonoAndroidJavaSplashScreenApp.zip It's pretty simple, and all the instructions are there in comments. -Matt On Thu, Aug 11, 2011 at 9:15 AM, Jonathan Pryor <j...@xamarin.com> wrote: > On Aug 11, 2011, at 4:25 AM, BluePosition wrote: > > Jonathan Pryor-2 wrote: > >> That is, it launches in 2.3s. > > > > This is way to slow. > > If 2.3s is too slow for startup, would a splash screen work? > > Unfortunately we have no samples for what to do for custom splash screens, > but it involves writing a Java activity (the "real" activity) which displays > the splash screen (google for Java code) then launches the managed activity > through the generated Android Callable Wrapper. You'll want to investigate > e.g. obj/Debug/android/src to see the generated wrappers (for types & names) > and obj/Debug/android/AndroidManifest.xml (which also provides the types & > names you can use with Activity.startActivity). > > > I've been running the app on a HTC Sensation and the startup speed isn't > much better on that device. > > If your app is taking far longer that 2.3s to launch, then you're doing to > much work in your Activity.OnCreate() method. Try doing more work on a > background thread. > > - Jon > > [0] http://www.htc.com/europe/product/sensation/specification.html > [1] http://www.gsmarena.com/htc_google_nexus_one-3069.php > > _______________________________________________ > Monodroid mailing list > Monodroid@lists.ximian.com > > UNSUBSCRIBE INFORMATION: > http://lists.ximian.com/mailman/listinfo/monodroid >
_______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid