Re: [mono-android] Nothing being passed back from a webservice

2012-03-02 Thread Stuart Lodge
At a guess, it's to do with timing. You could be returning your list f from your function before the Async network call has occurred. To get around this, change your method from: private List DoThis() to: private void DoThisAndCallMeBack(Action> callback) And then modify the return stat

[mono-android] Multiple proj configurations

2012-03-02 Thread tsukrov
Hi! I would like to have different project configuration for different architectures. This way I could build the proj separately for x86/arm/whatever... Is it possible? I could not manage to save this setting for the conf. -- View this message in context: http://mono-for-android.1047100.n5.nabb

Re: [mono-android] Nothing being passed back from a webservice

2012-03-02 Thread nodoid
Hi, That's getting me a good bit further, but there is still something not quite right. The new code looks like this private string rTrack; public ListgetUpcomingRaces(string track) { Listf = new List(); rTrack = track; f = getUpcomingR

Re: [mono-android] Problem Connection Sqlserver in Release Mode

2012-03-02 Thread manavmenace
Just wanted to know, how that problem got solved, We are also facing the same problem. Also, is there some other way for database conection, like Client Server architechture. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Problem-Connection-Sqlserver-in-Release-Mod

Re: [mono-android] Nothing being passed back from a webservice

2012-03-02 Thread Stuart Lodge
Passing in an Action is an asynchronous programming trick - I think this is "functional programming" (and someone will hopefully correct me if I'm wrong. Basically you would declare your method like: private void getUpcomingRaces(Action> callback) { ... } Then you would call it with: priv

[mono-android] Android compatibility pack

2012-03-02 Thread Piotr Kryger
Hi, I would like to use fragments API in my app. The problem is, my app should also support Android 2.2/2.3. In java you can use Android Compatibility Pack to access fragments even on Android 1.6. In M4A , AFAIK, it won't be possible since there is no way to inherit java types defined in third par

Re: [mono-android] Android compatibility pack

2012-03-02 Thread Jonathan Pryor
On Mar 2, 2012, at 4:44 PM, Piotr Kryger wrote: > In M4A , AFAIK, it won't be possible since there is no way to inherit java > types defined in third party jar (or maybe there is a way?). There is a way, it's just very painful. Proper docs haven't been published, but there is a sample that shows

[mono-android] UI threading problem

2012-03-02 Thread nodoid
Hi, This could possibly be down to my current state of needing sleep but then again, it could be something else. I've searched for examples on how to fix the problem below, but can't seem to find what I need and it's starting to drive me potty! Essentially, I have a race condition whereby the web

Re: [mono-android] Error Emulator OpenTk

2012-03-02 Thread johnHolmes
No problem, I've found a workaround. Another topic. I'm not sure it's a real issue, but sometimes when the AndroidGameView renders graphics stuff, like textures, but for some reason there is a drop of FPS (app is running slow for a bit), I can cleary notice some sort of flikering. All textures app

[mono-android] Version 4.0.4, Compatibility.v4.dll, and Fragments

2012-03-02 Thread JeffWeber
I notice version 4.0.4 has Mono.Android.Compatibility.v4.dll in it's list of API Changes. Does this contain support for Fragments for pre Honeycomb versions of android? I installed the 4.0.5 beta, but cannot find the compatibility stuff anywhere. -Jeff Weber -- View this message in context: