[mono-android] Automatic activity start
Martyn Wendon
Martyn.Wendon at TCSJOHNHUXLEY.COM
Sun Dec 18 11:30:06 EST 2011
Hi John,
Yes, we're inheriting Application and doing a *lot* of initialisation in OnCreate in order to provide application wide access to various objects.
It's an internal use application (a media display sign) that will be running 24/7 so the initial start time wasn't too much of a concern unti now!
We've worked around the timeout by writing a second application that has the BroadcastReceiver in it and that starts the first application, this seems to work ok and will likely eventually end up being a watchdog type service to ensure the main application is always running.
Thanks,
Martyn
Sent from my Android phone using TouchDown (www.nitrodesk.com)
-----Original Message-----
From: Jonathan Pryor [jonp at xamarin.com]
Received: Friday, 16 Dec 2011, 21:00
To: Discussions related to Mono for Android [monodroid at lists.ximian.com]
Subject: Re: [mono-android] Automatic activity start
On Dec 16, 2011, at 5:24 AM, Martyn Wendon wrote:
> So we're working on reducing application load time at the moment....
What device are you running this on? Unless you're providing a custom Application type and doing a ton of work within Application.OnCreate() or BroadcastReceiver.OnCreate(), I'm not sure why it would be taking 10s+ to hit your OnReceive() method...
- Jon
_______________________________________________
Monodroid mailing list
Monodroid at lists.ximian.com
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid
______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
______________________________________________________________________
______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
______________________________________________________________________
More information about the Monodroid
mailing list