[mono-android] Time out on async task with the 4.6 release

2013-05-20 Thread Paul Johnson
Hi, Using the current stable version of monodroid, is there a way to add a timeout to an async task. There are suggestions on stackoverflow in Java, but nothing in C# specific to Android (well, none that google threw back to me). I'm making a http request and need it to return if there is no

Re: [mono-android] Time out on async task with the 4.6 release

2013-05-20 Thread Jonathan Pryor
On May 20, 2013, at 8:19 AM, Paul Johnson wrote: > Using the current stable version of monodroid, is there a way to add a > timeout to an async task. Which Task? Android.OS.AsyncTask or System.Threading.Tasks.Task? For TPL, this might be handy: http://blogs.msdn.com/b/pfxteam/archive/2

Re: [mono-android] Debugging Nexus 10 reboots while app open

2013-05-20 Thread kaalus
My app using Mono For Android randomly throws "Object reference not set to an object" exceptions on Nexus 10 (only). On all other devices it works fine. I can sometimes catch the exceptions in the debugger. The location these are thrown from is random and does not seem to have anything to do with

Re: [mono-android] AutoCompleteTextView (con't)

2013-05-20 Thread gspro
Spencer wrote > Try calling ca.NotifyDataSetChanged() after you've reloaded your adapter > from the service. What should be in that method? I put this method in the adapter, but not sure how to implement. It gets called, but the list still doesn't get displayed. public override void NotifyDataSe