Re: [mono-android] How to Update Monodroid Visual Studio Plugin

2011-10-17 Thread Mike Child
Just download the latest release and install. On Oct 17, 2011 2:07 AM, "Nirban Dutta" wrote: > Hi, > > ** ** > > We have Enterprise Monodroid. > > ** ** > > Please let me know how to update the Visual Studio Plugin to the latest > release of Monodroid without re-installing it fully(which

[mono-android] WCF - when will there be an update?

2011-10-17 Thread moelski
Hi ! Actually I have to decide between WCF and .net2 Web Service to build a new webservice I would like to use with MonoAndroid (and later MonoTouch). So can you give us an update when WCF is out of Alpha state? Is it possible to get an update with version 2.0? Or can you tell us some details ab

Re: [mono-android] SMS Message Receiver

2011-10-17 Thread mcgear
Does anyone have any thoughts with this? -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/SMS-Message-Receiver-tp4903060p4910182.html Sent from the Mono for Android mailing list archive at Nabble.com. ___ Monodroid mailin

Re: [mono-android] WCF - when will there be an update?

2011-10-17 Thread Joseph Hill
Hello Dominik If those are your two choices, my recommendation would be to use .NET 2 Web Services, which is complete and fairly stable. Alternatively, there are other approaches you might want to consider, such as Protocol Buffers: http://code.google.com/p/protobuf/ We're still assessing our pla

Re: [mono-android] SMS Message Receiver

2011-10-17 Thread Sayed Arian Kooshesh
it's returning an object, not an array of them. On Mon, Oct 17, 2011 at 9:55 AM, mcgear wrote: > Does anyone have any thoughts with this? > > -- > View this message in context: > http://mono-for-android.1047100.n5.nabble.com/SMS-Message-Receiver-tp4903060p4910182.html > Sent from the Mono for An

Re: [mono-android] WCF - when will there be an update?

2011-10-17 Thread Tom Opgenorth
Now that Joseph mentions it, has anybody tried Protocol Buffers on M4A? (Not a big fan of WCF and Procotcol Buffers looks much simpler to use) On Mon, Oct 17, 2011 at 09:06, Joseph Hill wrote: > Hello Dominik > If those are your two choices, my recommendation would be to use .NET 2 > Web > Serv

Re: [mono-android] WCF - when will there be an update?

2011-10-17 Thread Wally McClure
Dominik, What features of WCF do you need to use? REST is what I have been doing a bunch of. I'm finding that rest seems to be really popular in the mobile world. Wally From: t...@opgenorth.net Date: Mon, 17 Oct 2011 09:28:36 -0600 To: monodroid@lists.ximian.com Subject: Re: [mono-android] WCF

[mono-android] Idle Handler?

2011-10-17 Thread andineupert
Does anybody know how to implement an idle handler? I want to execute some stuff when the app is idle. Thank you. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Idle-Handler-tp4910631p4910631.html Sent from the Mono for Android mailing list archive at Nabble.com.

[mono-android] VS2010 MD 1.9.1 "aapt.exe" exited code 1 and ItemLongClick

2011-10-17 Thread Steve Sharrock
I just downloaded and installed monoandroid-1.9.1.r2-2.msi to solve a problem I was having with aapt.exe failure. The first thing I noticed is that I now get a compiler error on this pre-existing statement: listView.ItemLongClick += new EventHandler( listView_ItemLongClick ); Error 2 Opera

[mono-android] Help Android.Views.View.KeyHandler Error

2011-10-17 Thread Jose M. Rivera Ortiz
Hi, I updated to version 1.9.1 and now I am getting the following error: Operator '+=' cannot be applied to operands of type 'Android.Views.View.KeyHandler' and 'method group' The code was working flawless in version 1.2, what is the problem now? Thanks _

[mono-android] Custom IListAdapter works on 1.9.0, fails on 1.9.1

2011-10-17 Thread HSSoftware
In my custom IListAdapter implementation, I had not implemented the Handle property, as I was unsure what to do. So I just throw a NotImplementedException. It worked without a problem on 1.9.0. But it is now throwing my NotImplementedException on 1.9.1, so evidently someone is trying to use the Han

Re: [mono-android] Custom IListAdapter works on 1.9.0, fails on 1.9.1

2011-10-17 Thread Mike Child
If this is similar to a situation I had then you also need to inherit from Java.Lang.Object. This will implement the Handle property for you. In researching my issue I was told that you should never implement the Handle property yourself. So I believe it should go something like this... class Your

Re: [mono-android] Custom IListAdapter works on 1.9.0, fails on 1.9.1

2011-10-17 Thread HSSoftware
Perfect! Thanks! -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Custom-IListAdapter-works-on-1-9-0-fails-on-1-9-1-tp4910764p4910825.html Sent from the Mono for Android mailing list archive at Nabble.com. ___ Monodroid mai

Re: [mono-android] Idle Handler?

2011-10-17 Thread Sam Lippert
If you mean "when the app is idle and in the foreground," the way that I would probably do it is by having an "idleStuff" thread that you pause in all of your Activity.Pause() overrides, and that resumes at the ends of your Activity.OnResume() overrides. If you also want it to do things while yo

Re: [mono-android] SMS Message Receiver

2011-10-17 Thread mcgear
That is correct, however this should be returning an array... As you can see from this QuickWatch output: -Class {class [Ljava.lang.Object;} Java.Lang.Class +base {Java.Lang.Object} Java.Lang.Object CanonicalName "java.lang.Object[]"string +

Re: [mono-android] SMS Message Receiver

2011-10-17 Thread Sayed Arian Kooshesh
this is actually a really common error i've experienced in things other than this project. Try ObjectDumper it might help you continue past this. On Mon, Oct 17, 2011 at 2:15 PM, mcgear wrote: > That is correct, however this should be returning an array...  As you can see > from this QuickWatch

Re: [mono-android] VS2010 MD 1.9.1 "aapt.exe" exited code 1 and ItemLongClick

2011-10-17 Thread Jonathan Pobst
The aapt issue is that your directory should be called "Values-Normal" instead of "Values-Medium". I have updated the error handling to properly surface that aapt error into the IDE. Thanks for the report! Jonathan On 10/17/2011 12:11 PM, Steve Sharrock wrote: > I just downloaded and installe

Re: [mono-android] Exposing arbitrary Java APIs to .NET

2011-10-17 Thread El-Sayed Mohamed
I have started to bind the maps API but it is very painful process and takes a lot of time. If we can get our hands on the 1.9.2 release soon I'll stop it and wait till then. So please can you confirm the ETA. Thanks, El-Sayed -Original Message- From: monodroid-boun...@lists.ximian.com [m

Re: [mono-android] Exposing arbitrary Java APIs to .NET

2011-10-17 Thread Jonathan Pobst
Probably within the next 2 weeks. The maps API is the blocking feature, so we will be shipping 1.9.2 as soon as the maps API is in a preview-able state. Jonathan On 10/17/2011 3:02 PM, El-Sayed Mohamed wrote: > I have started to bind the maps API but it is very painful process and takes > a lot

Re: [mono-android] VS2010 MD 1.9.1 "aapt.exe" exited code 1 and ItemLongClick

2011-10-17 Thread Steve Sharrock
Thanks for the fix -- works fine. Is there any help on what happened to... listView.ItemLongClick += newEventHandler( listView_ItemLongClick ); Error 2 Operator '+=' cannot be applied to operands of type 'Android.Widget.AdapterView.ItemLongClickHandler' and 'System.EventHandler' P:\Linen\MonoD

Re: [mono-android] Help Android.Views.View.KeyHandler Error

2011-10-17 Thread Jonathan Pobst
The event turned into a property because it wants a return type of bool, instead of void, which events cannot provide. We fixed a bug that we were returning indeterminate garbage to java for the return value. We discussed this internally, and we think we want to turn it back to an event, with

Re: [mono-android] VS2010 MD 1.9.1 "aapt.exe" exited code 1 and ItemLongClick

2011-10-17 Thread Jonathan Pobst
I had to ask around and discuss this with the team. The answer and workaround is here: http://lists.ximian.com/pipermail/monodroid/2011-October/006749.html Jonathan On 10/17/2011 12:11 PM, Steve Sharrock wrote: > I just downloaded and installed monoandroid-1.9.1.r2-2.msi to solve a > problem

Re: [mono-android] SMS Message Receiver

2011-10-17 Thread ChrisNTR
Michael, I had responded to you on this through the support e-mail but here's my message incase you missed it and for everyone else to see too, This has been rather tricky but you can convert a Object to a Object[] by using the following lines: var pdus = bundle.Get ("pdus"); Java.Lang.Object[]

[mono-android] Activation Lost

2011-10-17 Thread Jose M. Rivera Ortiz
Hi, We have 2 enterprise license, but recently our VS MonoDorid Add-in is losing its registration information . Today when it asked us to activate again it giving us a message that the product is already registered. We need help as soon as possible. Why MonoDroid keep losing the registration in

[mono-android] Programmatically determine if App is running on Emulator

2011-10-17 Thread Steve Sharrock
This must be fairly simple; but, I haven't found the answer (well, it is late). Steve Sharrock Architecture/Design/Programming www.sharkcode.com http://www.sharkcode.com/> ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION

[mono-android] If I roll-back MonoDroid Version...

2011-10-17 Thread Steve Sharrock
I need to rollback from 1.9.1 to 1.9.0 or 1.2. It appears I need to first uninstall 1.9.1. Is there any chance I'll loose the license, or screw up users that have already installed my 1.9.1 generated version when I offer a new version (do they have to uninstall shared runtime/platform packages). Th

Re: [mono-android] If I roll-back MonoDroid Version...

2011-10-17 Thread Jonathan Pobst
The license should be fine. Any deployed packages should be fully self contained (they don't use shared runtime/platform packages), so they should be fine as well. Jonathan On 10/17/2011 10:12 PM, Steve Sharrock wrote: > I need to rollback from 1.9.1 to 1.9.0 or 1.2. It appears I need to > fir