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

2011-09-27 Thread gabriel.b...@gmail.com
Just installed 1.9 recompiled targeting api 8 and get this error before the program was evem loaded 2011/9/28 Jonathan Pryor > 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:

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

2011-09-27 Thread Brian Graham
Hi Jonathan Installed 1.9 Selected Android-10 Recompiled & Deployed to Samsung I9000 2.3.4 Worked first time!! Thanks -Original Message- From: Jonathan Pobst [mailto:mon...@jpobst.com] Sent: Wednesday, 28 September 2011 11:08 a.m. To: Discussions related to Mono for Android Cc: Brian Gr

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

2011-09-27 Thread Jonathan Pryor
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 System.Type.GetType (System.String typeName, Boolean throwOnError) > [0x00

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

2011-09-27 Thread gabriel.b...@gmail.com
I'm getting the foloowing exception [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type 'Java.Lang.IRunnableAdapter'. at System.Type.GetType (System.String typeName, Boolean throwOnError) [0x0] in :0 at Android.Runtime.JNIEnv.RegisterJniNatives (IntPtr typeNam

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

2011-09-27 Thread gabriel.b...@gmail.com
I'm having a problem when deploing to device with api 8 android 2.2 Giving null reference exception any words about debugger improvments or android x86? 2011/9/27 Jonathan Pobst > Yes, we've always shipped 10, but they were broken. They should work in > this release now. > > Jonathan > > On 9

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

2011-09-27 Thread Jonathan Pobst
Yes, we've always shipped 10, but they were broken. They should work in this release now. Jonathan On 9/27/2011 5:04 PM, Brian Graham wrote: > Hi Jonathan, > > Does this version have bindings for the android-10 platform as well? > > Keep up the great work! > > Brian > > -Original Message---

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

2011-09-27 Thread Jonathan Pobst
Also, I just pushed a HC sample to Github (HoneycombGallery): https://github.com/xamarin/monodroid-samples Jonathan On 9/27/2011 4:05 PM, Jonathan Pobst wrote: > Good News Everyone! > > We are happy to announce a new preview release of Mono for Android > including, among other things, Honeycomb

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

2011-09-27 Thread Brian Graham
Hi Jonathan, Does this version have bindings for the android-10 platform as well? Keep up the great work! Brian -Original Message- From: monodroid-boun...@lists.ximian.com [mailto:monodroid-boun...@lists.ximian.com] On Behalf Of Jonathan Pobst Sent: Wednesday, 28 September 2011 10:05 a

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

2011-09-27 Thread Jonathan Pryor
Try using Mono for Android 1.2.0. This should print a stack trace for unhandled exceptions. - Jon On Sep 14, 2011, at 3:30 AM, archeg wrote: > Hi, I've already asked that in stackoverflow. Thought it would be reasonable > to ask that here too. > > I'm trying to play with Android emulator and

Re: [mono-android] Activity is not shown.

2011-09-27 Thread Jonathan Pryor
Sorry for the delay. On Sep 16, 2011, at 3:45 PM, endlessloop wrote: > BTW i'm a total noob at this so i will upload some images for this topic. > > http://mono-for-android.1047100.n5.nabble.com/file/n4811781/step01.jpg > http://mono-for-android.1047100.n5.nabble.com/file/n4811781/step02.jpg >

[mono-android] Mono for Android 1.9 Preview Released

2011-09-27 Thread Jonathan Pobst
Good News Everyone! We are happy to announce a new preview release of Mono for Android including, among other things, Honeycomb bindings! We are doing 1.9 as a beta for 2.0. This is because there are several big behind-the-scenes changes that could potentially cause regressions. These changes

Re: [mono-android] Honeycomb Emulator and "Hello World"

2011-09-27 Thread Jonathan Pryor
On Sep 21, 2011, at 3:32 PM, Dan Ransom wrote: > I’ve tried that. I turned on v7 by checking the “armeabi-v7a” setting in the > Application tab of the project properties. I left “armeabi” checked. But now > I get this build error: > > monodroid : error 1: System.InvalidOperationException: Unsup

Re: [mono-android] Weird Error when invoking Service

2011-09-27 Thread Jonathan Pryor
On Sep 23, 2011, at 6:02 PM, mcgear wrote: > I am getting a weird error when i invoke a service. This does not happen all > the time, but happens very infrequently. I havn't been able to isolate a > scenario that causes it... I've seen this before on the list, but I don't remember any resolut

[mono-android] ExpandableListView ChildClick

2011-09-27 Thread bauermt40
Hi everyone, I'm stuck on how to handle a child click with an expandable list view. Can someone please point me in the right direction? [Activity(Label = "My Activity", MainLauncher=true)] public class ExpandListActivity : ExpandableListActivity { ServiceFactory sf = new Servi

Re: [mono-android] ZXing port to mono for Android

2011-09-27 Thread Johnsor
This actually works, thanks for the info. Anybody has an example on how to handle the build in Camera to get the barcodes ? I've looked on the API demo / graphics / camera view, but there is a long way. Regards Johnsor -- View this message in context: http://mono-for-android.1047100.n5.nabble.co

[mono-android] ZXing port to mono for Android

2011-09-27 Thread Johnsor
Hey... Anybody know of such a port? I can find ports to iOS and wp7 -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/ZXing-port-to-mono-for-Android-tp4840736p4840736.html Sent from the Mono for Android mailing list archive at Nabble.com. ___

Re: [mono-android] IWindowManager

2011-09-27 Thread Jonathan Pobst
Or if you have an Activity or View, you can just access the WindowManager property. Jonathan On 9/27/2011 10:27 AM, Jonathan Pryor wrote: > On Sep 27, 2011, at 10:12 AM, tsukrov wrote: >> mWindowManager = >> (IWindowManager)context.GetSystemService(Context.WindowService); > > Sadly, this is a "

Re: [mono-android] IWindowManager

2011-09-27 Thread tsukrov
A lot of thanks. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/IWindowManager-tp4845524p4845795.html Sent from the Mono for Android mailing list archive at Nabble.com. ___ Monodroid mailing list Monodroid@lists.ximian.co

Re: [mono-android] IWindowManager

2011-09-27 Thread Jonathan Pryor
On Sep 27, 2011, at 10:12 AM, tsukrov wrote: > mWindowManager = > (IWindowManager)context.GetSystemService(Context.WindowService); Sadly, this is a "leaky abstraction" -- Context.GetSystemService() returns a Java.Lang.Object(), so our generator has no idea what type it could be. Furthermore, th

Re: [mono-android] ZXing port to mono for Android

2011-09-27 Thread efontana
Well, first you use the camera intent: Intent intent = new Intent(Android.Provider.MediaStore.ActionImageCapture); string xp = System.IO.Path.Combine(Android.OS.Environment.ExternalStorageDirectory.Name, "Android/data/*com.yourdoman.her*e/file/capturedBadge.jpg"); Java.IO.File xfile

Re: [mono-android] ZXing port to mono for Android

2011-09-27 Thread efontana
If you do use this, watch out with large megapixel cameras, you'll want to use this, otherwise it could take minutes to decode the bitmap. I fixed it by doing the following: private byte[] convertArray(int[] array) { byte[] newarray = new byte[array.Length * 3]; for (int i = 0; i < array.Lengt

Re: [mono-android] IWindowManager

2011-09-27 Thread tsukrov
Sure, you are right, but the question was: the resulting object HAS to be IWindowManager, hasn't it? -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/IWindowManager-tp4845524p4845645.html Sent from the Mono for Android mailing list archive at Nabble.com. ___

Re: [mono-android] IWindowManager

2011-09-27 Thread efontana
I think you want: mWindowManager = context.GetSystemService(Context.WindowService) as IWindowManager; if (mWindowManager != null) do something... -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/IWindowManager-tp4845524p4845585.html Sent from the Mono for Andro

[mono-android] IWindowManager

2011-09-27 Thread tsukrov
Hi! This line crashes: mWindowManager = (IWindowManager)context.GetSystemService(Context.WindowService); Cannot cast from source type to destination type. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/IWindowManager-tp4845524p4845524.html Sent from th

Re: [mono-android] ZXing port to mono for Android

2011-09-27 Thread Mike Child
If you already have the app "Barcode Scanner" (made by zxing) then reading barcodes can be as simple as passing an Intent to their app. Intent intent = new Intent("com.google.zxing.client.android.SCAN"); intent.setPackage("com.google.zxing.client.android"); StartActivityForResult(intent,0);

Re: [mono-android] ZXing port to mono for Android

2011-09-27 Thread Elan Hasson
That is awesome. Thanks for sharing this! On Tue, Sep 27, 2011 at 7:37 AM, efontana wrote: > https://github.com/JohnACarruthers/zxing.MonoDroid > > -- > View this message in context: > http://mono-for-android.1047100.n5.nabble.com/ZXing-port-to-mono-for-Android-tp4840736p4845023.html > Sent fro

Re: [mono-android] ZXing port to mono for Android

2011-09-27 Thread efontana
https://github.com/JohnACarruthers/zxing.MonoDroid -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/ZXing-port-to-mono-for-Android-tp4840736p4845023.html Sent from the Mono for Android mailing list archive at Nabble.com. __

Re: [mono-android] Date Format in Monodroid

2011-09-27 Thread was
Ok, Bug 1068 submitted. Given that at least one Android device I have encountered doesn't have an English(United Kingdom) locale, UK users with this device have to use the US m/d/ date format - which they are unhappy with! Is there a workround for this I wonder? Regards...Andrew -- View this

Re: [mono-android] Strange OpenGL behaviour while using GL.Translate

2011-09-27 Thread batuakan
Hello again Was anybody able to recreate the error? I also tried translating the ModelView matrix using the matrixmult function and I still have problem. All other rotations, scaling and translations work, except translating in the Z axis, I wonder if it is a mono for android problem or OpenTK pro