Re: [mono-android] What's up with 4.2.3 debugging?

2012-07-18 Thread JLee
thanks for the feedback. I accidentally deleted my 4.2.1 installpackage at the Weekend and yesterday I saw, that it is not available in the downloadsection, anymore. The newest version is 4.2.2 (for win). 4.2.1 is only available for mac. Is there a chance to get the 4.2.1 win installer downloaded?

Re: [mono-android] P/Invoke fails with JavaSystem.Load() in static constructor (bug?)

2012-07-18 Thread Manski
Robert Jordan wrote > > You may get around this by adding another level of indirection: > > public static int getVersion() { > return getVersionInternal(); > } > > static int getVersionInternal() { > return get_version(); > } > > This way, the methods co

Re: [mono-android] Memory leak

2012-07-18 Thread Meinrad Recheis
Hi Terry, If I were you, I would deactivate one component of suspicion (or replace it with dummy code) and look if the problem goes away or persists. -- Henon On 18.07.2012 03:41, Terry151151 wrote: > I have a program that uses WebRequest and Sqlite. I sends request to the > server and then update

[mono-android] Turn off mail delivery

2012-07-18 Thread Manski
Hi, is it possible on this forum only to get responses for threads I subscribed to? When I click on "Turn off mail delivery" (under "more options") I just get an email telling me: > The results of your email command are provided below. Attached is your > original message. > > - Results: >

Re: [mono-android] Creating a Softkeyboard with mono

2012-07-18 Thread JLee
thanks for the info, that brought me further. I have added the following attributes to the InputMethodService: [Service(Name = "osksmartkeyboard.OSKSmartKeyboard", Label = "OSK Smartkeyboard", Permission = "android.permission.BIND_INPUT_METHOD")] [IntentFilter(new string[] { "android.view.InputMet

Re: [mono-android] Program that reproduces Mono4Android deadlock

2012-07-18 Thread Meinrad Recheis
Hi Jon, Thanks for looking over the issue. On 18.07.2012 00:54, Jonathan Pryor wrote: > On Jul 16, 2012, at 7:49 AM, Meinrad Recheis wrote: >> Another info: I just tested with an older Samsung Galaxy S that has only one >> core and couldn't reproduce any deadlocks even with 10 background threads

Re: [mono-android] Best way to work offline?

2012-07-18 Thread javitxin
Thanks. Finally, i am going to user sqlite.. i am doing a little engine to my data access...but i have a question.. How do I sync with my data server? do you have any example or tutorial to point me? Thanks -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Re-Best-

Re: [mono-android] Best way to work offline?

2012-07-18 Thread Goncalo Oliveira
If the data from the server only grows you can just use an auto-identifier and download everything above the one you have in the device. If not you must come up with a more complete sync algorithm. Also I suggest you take a look at CoolStorage from Vici Project before using the sqlite core librari

Re: [mono-android] Best way to work offline?

2012-07-18 Thread Miha Markic
CoolStorage looks like a simple and nice ORM. Thanks for the link. Miha From: monodroid-boun...@lists.ximian.com [mailto:monodroid-boun...@lists.ximian.com] On Behalf Of Goncalo Oliveira Sent: Wednesday, July 18, 2012 12:07 PM To: Discussions related to Mono for Android Subject: Re: [mono-androi

Re: [mono-android] Program that reproduces Mono4Android deadlock

2012-07-18 Thread Jonathan Pryor
I just had a horrifying thought... [0] Which ABI is your app set to use? The default is armeabi, which doesn't support multiple cores; armeabi-v7a is required to make use of multiple cores. In order for the armeabi runtime to work sanely on SMP devices, we use the setaffinity() system call to

[mono-android] HttpWebRequest does not react to network change (WiFi <-> 3g)

2012-07-18 Thread stefando
Hi, I am doing multiple web request in my app. I noticed that when the app starts the first HttpWebRequest chooses the active network. But the subsequent requests seems to be using the network which was picked at the start and *does not react to the network changes*. For example:

Re: [mono-android] Program that reproduces Mono4Android deadlock

2012-07-18 Thread Meinrad Recheis
On 18.07.2012 13:07, Jonathan Pryor wrote: > I just had a horrifying thought... [0] > > Which ABI is your app set to use? The default is armeabi, which doesn't > support multiple cores; armeabi-v7a is required to make use of multiple cores. I had it compiled to the default (armeabi). Then after y

Re: [mono-android] Program that reproduces Mono4Android deadlock

2012-07-18 Thread Jonathan Pryor
On Jul 18, 2012, at 9:13 AM, Meinrad Recheis wrote: > Would be nice, if you guys could do a test on a Galaxy Tab 10.1. I'll see if I can readily obtain one. In theory we have one around here... Which Android version are you on? 3.1? 4.0? Thanks, - Jon __

Re: [mono-android] Program that reproduces Mono4Android deadlock

2012-07-18 Thread Meinrad Recheis
On 18.07.2012 16:46, Jonathan Pryor wrote: > On Jul 18, 2012, at 9:13 AM, Meinrad Recheis wrote: >> Would be nice, if you guys could do a test on a Galaxy Tab 10.1. > I'll see if I can readily obtain one. In theory we have one around here... > > Which Android version are you on? 3.1? 4.0? Jon, than

Re: [mono-android] Memory leak

2012-07-18 Thread Sayed Arian Kooshesh
imho webrequest sucks here. use the native java and see if you have the same problem. Also, memory leaks might be related to your code. Are you properly using usings? Have you considered scope? The GC is pretty smart unless you have bad scoping... Also how are you cleaning up your references ? If

Re: [mono-android] HttpWebRequest does not react to network change (WiFi <-> 3g)

2012-07-18 Thread Gonzalo Paniagua Javier
On Wed, Jul 18, 2012 at 7:25 AM, stefando wrote: > Hi, > > I am doing multiple web request in my app. > > I noticed that when the app starts the first HttpWebRequest chooses the > active network. > > But the subsequent requests seems to be using the network which was picked > at the start an

[mono-android] HttpWebRequest connection problem & Binding Apache HttpClient

2012-07-18 Thread Jones
Hi, I've got massive problems with async request with HttpWebRequest, so request got cancelled when a few requests has been done. Setting the KeepAlive-parameter to false doesn't make any changes. Also setting the HttpWebRequest's ServicePoint.ConnectionLimit and global ServicePointManager.Default

[mono-android] ScaleGestureDetector missing properties

2012-07-18 Thread Darren Abbott
I am trying to make use of the X and Y components of the span in a ScaleGestureListener. Per the Android and the Xamarin documentation, I should be able to query CurrentSpanX, CurrentSpanY, PreviousScanX, and PreviousScanY properties from a ScaleGesterDetector object. However, those fields don't

Re: [mono-android] ScaleGestureDetector missing properties

2012-07-18 Thread Jonathan Pryor
On Jul 18, 2012, at 9:53 PM, Darren Abbott wrote: > I am trying to make use of the X and Y components of the span in a > ScaleGestureListener. Per the Android and the Xamarin documentation, I > should be able to query CurrentSpanX, CurrentSpanY, PreviousScanX, and > PreviousScanY properties fro