[mono-android] Errors with array adapter

2011-09-28 Thread gabriel.b...@gmail.com
got tyhis error when tying to use arrayadapter " at Android.Runtime.JNIEnv.GetMethodID (IntPtr kls, System.String name, System.String signature) [0x00024] in /home/jpobst/Desktop/monodroid/Mono.Android/src/Runtime/JNIEnv.cs:310 \n at Android.Widget.ArrayAdapter`1[AvanteSales.Book]..ctor (Android

[mono-android] Using IsolatedStorage?

2011-09-28 Thread Tomasz Cielecki
Hello! I can't seem to find any information about System.IO.IsolatedStorage for MonoDroid apart from the docs, which are not very describing. So I just tried out the code I already had running on WP7 and using that on MonoDroid. But when compiling it I get the following errors: "C:\ENM\Dev\WebCli

Re: [mono-android] ApiDemo error + debugging problems

2011-09-28 Thread Miljenko Cvjetko
Hi On 2011.09.23 21:33, Jonathan Pryor wrote: On Sep 21, 2011, at 8:55 AM, Miljenko Cvjetko wrote: ApiDemo.cs gets exception on line 84 list = list.OrderBy (p => (p.ActivityInfo.NonLocalizedLabel == null ? "" : p.ActivityInfo.NonLocalizedLabel.ToString ()).ToString ()).ToList (); ... 09-21

Re: [mono-android] Unhandled exception doesn't show any info in VS

2011-09-28 Thread Miljenko Cvjetko
Hi This behavior: "VS just stops on that line and says nothing except green highlight." was exactly what we had with APIDemos (both native and MonoDroid were installed). So could it mean that there is not enough memory like in our case? regards mel On 2011.09.27 23:57, Jonathan Pryor wrote: > T

Re: [mono-android] Using IsolatedStorage?

2011-09-28 Thread Tomasz Cielecki
Hello again, This seems to be an error in my entire solution and not in IsolatedStorage. Creating a new project in the solution without adding any files and setting the newly created project as startup project triggers the same error. Guess I need to debug some more. Though I got the storage of a

Re: [mono-android] Mono for Android 1.9 Preview Released

2011-09-28 Thread Jonathan Pryor
On Sep 28, 2011, at 2:58 AM, gabriel.b...@gmail.com wrote: > Just installed 1.9 recompiled targeting api 8 and get this error before the > program was evem loaded Yes, but what does the program _do_? The default template shouldn't be pulling in Java.Lang.IRunnable. Is this a Debug build or a Rel

Re: [mono-android] ApiDemo error + debugging problems

2011-09-28 Thread Jonathan Pryor
On Sep 28, 2011, at 8:06 AM, Miljenko Cvjetko wrote: > On 2011.09.23 21:33, Jonathan Pryor wrote: >> Unfortunately, if this is the case the answer is "don't do that": either run >> on Hardware (where the GREF limit is significantly higher), or uninstall the >> Android API Demo (so that fewer acti

Re: [mono-android] Unhandled exception doesn't show any info in VS

2011-09-28 Thread Jonathan Pryor
On Sep 28, 2011, at 9:26 AM, Miljenko Cvjetko wrote: > This behavior: > "VS just stops on that line and says nothing except green highlight." > was exactly what we had with APIDemos (both native and MonoDroid > were installed). Does the Android Debug Log contain any useful information? ht

Re: [mono-android] Using IsolatedStorage?

2011-09-28 Thread Jonathan Pryor
On Sep 28, 2011, at 9:55 AM, Tomasz Cielecki wrote: > So that is pretty nice. Could be cool if I could just reuse my > implementation from WP7, but this works fine as well. Mono for Android provides a large degree of source compatibility with Silverlight, WP7, and desktop .NET, but _not_ assembly

[mono-android] congrats on 1.9.0

2011-09-28 Thread Wally McClure
Congrats to the m4a team on shipping 1.9.0 and getting this out. I know its been a long and winding road to get there. I'm personally really excited to take a look at it. Wally ___ Monodroid mailing list Monodroid@

Re: [mono-android] Mono for Android 1.9 Preview Released

2011-09-28 Thread gabriel.b...@gmail.com
It is linking enable and is debug The problem just show one activity like the hello world 2011/9/28 Jonathan Pryor > On Sep 28, 2011, at 2:58 AM, gabriel.b...@gmail.com wrote: > > Just installed 1.9 recompiled targeting api 8 and get this error before > the program was evem loaded > > Yes, but w

[mono-android] Using Styles and Themes

2011-09-28 Thread Agarwal, Tushar
Hi,  I have recently started using Mono Android. I have worked on Android using Java. The native Java environment supports using styles and themes. When I am using themes in my application (mono) it is giving me error. When I am applying style tag to ImageButton, it says - "The 'style' attribute

Re: [mono-android] Using Styles and Themes

2011-09-28 Thread Jonathan Pryor
On Sep 28, 2011, at 3:48 PM, Agarwal, Tushar wrote: > When I am using themes in my application (mono) it is giving me error. > When I am applying style tag to ImageButton, it says - "The 'style' attribute > is not declared". Turn off "warnings as errors." That's a warning, because your XML doesn'

Re: [mono-android] Mono for Android 1.9 Preview Released

2011-09-28 Thread Jonathan Pryor
Sorry for the delay, it took me awhile to remember the cause of this issue. On Sep 27, 2011, at 8:57 PM, gabriel.b...@gmail.com wrote: > I'm getting the foloowing exception > > [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load > type 'Java.Lang.IRunnableAdapter'. > at

Re: [mono-android] Errors with array adapter

2011-09-28 Thread Jonathan Pryor
Filed as http://bugzilla.xamarin.com/show_bug.cgi?id=1114 Thanks, - Jon On Sep 28, 2011, at 6:07 AM, gabriel.b...@gmail.com wrote: > got tyhis error when tying to use arrayadapter > > " at Android.Runtime.JNIEnv.GetMethodID (IntPtr kls, System.String name, > System.String signature) [0x00024

Re: [mono-android] DeflateStream giving back a 0 length stream when compressing

2011-09-28 Thread Jonathan Pryor
On Sep 16, 2011, at 9:29 PM, Sean Irving wrote: > Whenever I try to use the DeflateStream to compress data I get back a 0 byte > stream. I found a defect in MonoTouch with the same results, but it is > marked resolved. Anyone else run into this? Filed as: http://bugzilla.xamarin.com/show_bug.c

Re: [mono-android] How to send a custom Data Class to next Activity?

2011-09-28 Thread Jonathan Pryor
On Sep 16, 2011, at 9:11 AM, efontana wrote: > This technique illustrates just how bad the Android API is. > > Why the hell can't you new up your own Intent, why do they have to do it for > you? You can new up your own Intent, and frequently do so: https://github.com/xamarin/monodroid-

Re: [mono-android] AutoResetEvent present?

2011-09-28 Thread Jonathan Pryor
On Sep 16, 2011, at 6:54 AM, Vladimir Dimitrov wrote: > Looks like I missed the more important part: ... > monodroid : error 1: Mono.Linker.ResolutionException: Can not resolve > reference: System.Boolean System.Threading.AutoResetEvent::Set() > [E:\Projects\Work\Warehouse\IncoDroid\IncoDroid.csp

Re: [mono-android] Trying to build against API-10 and cant

2011-09-28 Thread Jonathan Pryor
On Sep 13, 2011, at 5:32 PM, Brian Graham wrote: > Hi all, Not sure if i've done something stupid but I'm trying to target the > 2.3.3 API-10 platform and I cannot see how to do it. I have only installed > the Android SKD for 10 and I have installed the latest Mono for Android. When > I create a

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

2011-09-28 Thread Jonathan Pryor
On Sep 9, 2011, at 9:11 PM, Andrew Russell wrote: > 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. Set

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

2011-09-28 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 know it says it's an error, but it's ignorable. We'll be removing this in the next release. - Jon ___

Re: [mono-android] Using Styles and Themes

2011-09-28 Thread SRI
HI, You can follow the Spash Screen Guide as example for creating a custom theme http://android.xamarin.com/Documentation/Guides/Creating_a_Splash_Screen Best Regards, Sridharan Srinivasan Alias Sri. On Thu, Sep 29, 2011 at 3:48 AM, Agarwal, Tushar wrote: > Hi, > I have recently starte