[mono-android] simple web client crash

2011-08-28 Thread John Murray
Just transported this code from a windows form app testbed - where it is working fine in same VS2010 debugger Can anyone tell me - should I be handling things differently in mandroid? It simply hangs on the line Wc.Uploaddata() and I cant get a clue what's causing it Obviously I've checked c

[mono-android] Excessive JNI global references

2011-08-28 Thread Willem Meints
Hi, In my app I'm getting a crash with the promising message: "Excessive JNI global references". The runtime is right, I have too many of them and I do want to fix the issue, however there's one little hiccup. I have a custom list adapter that connects data I receive from a webservice to list.

[mono-android] Adding permissions to an Activity

2011-08-28 Thread Nicklas Møller Jepsen
Can somebody tell me how to add a permission to my application? I want to be able to send an sms so in a "normal" android app I would add android.permission.SEND_SMS to the manifest, but how is this done in mono? Thanks, Nicklas ___ Monodroid mailing li

Re: [mono-android] Excessive JNI global references

2011-08-28 Thread Jonathan Pryor
On Aug 28, 2011, at 6:34 AM, Willem Meints wrote: > In my app I’m getting a crash with the promising message: “Excessive JNI > global references”. > The runtime is right, I have too many of them and I do want to fix the issue, > however there’s one little hiccup. ... > Is there any way I can fix

Re: [mono-android] Adding permissions to an Activity

2011-08-28 Thread Wally McClure
Its fairly easy, but not intuitive.Bring up the project properties.There should be an option displayed about adding AndroidManifest.xml. Do it.You can edit the resulting .xml file manually, or via the project properties options. I would recommend doing this via the project properties.The .xml

Re: [mono-android] simple web client crash

2011-08-28 Thread John Murray
Sheer bloodymindedness J I found a workaround - Just leave out the headers Don t know what would happen if the server objected to this but in this case it works Strange that adding headers worked in a straightforward c# Windows app but not in Mono for Android The exception code g

Re: [mono-android] Mono for Android 1.0.3 Available [Link Fixed]

2011-08-28 Thread Andrew Sinclair
Jon, This has been logged: http://bugzilla.xamarin.com/show_bug.cgi?id=496 Let me know if you need anything else. Thanks, Andy -Original Message- From: monodroid-boun...@lists.ximian.com [mailto:monodroid-boun...@lists.ximian.com] On Behalf Of Jonathan Pryor Sent: 24 August 2011 16:15

Re: [mono-android] Adding permissions to an Activity

2011-08-28 Thread Nicklas Møller Jepsen
Ahh, thank you. It's really easy - when you know where to look :) Nicklas From: monodroid-boun...@lists.ximian.com [mailto:monodroid-boun...@lists.ximian.com] On Behalf Of Wally McClure Sent: 28. august 2011 15:21 To: monodroid@lists.ximian.com Subject: Re: [mono-android] Adding permissions to a

Re: [mono-android] simple web client crash

2011-08-28 Thread Jonathan Pryor
On Aug 28, 2011, at 11:41 AM, John Murray wrote: > Sheer bloodymindedness J I found a workaround > - Just leave out the headers > Don t know what would happen if the server objected to this but in this case > it works > > Strange that adding headers worked in a straightforward c# Window

Re: [mono-android] Could not create the Android package

2011-08-28 Thread Stuart Johnson
Is there any way I can get more log data to find out what is wrong? I cant deploy my app to my phone or emulator. Failing that I am going to have to create a new app, and copy everything over file by file until I find the culprit. On 27/08/11 19:34, Stuart Johnson wrote: I have removed ever

Re: [mono-android] Could not create the Android package

2011-08-28 Thread SRI
Hi May be you can try to directly use aapt to find the error. Some times I have found the error in resources using aapt. aapt package -m -v -f -M AndroidManifest.xml -S Resources -I android.jar -F arshu.grid.apk Please replace the AndroidManifest.xml, Resources, android.jar with actu