Re: [mono-android] WCF call error

2011-09-09 Thread Narayan Sainaney
I had a service operation that was using a ref parameter and another that had an IList property. Removing the ref and converting the IList to an array now has me hitting the serve. That's progress. You're right in that the problem lay in the contract side - Thanks for the hint. I have classes d

[mono-android] Invalid IL code

2011-09-09 Thread Nicklas Møller Jepsen
Hi, When obfuscating my dlls with Dotfuscator I get the following when running my application on a device: ERROR/mono(5224): Unhandled Exception: System.InvalidProgramException: Invalid IL code in MyPackage.MyActivity:OnCreate (Android.OS.Bundle): IL_0019: pop I've used to Mono Migration Analyz

[mono-android] Alert Dialog in Activity Group

2011-09-09 Thread vsr28
Hi Guys, I want to have tabpanel for my application. I have achieved this by inheriting the class TabActivity. Now I want each sub-sequent activity should have the same tabpanel and from R & D, I came to know that this is possible by using ActivityGroup. I have followed below steps 1) Created t

Re: [mono-android] DataSetObservable missing public methods

2011-09-09 Thread Jonathan Pryor
On Sep 9, 2011, at 12:28 AM, riteshsahu wrote: > Another question is that when I implement ISpinnerAdapter, one of the > properties in the interface is public IntPtr Handle{get;} > > What should I return here? You should inherit from Java.Lang.Object, as it implements IJavaObject for you.

Re: [mono-android] How to deploy App To Market

2011-09-09 Thread mcgear
Thank you for the reply. Will this method install the mono runtime onto the device? If not, how can i bundle that up to send for the opposite coast users. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/How-to-deploy-App-To-Market-tp4774508p4786709.html Sent from

Re: [mono-android] How to deploy App To Market

2011-09-09 Thread Greg Shackles
For your release builds you should have the Shared Runtime option turned off. This will bundle the runtime into your application instead of using the shared runtime that's meant for quick debug builds. On Fri, Sep 9, 2011 at 11:19 AM, mcgear wrote: > Thank you for the reply. Will this method in

Re: [mono-android] Invalid IL code

2011-09-09 Thread Rolf Bjarne Kvinge
Hi Nicklas, There are issues with obfuscated assemblies in general with mono. The problem is that obfuscators create invalid files, inavlid IL, and all sorts of bad things to make decompilers fail on them, in short they scramble the assemblies as much as possible without causing failures when runn

Re: [mono-android] How to deploy App To Market

2011-09-09 Thread mcgear
Thank you for the answer. I was able to get something that installed on the device. However now i am facing a slightly different issue... Any help on this would be greatly appreciated. When i launch my application it immediately crashes. The log from the phone has the following (and much more

[mono-android] F/MonoDroid(19561): ERROR: Unable to detach current thread from the Java VM!

2011-09-09 Thread emalamisura
I consistently get this error: F/MonoDroid(19561): ERROR: Unable to detach current thread from the Java VM! It happens whenever I do an async operation, the Application doesn't die and appears to be stable afterwards, no odd behavior but this error just occurs over and over in LogCat as each async

[mono-android] How to target multiple API levels?

2011-09-09 Thread Andrew Russell
Can anyone provide information on or examples of how to target multiple API levels using Mono for Android? (Is it possible?) For example: I'd like to maintain compatibility with 1.6, while using some 2.2 APIs if they are available. Cheers, Andrew ___

Re: [mono-android] F/MonoDroid(19561): ERROR: Unable to detach current thread from the Java VM!

2011-09-09 Thread Jonathan Pryor
On Sep 9, 2011, at 5:31 PM, emalamisura wrote: > I consistently get this error: F/MonoDroid(19561): ERROR: Unable to detach > current thread from the Java VM! (I made that a Fatal error level? What was I thinking...) Ignore it. There's nothing you can do about it (and we should probably remove