Re: [mono-android] Consuming web service

2012-03-20 Thread Jonathan Pryor
On Mar 20, 2012, at 5:29 PM, sfritsche wrote: > Did you ever figure out this problem consuming web services? I am getting > the same Unknown member: Invoke. It's been awhile, but I believe/suspect that the problem was due to the linker removing the Invoke method. Is this on a Debug build or a R

Re: [mono-android] Slow install times on emulators MonoDroid

2012-03-20 Thread Jonathan Pobst
Are you using Debug mode? Debug mode is designed to significantly reduce the amount taken to deploy apps. How large is your application .apk? Since you have purchased MFA, I would highly suggest debugging on a physical device as much as you can. It should be considerably faster than using G

[mono-android] Slow install times on emulators MonoDroid

2012-03-20 Thread closdesign
I am sure this has been brought up before, but, is there a way to speed up the installation process of applications to the emulators. This is getting ridiculous when we make a change to our project and then try running it, it takes 5 minutes or more just to load the project on the Device. There has

Re: [mono-android] Consuming web service

2012-03-20 Thread sfritsche
Did you ever figure out this problem consuming web services? I am getting the same Unknown member: Invoke. Thanks, Steve -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Consuming-web-service-tp4745854p5581302.html Sent from the Mono for Android mailing list archiv

Re: [mono-android] uiOptions="splitActionBarWhenNarrow"

2012-03-20 Thread Roy Goode
Hi Wally, Completely off topic here - but do you know when your MfA book will be published on the Amazon Kindle Store? Thanks, Roy On 20 March 2012 15:17, Wally McClure wrote: > Nevermind. I found the problem. I had forgotten to preface it with > "android:" Problem solved. > > Wally > > --

Re: [mono-android] uiOptions="splitActionBarWhenNarrow"

2012-03-20 Thread Wally McClure
Nevermind. I found the problem. I had forgotten to preface it with "android:" Problem solved. Wally From: theevilprogram...@hotmail.com To: monodroid@lists.ximian.com Date: Tue, 20 Mar 2012 15:48:48 -0400 Subject: [mono-android] uiOptions="splitActionBarWhenNarrow" I've written an e

[mono-android] uiOptions="splitActionBarWhenNarrow"

2012-03-20 Thread Wally McClure
I've written an example with Android ICS. I've tried to set uiOptions="splitActionBarWhenNarrow" as an attribute in the android manifest file just to understand what it does. So far, I can't find anything. Have any Android experts worked with it? Does it do anything for me? Wally

Re: [mono-android] profiling support in monodroid?

2012-03-20 Thread Rodrigo Kumpera
On Mon, Mar 19, 2012 at 2:32 PM, mcleodia wrote: > Hi Jon > > My next line of attack was to try to get the mono profiler running on the > mac, and try and chase down the leaked objects but unfortunately the > profiler requires the use of sgen and as soon as I run it using sgen, both > mono 2.10.8

Re: [mono-android] profiling support in monodroid?

2012-03-20 Thread Jonathan Pryor
On Mar 19, 2012, at 1:32 PM, mcleodia wrote: > I went away and tried to get the profiler running via environment variables > as per your suggestion, however I didn't see a way of invoking the profiler > other than using the command line option '--profile=log:heapshot'. iirc heapshot is a separ

Re: [mono-android] Calling System.Net.WebClient.DownloadData(string url) without INTERNET permission does'n cause any exceptions

2012-03-20 Thread Jonathan Pryor
On Mar 19, 2012, at 5:51 AM, PVoLan wrote: > Trying to call System.Net.WebClient.DownloadData(string url) without > > > > in manifest doesn't cause any exceptions. I don't see this on a Release build. (Debug builds automatically add INTERNET.) I get a System.Net.WebException for a NameResolut

Re: [mono-android] Sorting ArrayAdapter

2012-03-20 Thread Jonathan Pryor
On Mar 20, 2012, at 10:50 AM, dgoughnour wrote: > Is there an example of how to use ArrayAdapter.Sort(). No. Is there something wrong with creating and using a new class that implements IComparator? class MyComparer : Java.Lang.Object, Java.Util.IComparator { public int C

Re: [mono-android] StackOverflowException is MIA

2012-03-20 Thread Jonathan Pryor
On Mar 20, 2012, at 12:33 PM, Miha Markic wrote: > Hopefully is on to-do list. Yes, but it's hard to properly support, and thus other things tend to get higher priority (like sgen fixes, shortening the lifetime of Java.Lang.Object subclasses, etc.). > Do you have any suggestions how to track su

[mono-android] Sorting ArrayAdapter

2012-03-20 Thread dgoughnour
Is there an example of how to use ArrayAdapter.Sort(). I want to sort the items in my list. The contents of the list are dynamic which makes sorting the data before adding it to the adapter less desirable. Thanks Dave Goughnour -- View this message in context: http://mono-for-android.1047100.n5.

Re: [mono-android] StackOverflowException is MIA

2012-03-20 Thread Miha Markic
:-) Hopefully is on to-do list. Do you have any suggestions how to track such problems? (just in case). BTW I think catching Task exceptions has similar problems. Correct? Miha -Original Message- From: monodroid-boun...@lists.ximian.com [mailto:monodroid-boun...@lists.ximian.com] On Beh

Re: [mono-android] StackOverflowException is MIA

2012-03-20 Thread Jonathan Pryor
On Mar 20, 2012, at 8:38 AM, Miha Markic wrote: > Why isn't StackOverflowException caught and thrown? Instead application just > exits. Historically, stack overflow support has been a "it's nice if it works" affair. We've never reliably handled it. Sorry, - Jon ___

Re: [mono-android] namespace System.Drawing in Xamarin API

2012-03-20 Thread Jonathan Pryor
On Mar 20, 2012, at 12:14 PM, GigaNTes wrote: > I need to render a rectangle of the specific color. There are at least two different ways to do this, depending on how you want to use it. You could create a custom View [0] and override View.OnDraw() [1] to draw a rectangle; for example, ApiDemo [

Re: [mono-android] namespace System.Drawing in Xamarin API

2012-03-20 Thread GigaNTes
I need to render a rectangle of the specific color. How can I implement it by using System.Drawing.Rectangle and System.Drawing.Color classes from OpenTK.dll? Could you show example of such code? Thanks in advance -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/name

Re: [mono-android] Error message when trying to compile and test on Android emulator

2012-03-20 Thread Jonathan Pobst
It looks like your emulator is never loading up. When the emulator loads up, slide to unlock it, and then try to deploy. If this isn't what you are seeing, what does the emulator screen look like? Jonathan On 3/19/2012 4:15 PM, closdesign wrote: I am getting an error of Unhandled exception in

Re: [mono-android] JniEnv problem

2012-03-20 Thread James Burton
Try using JAVAP to establish the correct list of parameters, as the ones you list for the method and the ones in the native call have no match. IIRC it's the "-s" parameter you want to use, along with the jar path (in class path) and the class name, but it's a while since I used it. Get the rig

Re: [mono-android] JniEnv problem

2012-03-20 Thread Andrew Sinclair
Maik, You've probably considered this already, but it might be worth going down a non-JNI route if possible, until the JNI-friendly Mono for Android changes come out... I've had a couple of cases (printing and sat nav) which would suit JNI but which I actually implemented using an intermediate Ja

Re: [mono-android] JniEnv problem

2012-03-20 Thread Jonathan Pryor
On Mar 20, 2012, at 10:10 AM, Hänke, Maik wrote: I suspect that the problem is that your native method wants `int lIdentifier`: > public static native int Msg_UpdateOptions(int lIdentifier, boolean bEnabled, > boolean bQueue, String functionName, int convention, Object callBackObj); > > I impo

Re: [mono-android] JNIENV Call Syntax

2012-03-20 Thread Jonathan Pryor
On Mar 20, 2012, at 5:15 AM, GavinBryan wrote: > Thanks Jon, perfect and all working now. Is there a good a good resource > anywhere you can recommend for reading up the details of JNIENV. We're currently working on a "JNI within Mono for Android" document. In the meantime, there's the actual J

[mono-android] JniEnv problem

2012-03-20 Thread Hänke , Maik
Hi, I try to use a 3rd party library with JNI. I have the following java method header: public static native int Msg_UpdateOptions(int lIdentifier, boolean bEnabled, boolean bQueue, String functionName, int convention, Object callBackObj); I import the method with this code: public

[mono-android] StackOverflowException is MIA

2012-03-20 Thread Miha Markic
Hi guys, Why isn't StackOverflowException caught and thrown? Instead application just exits. Imagine this code. Test(); ... void Test() { Test(); } The reason I am asking is because it is hard to pinpoint the endless recursion (source of the exception) when it happens. Miha

Re: [mono-android] JNIENV Call Syntax

2012-03-20 Thread GavinBryan
Thanks Jon, perfect and all working now. Is there a good a good resource anywhere you can recommend for reading up the details of JNIENV. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/JNIENV-Call-Syntax-tp5578767p5579412.html Sent from the Mono for Android mailin

Re: [mono-android] namespace System.Drawing in Xamarin API

2012-03-20 Thread GigaNTes
Thank you very match for helping. Your advice was very helpfull -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/namespace-System-Drawing-in-Xamarin-API-tp5578365p5579377.html Sent from the Mono for Android mailing list archive at Nabble.com.

Re: [mono-android] FlurryAnalytics

2012-03-20 Thread Patrik Ahlenius
Stuart, Thanks! Seems to work great All the best / Patrik ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid