On Aug 10, 2011, at 7:50 AM, BluePosition wrote:
> Whenever I start an activity the ActivityManager logs the following:
> Launch timeout expired, giving up wake lock
I suspect you're on the emulator. When I run monodroid-samples/HelloWorld [0]
on an N1, this is the `adb logcat` output I get:
I/ActivityManager( 96): Starting: Intent {
act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER]
flg=0x10200000 cmp=mono.samples.helloworld/.HelloAndroid } from pid 189
I/ActivityManager( 96): Start proc mono.samples.helloworld for
activity mono.samples.helloworld/.HelloAndroid: pid=14343 uid=10073 gids={3003}
I/ActivityThread(14343): Pub mono.samples.helloworld.__mono_init__:
mono.MonoRuntimeProvider
D/dalvikvm(14343): Trying to load lib
/data/data/mono.samples.helloworld/lib/libmonodroid.so 0x40513710
D/dalvikvm(14343): Added shared lib
/data/data/mono.samples.helloworld/lib/libmonodroid.so 0x40513710
F/*jonp* (14343): moonlight_install_signal_handlers
D/dalvikvm(14343): GC_CONCURRENT freed 1223K, 55% free 3087K/6727K,
external 1625K/2137K, paused 2ms+2ms
D/dalvikvm(14343): GC_CONCURRENT freed 450K, 52% free 3238K/6727K,
external 1625K/2137K, paused 2ms+8ms
I/ActivityManager( 96): Displayed
mono.samples.helloworld/.HelloAndroid: +2s386ms (total +9m35s445ms)
That is, it launches in 2.3s.
The fundamental problem is that the emulator is painfully slow, and I don't
know of any ways to speed things up to any significant degree. :-(
- Jon
[0] https://github.com/mono/monodroid-samples/tree/master/HelloWorld
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid