[mono-android] Calling OnStart causes ForceClose

www at gencode.com www at gencode.com
Sun Mar 27 09:28:10 EDT 2011


If I put this in my activity 

        protected override void OnStart()

 

I get a force close.

 

I put a call to a webservice in the

        protected override void OnCreate(Bundle bundle)

 

but it crashes so I think I need to wait further in the lifecycle, I assume
the best place for this is on the OnStart?

 

Basically I am trying to populate a ListView from a service when the app
loads, not on a button press.

 

___________________________________________________________

Ed Scott | Microsoft Certified Solutions Developer (MCSD)

www:  <http://www.gencode.com/> http://www.gencode.com 

emaill:  <mailto:escott at gencode.com> escott at gencode.com
Location:  Earth, Milkyway Galaxy

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/mailman/private/monodroid/attachments/20110327/61a87f48/attachment.html 


More information about the Monodroid mailing list