Re: [mono-android] Android InputType constants - namespace?

2011-12-06 Thread Atsushi Eno
Hello, Sorry to say, this is a bug in MfA. We created enum type for android.text.InputType constants as Android.Text.InputTypes[*1], but we forgot to update the type of the property you were trying to use. So far, please use this enum and cast to int before assigning to the field. We are in th

Re: [mono-android] Packaging fails under Mono for Android 4.0

2011-12-06 Thread Jens Boye Hansen
It was set to Sdk Assemblies Only. But I did find a solution: I had added the keystore to the *.csproj file, but I hadn't switched around the two lines: - AndroidSigningKeyPass - AndroidSigningStorePass Switching those two around fixed the problem ... for some weird reason. - Jens On 6 December

[mono-android] Android InputType constants - namespace?

2011-12-06 Thread DocM
I'm trying to set the InputType of a text view: *editTextAuthKey.InputType = 144; // TYPE_TEXT_VARIATION_VISIBLE_PASSWORD 144* I would rather use a constant definition from the namespace. Intellisense says it should be available in the namespace: *Android.Views.InputMethods.EditorInfo.I

Re: [mono-android] found solution to not seeing device

2011-12-06 Thread Miljenko Cvjetko
Hi Wally On 2011.12.06 19:30, Wally McClure wrote: A while back I posted in the list asking for help trying to figure out why after I updated to the android r15 sdk, I couldn't see my htc evo reliably. Just this morning, I figured out why. HTC Sync seems to be generating some type of interfe

Re: [mono-android] New Mono for Android release does not work with some samples on GitHub

2011-12-06 Thread Atsushi Eno
OverlayItem does derive from Java.Lang.Object. Maybe you saw this declaration in Mono.Android.GoogleMaps.dll in the assembly browser and thought this "Object" is System.Object? (which is actually Java.Lang.Object): >public class OverlayItem : Object Atsushi Eno > OK I have made a small t

Re: [mono-android] sqlite

2011-12-06 Thread Wally McClure
Jon, Thanks. Here it is: db is valued: /data/data/internalnetworkdata.internalnetworkdata/files/UserData.db3. internalnetworkdata is the name of my application.free space: 391M Wally > From: j...@xamarin.com > Date: Tue, 6 Dec 2011 23:12:19 -0500 > To: monodroid@lists.ximian.com > Subject: R

Re: [mono-android] sqlite

2011-12-06 Thread Jonathan Pryor
On Dec 6, 2011, at 11:05 PM, Wally McClure wrote: > I'm getting a System.UnauthorizedAccessException when I try to create a > sqlite database file with the following code. Odd, similar code works for me: https://github.com/xamarin/monodroid-samples/blob/master/SanityTests/Hello.cs#L110

[mono-android] sqlite

2011-12-06 Thread Wally McClure
I'm getting a System.UnauthorizedAccessException when I try to create a sqlite database file with the following code. Should I be using a different directory to store the database file? string DatabaseName = "UserData.db3"; string documents = System.Environment.GetFolder

Re: [mono-android] unable to use existing keystore after 4.0 update

2011-12-06 Thread Jonathan Pobst
So this is just trying to sign it manually with keytool after MonoDevelop built it? As I said, the ill effects are that you won't be able to update your existing application in the marketplace, you'll have to make a new one. Jonathan On 12/5/2011 9:55 PM, John Moore wrote: > i'm not using my

Re: [mono-android] unable to use existing keystore after 4.0 update

2011-12-06 Thread jcwmoore
i generated a new keystore using keytool with the JDK 6, and again tried to publish android application in MD with the same results, Keystore verification failed: I then tried to manually sign the apk file and was able to do so with my existing keystore; however my apk is rejected by the marketpla

Re: [mono-android] fast deployment

2011-12-06 Thread Jonathan Pryor
On Dec 6, 2011, at 5:23 PM, Wally McClure wrote: > What is "fast deployment" in the project properties? What does it do for me? It's intended to speed up turnaround time for the (hopefully) "common" Debug build case. Assemblies are no longer embedded into the .apk, they're instead placed into a

Re: [mono-android] crashes in the ics emulator but runs on a 2.3 gingerbread device

2011-12-06 Thread Jonathan Pryor
On Dec 6, 2011, at 5:58 PM, Wally McClure wrote: > Hmm, uninstalling manually in the emulator and reinstalling seems to have > resolved this. I'm chalking this up to general android flakiness. I'm chalking it up to an Android bug: http://code.google.com/p/android/issues/detail?id=21670

Re: [mono-android] Non-apk applications (and mixed assemblies)

2011-12-06 Thread Jonathan Pryor
On Dec 6, 2011, at 6:23 PM, Daniele Salvatore Albano wrote: > There is a way to use Mono for Android to compile some external C# > application (that doesn't need to access the android stuff)? And use > the mono for android installed on the phone to execute it? Maybe? You could certainly compile yo

Re: [mono-android] Any obfuscator working with Mono for Android?

2011-12-06 Thread Seung Hyun Park
Thank you for the reply. It is a good information. Currently, Xenocode Postbuild may not be available as a standalone product. It seems that I must test it by myself with my obfuscator product - .NET Reactor. Best regards. 2011/12/7 Andrew Sinclair > Hi, > > ** ** > > I’ve successfully u

Re: [mono-android] Mono error in Exceptions window

2011-12-06 Thread Paul Breckon
This seems to also happen when adding a breakpoint when the app is in break mode due to an exception being thrown. -Original Message- From: monodroid-boun...@lists.ximian.com [mailto:monodroid-boun...@lists.ximian.com] On Behalf Of Paul Breckon Sent: Wednesday, 7 December 2011 11:50 AM To:

[mono-android] Mono error in Exceptions window

2011-12-06 Thread pbreckon
Hi. Just come across this error using v4 of Mono for Android: 1) Run your app in Debug mode 2) Place a breakpoint 3) Open Debug\Exceptions window 4) Perform actions in your app to trigger the breakpoint - try to tick the CLR Exceptions thrown box at the same time it is triggered. A Visual Studi

[mono-android] Non-apk applications (and mixed assemblies)

2011-12-06 Thread Daniele Salvatore Albano
Hi to all, i'm working on a porting some part of my applications (and, going on all remaining parts) to C# with Mono for Android, because it's too awesome! I wrote some helpers in C, as standalone applications that runs through privileged users using su (on rooted phones) or adb. The problem is t

Re: [mono-android] crashes in the ics emulator but runs on a 2.3 gingerbread device

2011-12-06 Thread Wally McClure
Hmm, uninstalling manually in the emulator and reinstalling seems to have resolved this. I'm chalking this up to general android flakiness. Wally From: theevilprogram...@hotmail.com To: monodroid@lists.ximian.com Date: Tue, 6 Dec 2011 17:44:37 -0500 Subject: [mono-android] crashes in the ics e

[mono-android] crashes in the ics emulator but runs on a 2.3 gingerbread device

2011-12-06 Thread Wally McClure
I've got some sample code that runs on a 2.3 gingerbread device fine. It crashes in the ics emulator on startup before it even hits my code. I am assuming that I am doing something wrong, but I can't figure it out for the life of me. I've tried to list what I think are the errors in ddms. A

[mono-android] fast deployment

2011-12-06 Thread Wally McClure
What is "fast deployment" in the project properties? What does it do for me? Wally ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monod

Re: [mono-android] Handling texture loss in OpenTK on mono for android

2011-12-06 Thread warren burch
Hi Chris, thanks for your note. I am currently using a layer on top of Mono called MonoGame which is a layer that simulates XNA. I am working with one of the developers on that to work out what Monogames behaviour should be here. Cheers Warren -- View this message in context: http://mono-for-andr

Re: [mono-android] Java.Lang.NoClassDefFoundError: java.lang.ICharSequence

2011-12-06 Thread Tossing, Chris
Jon, Andy, Sorry for the delayed response - my account was accidentally deleted from our corporate active directory, and I have been trying to get back on track with TFS, etc. for much of the day. That worked for both situations - thank you! I added the following two lines to my startup code,

Re: [mono-android] 4.0 Upgrade Issues MonoDevelop 2.8.4.1 / MacOS X Snow Leopard

2011-12-06 Thread Jonathan Pryor
On Dec 6, 2011, at 6:52 AM, Steven Pack wrote: > 1. Deploy to emulator or device (Release Mode) > > Waiting for packaging processing to complete > > Getting package list from device > > Installing package > 1613 KB/s (10733084 bytes in 6.496s) > pkg: /data/local/tmp/com.xxxdictionary.andro

Re: [mono-android] force timepickerdialog into 24hrs

2011-12-06 Thread Jonathan Pryor
On Dec 6, 2011, at 6:20 AM, John Murray wrote: > But I am using TimepickerDialog and inthe mono documentation I cant find any > similar function to force the dialog to display in 24hor mode That's because the Java type doesn't provide a setIs24HourView() method either: http://developer.a

Re: [mono-android] ilocationlistener interface changed

2011-12-06 Thread Jonathan Pryor
On Dec 6, 2011, at 1:55 PM, Wally McClure wrote: > It looks like the iLocationListener interface has changed ... > Is this correct? Yes, it's an int->enum change: http://androidapi.xamarin.com/?link=T:Android.Locations.Availability - Jon ___

[mono-android] ilocationlistener interface changed

2011-12-06 Thread Wally McClure
It looks like the iLocationListener interface has changed from public void OnStatusChanged(string provider, int status, Bundle extras) { } to public void OnStatusChanged(string provider, Availability status, Bundle extras) { }Is this correct?

[mono-android] installation on ics emulator phone

2011-12-06 Thread Wally McClure
I'm installing an app to the ics emulator on my windows laptop (mac, i7, 8 gigs, blah, blah, blah). I'm seeing that installing the mono runtime and platform framework are horribly slow. Is there anything that I can do to speed this up? Wally PS. yeah, I know it is the emulator.

Re: [mono-android] Constructor became protected in 4.0 : Android.App.AlertDialog.AlertDialog(System.IntPtr, Android.Runtime.JniHandleOwnership)

2011-12-06 Thread klimaye
Thanks jon, that fixed it. Thanks for the other info as well. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Constructor-became-protected-in-4-0-Android-App-AlertDialog-AlertDialog-System-IntPtr-Android-Runtim-tp5052707p5053058.html Sent from the Mono for Android m

[mono-android] found solution to not seeing device

2011-12-06 Thread Wally McClure
A while back I posted in the list asking for help trying to figure out why after I updated to the android r15 sdk, I couldn't see my htc evo reliably. Just this morning, I figured out why. HTC Sync seems to be generating some type of interference. In my case, I just uninstalled HTC Sync and

Re: [mono-android] Java.Lang.NoClassDefFoundError: java.lang.ICharSequence

2011-12-06 Thread Jonathan Pryor
On Dec 6, 2011, at 11:53 AM, Andrew Sinclair wrote: > Is there a way of checking for existing registrations? Unfortunately not at this time. Sorry. What I would suggest doing is subclassing Android.App.Application, using the [Application] custom attribute, overriding Application.OnCreate(), and

Re: [mono-android] Constructor became protected in 4.0 : Android.App.AlertDialog.AlertDialog(System.IntPtr, Android.Runtime.JniHandleOwnership)

2011-12-06 Thread Jonathan Pryor
On Dec 6, 2011, at 11:51 AM, klimaye wrote: > I was using the constructor below to integrate with zxing bar code scanner. > >IntPtr rAlertDialog = JNIEnv.CallStaticObjectMethod( >IntentResult, IntentResult_initiateScan, new > JValue(activity)); >// ...an

Re: [mono-android] Java.Lang.NoClassDefFoundError: java.lang.ICharSequence

2011-12-06 Thread Andrew Sinclair
Jon, That workaround works fine for me (IInputFilter) but if the RegisterType runs twice I get: System.ArgumentException: An element with the same key already exists in the dictionary. at System.Collections.Generic.Dictionary`2.Add (string,System.Type) <0x00328> at Android.Runtime.TypeManager.Reg

[mono-android] Constructor became protected in 4.0 : Android.App.AlertDialog.AlertDialog(System.IntPtr, Android.Runtime.JniHandleOwnership)

2011-12-06 Thread klimaye
I was using the constructor below to integrate with zxing bar code scanner. IntPtr rAlertDialog = JNIEnv.CallStaticObjectMethod( IntentResult, IntentResult_initiateScan, new JValue(activity)); // ...and construct a nice managed wrapper over the Java inst

Re: [mono-android] Java.Lang.NoClassDefFoundError: java.lang.ICharSequence

2011-12-06 Thread Jonathan Pryor
On Dec 6, 2011, at 8:13 AM, Tossing, Chris wrote: > I am able to launch and run our application, but I am getting a > Java.Lang.NoClassDefFoundError exception when trying set the items of an > AlertDialog using AlertDialog.Builder.SetItems(..). > > Here is our code: > var builder =

Re: [mono-android] Java.Lang.NoClassDefFoundError: android.text.IInputFilter

2011-12-06 Thread Jonathan Pryor
On Dec 6, 2011, at 8:24 AM, Tossing, Chris wrote: > I’m getting the same exception as my previous email with the following code: > > FindViewById(Resource.Id_WOSR_actWoDetails.tbxWoNumValue) > .SetFilters(new IInputFilter[] { new > Android.Text.InputFilterLengthFilter(value) }); Thi

Re: [mono-android] Non-serializable types in Monodroid?

2011-12-06 Thread DocM
Paul, If you haven't already solved this try adding the missing constructor to the common class: [Serializable] public class common { public int p, a, w, pa; public double bodyWeight, tempBody, tempSurround; public double[,] correctionData = new double[3,

Re: [mono-android] New Mono for Android release does not work with some samples on GitHub

2011-12-06 Thread Jonathan Pryor
On Dec 6, 2011, at 3:43 AM, Tomasz Cielecki wrote: > Now in the itenized overlay I have the CreateItem method: > >protected override NMTOverlayItem CreateItem(int index) >{ >return overlayItems.ElementAt(index); >} > > I get the following error: > > 'NSPublic.

Re: [mono-android] Handling texture loss in OpenTK on mono for android

2011-12-06 Thread chris@Terrago
Andreia, I am using Android 2.2/level 8 on a Samsung Galaxy Tablet Chris -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Handling-texture-loss-in-OpenTK-on-mono-for-android-tp5045738p5052606.html Sent from the Mono for Android mailing list archive at Nabble.com. _

Re: [mono-android] The minimum Android version is higher than this device supports.

2011-12-06 Thread jklida
Thanks, that worked. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/The-minimum-Android-version-is-higher-than-this-device-supports-tp5052489p5052528.html Sent from the Mono for Android mailing list archive at Nabble.com. ___

Re: [mono-android] The minimum Android version is higher than this device supports.

2011-12-06 Thread Jonathan Pobst
The shared runtime tries to install the target framework version, which is too high for your device. Try turning off the shared runtime: Project Properties -> Mono Android Options -> Use Shared Runtime Rebuild and try again. Jonathan On 12/6/2011 9:46 AM, jklida wrote: > I am trying to debug

Re: [mono-android] Any obfuscator working with Mono for Android?

2011-12-06 Thread Andrew Sinclair
Hi, I've successfully used Xenocode's Postbuild 2010 (the standalone product.) Obfuscation works OK, with one proviso - there's an "enable metadata reduction" option which mangles things like class names and uses strange characters. These characters are OK as class names in .NET but sometim

[mono-android] The minimum Android version is higher than this device supports.

2011-12-06 Thread jklida
I am trying to debug a Mono for Android project that is targeting Android 4.0 (Admob SDK requires 3.2+) with a minimum version set to 2.1 in the manifest. However, when I try to debug on my device that has 2.2, I get the "The minimum Android version is higher than this device supports." error when

Re: [mono-android] Packaging fails under Mono for Android 4.0

2011-12-06 Thread Jonathan Pryor
On Dec 6, 2011, at 3:14 AM, Jens Boye Hansen wrote: > Packaging failed > Could not create the Android package. See exception for more details. By any chance, are you obfuscating your assemblies? Alternatively, do you have a _really_ big assembly? Based on the implementation of ByteBuffer.ReadUInt

Re: [mono-android] Packaging fails under Mono for Android 4.0

2011-12-06 Thread Andreia Gaita
Hi, Nevermind my previous email, the image was missing so I couldn't see it's VS and the stacktrace andreia On Tue, Dec 6, 2011 at 12:55 PM, Andreia Gaita wrote: > Hi, > > Is this VS or MD? The message might be showing up on the message log (MD) > / build output (VS) windows, so you may be abl

Re: [mono-android] download mfa 4.0 for the mac

2011-12-06 Thread Jean Lapointe
Thanks! You are right, firing Monodevelop 2.6 enabled me to download the file properly. From what I can see, the signature part is missing from the address in 2.8. Thanks! Jean From: Wally McClure [mailto:theevilprogram...@hotmail.com] Sent: December-06-2011 10:16 AM To: monodroid

Re: [mono-android] cant make package when referencing a .JAR lib.

2011-12-06 Thread Jonathan Pobst
If this doesn't help, can you copy/paste the exact error and stack track if there is one? Thanks! Jonathan On 12/6/2011 5:04 AM, Atsushi Eno wrote: > In the project you are trying with MfA 4.0, is the content item type of > the jar file "AndroidJavaLibrary" or "AndroidJavaSource" ? And for > .ja

Re: [mono-android] Packaging fails under Mono for Android 4.0

2011-12-06 Thread Jonathan Pobst
What is your link mode set to? - Sdk Assemblies Only - Sdk and User Assemblies If you are doing user assemblies, does turning it to Sdk Assemblies Only fix it? Jonathan On 12/6/2011 2:14 AM, Jens Boye Hansen wrote: > Before upgrading to version 4.0 I was using 1.9.2, and that worked just > fi

Re: [mono-android] download mfa 4.0 for the mac

2011-12-06 Thread Wally McClure
One thing I forgot to mention is that there seems to be a problem in the MD downloader on the mac. As a result, I have to download manually. I keep an old version of MD around just for this. Wally From: theevilprogram...@hotmail.com To: monodroid@lists.ximian.com; jlapo...@matrox.com Date: Tu

Re: [mono-android] download mfa 4.0 for the mac

2011-12-06 Thread Wally McClure
Jean, Apologies for the delay. I was able to download yesterday morning. Wally From: jlapo...@matrox.com To: monodroid@lists.ximian.com Date: Tue, 6 Dec 2011 10:07:30 -0500 Subject: Re: [mono-android] download mfa 4.0 for the mac Still the same error after flushing the cache. Error - 10:02:30

Re: [mono-android] Don't force us to install MonoDevelop on Windows

2011-12-06 Thread Jonathan Pryor
On Dec 6, 2011, at 9:47 AM, Neal Culiner wrote: > Also, there is no update notification for prior users in VS 2010 so they need > to be notified to download the installer and run it to get updated. Every developer who has downloaded Mono for Android should have gotten an email with the subject "

Re: [mono-android] Where can I download previous version (1.2) of Mono for Android (before 4.0)?

2011-12-06 Thread ChrisNTR
Hey AndyS, You can always download a few previous releases from your Xamarin Store account in the "Products" section: https://store.xamarin.com/account/Products I hope this helps, ChrisNTR On Tue, Dec 6, 2011 at 2:14 PM, AndyS wrote: > Hi, > > I have happily downloaded today the monoandroid-4.

Re: [mono-android] download mfa 4.0 for the mac

2011-12-06 Thread Jean Lapointe
Still the same error after flushing the cache. Error - 10:02:30 AM - File download failed: http://download.xamarin.com/MonoforAndroid/Mac/monoandroid-4.0.dmg System.Net.WebException: The remote server returned an error: (403) Forbidden. at System.Net.HttpWebRequest.CheckFinalStatus (System.

[mono-android] Don't force us to install MonoDevelop on Windows

2011-12-06 Thread Neal Culiner
Hello, Congrats on MfA 4! I'm a Windows / VS 2010 user and prefer not to install things I don't need. I don't use MD on my Windows machine. I would prefer the installer ask if I use VS 2010 or MD and not install the unnecessary items. Also, there is no update notification for prior users in

Re: [mono-android] Where can I download previous version (1.2) of Mono for Android (before 4.0)?

2011-12-06 Thread AndyS
Tomek! Thanks!! You are GREAT!!! :D -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Where-can-I-download-previous-version-1-2-of-Mono-for-Android-before-4-0-tp5052189p5052250.html Sent from the Mono for Android mailing list archive at Nabble.com. ___

Re: [mono-android] Where can I download previous version (1.2) of Mono for Android (before 4.0)?

2011-12-06 Thread Tomasz Cielecki
I have uploaded it to my dropbox. http://dl.dropbox.com/u/2991343/MonoAndroid/monoandroid-1.2.0.msi On Tue, Dec 6, 2011 at 3:20 PM, Josh Handel wrote: > MonoCross is Open Source, you could just pull the source and built it on the > new 4.0 DLL (just a thought).. > > > Josh Handel > Mobile Archi

Re: [mono-android] download mfa 4.0 for the mac

2011-12-06 Thread ChrisNTR
Hi Guys, There was a brief hiccup where the updater was sending out the wrong download URL, if you remove the cache by running the following in terminal: rm -rf ~/Library/Caches/MonoDevelop-2.8 then this will then retrieve the correct location for it. Alternatively, you can download the dmg fil

[mono-android] HTTPS Communication fails after update to 4.0

2011-12-06 Thread subsembly
Hi, my application was working flawlessly with the last official Android for Mono release. After upgrading to 4.0, however, my online communication code fails with the following internal error: 12-06 15:20:52.185: I/mono-stderr(16976): ERROR building certificate chain: System.NullReferenceExcepti

Re: [mono-android] Where can I download previous version (1.2) of Mono for Android (before 4.0)?

2011-12-06 Thread Josh Handel
MonoCross is Open Source, you could just pull the source and built it on the new 4.0 DLL (just a thought).. Josh Handel Mobile Architect 512.328.8181 | Main 512.328.0584 | Fax 512.577-6568 | Cell www.catapultsystems.com CATAPULT SYSTEMS INC. THE MICROSOFT CONSULTING COMPANY __

[mono-android] Where can I download previous version (1.2) of Mono for Android (before 4.0)?

2011-12-06 Thread AndyS
Hi, I have happily downloaded today the monoandroid-4.0.0-r1.msi file, but the new Mono.Android.dll breaks my MonoCross projects, so I want to revert to the previous version of Mono for Android until MonoCross gets compatibile with M4A4. Can you tell me where do I download the previous version, I

Re: [mono-android] download mfa 4.0 for the mac

2011-12-06 Thread Jean Lapointe
Wally, others, Was this issue resolved as I am still getting an exception this morning when monodevelop is trying to download the update. Here is the text from the exception Error - 8:25:37 AM - File download failed: http://download.xamarin.com/MonoforAndroid/Mac/monoandroid-4.0.dmg Syste

Re: [mono-android] New Mono for Android release does not work with some samples on GitHub

2011-12-06 Thread Tomasz Cielecki
OK I have made a small test project you can look at. The compiler complains about CreateItem in MyItemizedOverlay. https://github.com/Cheesebaron/MonoDroid.TestOverlayItem As I understand it OverlayItem (Something that comes with Mono for Android) is supposed to implement Java.Lang.Object. But i

Re: [mono-android] Java.Lang.NoClassDefFoundError: android.text.IInputFilter

2011-12-06 Thread Tossing, Chris
It may be worth noting that I am in Debug mode with linking of SDK assemblies turned on (not using Shared Runtime). My current signed apk size is about 1.5 MB, whereas it was almost 6MB before upgrading to M4A 4.0. If I turn off linking of assemblies, my size goes to over 18MB, but I still get

Re: [mono-android] Java.Lang.NoClassDefFoundError: android.text.IInputFilter

2011-12-06 Thread Andrew Sinclair
Chris, I had this one, you can workaround it by adding before SetFilters: TypeManager.RegisterType("android/text/InputFilter", typeof(IInputFilter)); But make sure you don't register it twice or you'll get a dictionary error. Jon Pryor is aware of this. I think the same pr

[mono-android] Java.Lang.NoClassDefFoundError: android.text.IInputFilter

2011-12-06 Thread Tossing, Chris
I'm getting the same exception as my previous email with the following code: FindViewById(Resource.Id_WOSR_actWoDetails.tbxWoNumValue) .SetFilters(new IInputFilter[] { new Android.Text.InputFilterLengthFilter(value) }); Here is the Debug output:

[mono-android] Java.Lang.NoClassDefFoundError: java.lang.ICharSequence

2011-12-06 Thread Tossing, Chris
Greetings, First off, I want to recognize how enormously better the debugging is in M4A 4.0. Thank you! I am able to launch and run our application, but I am getting a Java.Lang.NoClassDefFoundError exception when trying set the items of an AlertDialog using AlertDialog.Builder.SetItems(..).

Re: [mono-android] Can't debug with Mono For Android 4.0 in VS 2010

2011-12-06 Thread RedPony
Already tried that. Then the app didn't even reach the point where I got the exception. Do I need to clean and rebuild after turning of Fast Deployment? -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Can-t-debug-with-Mono-For-Android-4-0-in-VS-2010-tp5051610p505201

Re: [mono-android] Packaging fails under Mono for Android 4.0

2011-12-06 Thread Andreia Gaita
Hi, Is this VS or MD? The message might be showing up on the message log (MD) / build output (VS) windows, so you may be able to copy paste it. In any case, without an exception text it's hard to figure out what's wrong... andreia gaita On Tue, Dec 6, 2011 at 8:14 AM, Jens Boye Hansen wrote: >

[mono-android] Packaging fails under Mono for Android 4.0

2011-12-06 Thread Jens Boye Hansen
Before upgrading to version 4.0 I was using 1.9.2, and that worked just fine. Anyhoo, the error and stacktrace I get is: Packaging failed Could not create the Android package. See exception for more details. Yes, perhaps not nice adding a picture to an email, but I am not going to write down al

Re: [mono-android] force timepickerdialog into 24hrs

2011-12-06 Thread John Murray
Yes that's exactly what I was looking at BUT I am using TimePickerDialog from Android.App I cannot find how to get at the timepicker widget within the dialog in order to SetIs24HourView There doesn't seem to be any related method in the Android.App.Timepickerdialog class Does this mean I have to c

Re: [mono-android] Newtonsoft.Json.Monodroid Issue

2011-12-06 Thread Andreia Gaita
Hi, It's a bug with Fast Deployment and some referenced assemblies. It *might* work if you have full paths on the reference in the csproj instead of relative paths. It's being fixed, sorry for the inconvenience. andreia gaita On Mon, Dec 5, 2011 at 10:41 PM, klimaye wrote: > Disabling "fast de

Re: [mono-android] New Mono for Android release does not work with some samples on GitHub

2011-12-06 Thread Tomasz Cielecki
Or wait I was a bit quick there. Give me a moment and I will make a test project for you to see what is happening. On Tue, Dec 6, 2011 at 1:45 PM, Tomasz Cielecki wrote: > OK, that seems a bit strange to me. Your suggestion works though. I > would have though that the OverlayItem would explicitl

Re: [mono-android] New Mono for Android release does not work with some samples on GitHub

2011-12-06 Thread Tomasz Cielecki
OK, that seems a bit strange to me. Your suggestion works though. I would have though that the OverlayItem would explicitly be implementing Java.Lang.Object rather than just Object so that it would be unambiguous. Maybe someone should make a note about this somewhere so that people do not make the

Re: [mono-android] New Mono for Android release does not work with some samples on GitHub

2011-12-06 Thread Atsushi Eno
Ah, no that's not a bug :) You likely have "using System;" on top of your source and that binds "Object" class to System.Object type. Unlike "java.lang" package for Java compilers, C# compiler does not import "Java.Lang" by default, so you have to explicitly write "using Java.Lang;" . However,

Re: [mono-android] force timepickerdialog into 24hrs

2011-12-06 Thread Atsushi Eno
Hi, Maybe you were looking at Android.App.TimePickerDialog page? In Android.Widget.TimePicker there is SetIs24HourView() in the doc page: http://docs.mono-android.net/?link=M%3aAndroid.Widget.TimePicker.SetIs24HourView(Java.Lang.Boolean) Atsushi Eno > I know that the android.widget.timepicker c

Re: [mono-android] Why gdbserver?

2011-12-06 Thread tsukrov
Sorry, solved. Nothing to do with mono. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Why-gdbserver-tp5050502p5051881.html Sent from the Mono for Android mailing list archive at Nabble.com. ___ Monodroid mailing list Mon

[mono-android] 4.0 Upgrade Issues MonoDevelop 2.8.4.1 / MacOS X Snow Leopard

2011-12-06 Thread Steven Pack
Hi All, Just tried the 4.0 upgrade... No dice. 1. Deploy to emulator or device (Release Mode) Waiting for packaging processing to complete Getting package list from device Installing package 1613 KB/s (10733084 bytes in 6.496s) pkg: /data/local/tmp/com.xxxdictionary.android-Signed.apk

Re: [mono-android] New Mono for Android release does not work with some samples on GitHub

2011-12-06 Thread Tomasz Cielecki
So the OverlayItem is having the using Java.Lang; in the top of the file and is implementing Object, but then the compiler thinks it is System.Object rather than Java.Lang.Object. I guess this is a bug that you will have to correct. Meanwhile I am just using protected override Java.Lang.Object Cr

[mono-android] force timepickerdialog into 24hrs

2011-12-06 Thread John Murray
I know that the android.widget.timepicker class contains a method setIs24HourView(true) But I am using TimepickerDialog and inthe mono documentation I cant find any similar function to force the dialog to display in 24hor mode Funnily enough on one dev machine (HT wildfire - I just had to set

Re: [mono-android] Can't debug with Mono For Android 4.0 in VS 2010

2011-12-06 Thread HSSoftware
Try turning off Fast Deployment in project properties. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Can-t-debug-with-Mono-For-Android-4-0-in-VS-2010-tp5051610p5051736.html Sent from the Mono for Android mailing list archive at Nabble.com.

Re: [mono-android] cant make package when referencing a .JAR lib.

2011-12-06 Thread Atsushi Eno
In the project you are trying with MfA 4.0, is the content item type of the jar file "AndroidJavaLibrary" or "AndroidJavaSource" ? And for .java, AndroidJavaSource too? Atsushi Eno > This worked with the previous version of mono for android. > I use Google admobs JAR file, have a helper .JAVA c

Re: [mono-android] New Mono for Android release does not work with some samples on GitHub

2011-12-06 Thread Atsushi Eno
Yes, as the error message tells, it must be derived from Java.Lang.Object. Atsushi Eno > Is this because Overlay item is inheriting from System.Object rather > than Java.Lang.Object? > > public class OverlayItem : Object > > On Tue, Dec 6, 2011 at 9:45 AM, Tomasz Cielecki wrote: >> I get t

Re: [mono-android] Can't debug with Mono For Android 4.0 in VS 2010

2011-12-06 Thread RedPony
Maybe I should add that I'm trying to debug on a device. I haven't tried using an emulator. I just reverted to Mono For Android 1.2 and it works fine. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Can-t-debug-with-Mono-For-Android-4-0-in-VS-2010-tp5051610p5051694

[mono-android] Can't debug with Mono For Android 4.0 in VS 2010

2011-12-06 Thread RedPony
Hi After installing Mono For Android I can't debug my app (which was working with the last stable version). I clean the project and rebuild. The build succeeds and the debugging session attempts to start but then breaks with TypeDidNotLoad exception on my main Activity class. Any ideas? Thanks

Re: [mono-android] New Mono for Android release does not work with some samples on GitHub

2011-12-06 Thread Tomasz Cielecki
Is this because Overlay item is inheriting from System.Object rather than Java.Lang.Object? public class OverlayItem : Object On Tue, Dec 6, 2011 at 9:45 AM, Tomasz Cielecki wrote: > I get the same error even if CreateItem returns OverlayItem. So > something is wrong somewhere. > > On Tue,

Re: [mono-android] New Mono for Android release does not work with some samples on GitHub

2011-12-06 Thread Tomasz Cielecki
I get the same error even if CreateItem returns OverlayItem. So something is wrong somewhere. On Tue, Dec 6, 2011 at 9:43 AM, Tomasz Cielecki wrote: > OK. About that OverlayItem. I have a Custom overlay item which looks like > this: > >    class NMTOverlayItem : OverlayItem >    { >        priva

Re: [mono-android] New Mono for Android release does not work with some samples on GitHub

2011-12-06 Thread Tomasz Cielecki
OK. About that OverlayItem. I have a Custom overlay item which looks like this: class NMTOverlayItem : OverlayItem { private float[] color; public NMTOverlayItem(GeoPoint point, String title, String snippet, float[] color) : base(point, title, snippet)

[mono-android] cant make package when referencing a .JAR lib.

2011-12-06 Thread warren burch
This worked with the previous version of mono for android. I use Google admobs JAR file, have a helper .JAVA class and a managed caller. Package complains that classes references that are within the JAR file are not available. How can I make this work now? Cheers Warren -- View this message in c

[mono-android] Crash with Mono 4.0

2011-12-06 Thread Mahesh
Hello; My application crash with the latest update in debug as well as in release mode, same code works fine with previous version. The crash occur while adding Android.Views.ViewTreeObserver.IOnGlobalLayoutListener in relative layout's ViewTreeObserver.AddOnGlobalL