Hi, yes I do have the splash screen setup like that, so there is at least
instant feedback the app is loading, but it then sits there just a bit too
long. 

Good to hear it's set to improve in the next release... When might that be
pray tell?



On 26/11/11 12:18 PM, "Jonathan Pobst" <mon...@jpobst.com> wrote:

>Hello!
>
>We've shaved about a second off of startup time for the next release
>(measured on a Nexus One).
>
>Also, you might want to try this method of splash screen, as the image
>shows immediately when the user launches the app, before the monodroid
>runtime is initialized.
>
>http://docs.xamarin.com/android/tutorials/Creating_a_Splash_Screen
>
>Jonathan
>
>
>On 11/25/2011 7:08 PM, Steven Pack wrote:
>> Thanks Chris. My issue with startup performance is from when I tap the
>> application to when I get my first chance to run code. Once I get my
>>first
>> OnCreate() call on my SplashActivity, I do utilize background threads
>>and
>> and IoC container, but it's loading the runtime that's the problem.
>>
>> I know there'll be a lag, and I've seen 2-3secs quoted, but that's
>> optimistic. On my device (2 year old HTC legend running Android 2.2),
>>it's
>> 5-10 secs. (sample log extract below)
>>
>>
>> 2011-11-26 11:54:32.372 I 97/ActivityManager: Starting activity: Intent
>>{
>> act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER]
>> flg=0x10200000 cmp=com.xxx.android/.SplashActivity }
>> 2011-11-26 11:54:32.492 I 97/ActivityManager: Start proc com.xxx.android
>> for activity com.xxx.android/.SplashActivity: pid=23858 uid=10055
>> gids={1015, 3003}
>> 2011-11-26 11:54:32.492 I 23858/pthread: ## thread 23858 is creating
>> thread @dalvik/vm/Thread.c:1795
>> 2011-11-26 11:54:32.502 I 23858/pthread: ## thread 23859 is created
>>success
>> 2011-11-26 11:54:32.522 I 23858/pthread: ## thread 23858 is creating
>> thread @dalvik/vm/Thread.c:1795
>> 2011-11-26 11:54:32.522 I 23858/pthread: ## thread 23860 is created
>>success
>> 2011-11-26 11:54:32.592 I 23858/pthread: ## thread 23858 is creating
>> thread @dalvik/vm/Thread.c:1795
>> 2011-11-26 11:54:32.592 I 23858/pthread: ## thread 23861 is created
>>success
>> 2011-11-26 11:54:32.602 I 23858/pthread: ## thread 23858 is creating
>> thread @frameworks/base/libs/utils/Threads.cpp:139
>> 2011-11-26 11:54:32.622 I 23858/pthread: ## thread 23862 is created
>>success
>> 2011-11-26 11:54:32.632 I 23858/pthread: ## thread 23862 is creating
>> thread @frameworks/base/libs/utils/Threads.cpp:139
>> 2011-11-26 11:54:32.642 I 23858/pthread: ## thread 23863 is created
>>success
>> 2011-11-26 11:54:32.712 I 73/pthread: ## thread 23864 is created success
>> 2011-11-26 11:54:32.712 I 73/pthread: ## thread 23865 is created success
>> 2011-11-26 11:54:32.792 I 23858/ActivityThread: Publishing provider
>> com.xxx.android.__mono_init__: mono.MonoRuntimeProvider
>> 2011-11-26 11:54:32.842 D 23858/dalvikvm: Trying to load lib
>> /data/data/com.xxx.android/lib/libmonodroid.so 0x44e02348
>> 2011-11-26 11:54:32.872 D 23858/dalvikvm: Added shared lib
>> /data/data/com.xxx.android/lib/libmonodroid.so 0x44e02348
>> 2011-11-26 11:54:33.332 I 23858/pthread: ## thread 23866 is created
>>success
>> 2011-11-26 11:54:33.552 D 183/BT HS/HF: gsmAsuToSignal=6
>> 2011-11-26 11:54:34.042 2 97/GpsLocationProvider:
>> ServiceState.STATE_IN_SERVICE
>>
>> 2011-11-26 11:54:34.042 D 97/ConnectivityService: getMobileDataEnabled
>> returning true
>> 2011-11-26 11:54:34.052 D 97/TelephonyRegistry: notifyDataConnection()
>> state=2isDataConnectivityPossible()true, reason=null
>> 2011-11-26 11:54:34.052 D 97/TelephonyRegistry:
>> broadcastDataConnectionStateChanged()
>> state=CONNECTEDtypes=default,dun,supl, interfaceName=rmnet0
>> 2011-11-26 11:54:34.072 D 97/NetworkLocationProvider:
>> onDataConnectionStateChanged 3
>> 2011-11-26 11:54:34.092 D 97/ConnectivityService: getMobileDataEnabled
>> returning true
>> 2011-11-26 11:54:34.122 D 97/MobileDataStateTracker: replacing old
>> mInterfaceName (rmnet0) with rmnet0 for hipri
>> 2011-11-26 11:54:34.122 D 97/MobileDataStateTracker: replacing old
>> mInterfaceName (rmnet0) with rmnet0 for supl
>> 2011-11-26 11:54:34.132 D 97/MobileDataStateTracker: replacing old
>> mInterfaceName (rmnet0) with rmnet0 for dun
>> 2011-11-26 11:54:34.222 2 97/AlarmManager: Adding Alarm{4521c788 type 2
>> com.google.android.apps.maps} Dec 15 09:35:32 am
>> 2011-11-26 11:54:34.362 I 97/LSState:
>> EventReceiver:android.intent.action.NOTIFICATION_UPDATE
>> 2011-11-26 11:54:34.822 D 23858/dalvikvm: GC_FOR_MALLOC freed 11754
>> objects / 463408 bytes in 67ms
>>
>> 2011-11-26 11:54:35.042 D 23858/dalvikvm: GC_FOR_MALLOC freed 10024
>> objects / 469712 bytes in 62ms
>>
>> 2011-11-26 11:54:36.372 I 97/LSState:
>> EventReceiver:android.intent.action.NOTIFICATION_UPDATE
>> 2011-11-26 11:54:37.462 I 23858/pthread: ## thread 23867 is created
>>success
>> 2011-11-26 11:54:37.782 I 97/ActivityManager: Displayed activity
>> com.xxx.android/.SplashActivity: 5309 ms (total 5309 ms)
>>
>>
>>
>> _______________________________________________
>> 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

Reply via email to