Re: [mono-android] Simple LAUNCHER (KIOSK)

2012-04-10 Thread Goncalo Oliveira
By returning to the tablet operating system I assume you want to invoke another launcher... you'll have to either invoke one that you know or ask what are the launchers available when there is more than one. You can query what are the launchers available by doing this: IList resolveList = Packag

[mono-android] SSL issues

2012-04-10 Thread Goncalo Oliveira
Hi, Are there still issues with SSL in monodroid? I'm having a zero status code when accessing an SSL rest service. I know that in the past there was a bug related to this; was it fixed? Cheers -- Gonçalo Oliveira ___ Monodroid mailing list Monodroid

Re: [mono-android] MonoDevelop 2.9.4 and Mono for Android 4.1 - Build Error

2012-04-10 Thread kizanlik
Hello Jonathan, I'm sorry. I came here with the same result. Do you know that if there is a link to download the alpha version directly? May be, alpha version installation from scratch rather than updating from alpha channel solves this problem. Thank you... kizanlik -- View this message in co

[mono-android] 4.1 and r18

2012-04-10 Thread Wally McClure
I have installed 4.1 onto a system running Win7 x64. Yesterday, I installed/updated to Google Android SDK r18. In VS, when I select f5 to start up a debug session, VS acts like it is compiling, then I get an immediate "Deploy Succeeded" message in VS, but nothing happens. Has anyone else see

Re: [mono-android] 4.1 and r18

2012-04-10 Thread Jonathan Pobst
If it's an pre-4.1 project, make sure Deploy is selected for your project in Configuration Manager. Jonathan On 4/10/2012 9:13 AM, Wally McClure wrote: I have installed 4.1 onto a system running Win7 x64. Yesterday, I installed/updated to Google Android SDK r18. In VS, when I select f5 to star

Re: [mono-android] VS 2010 with Mono for Android crashes on debugging

2012-04-10 Thread Jonathan Pobst
I cannot reproduce this. When I try the same, the debugger pauses at the exception, highlights it green, and shows an Unhandled Exception dialog telling about the exception. (Win 7 64 bit, Nexus One) Does your snippet reproduce the bug for you, or is it more complicated like maybe the excepti

Re: [mono-android] 4.1 and r18

2012-04-10 Thread Wally McClure
I take it that you are referring to the config manager in a solution. I have checked my project and the deploy checkbox is selected. any other ideas? Wally > Date: Tue, 10 Apr 2012 09:42:18 -0500 > From: mon...@jpobst.com > To: monodroid@lists.ximian.com > CC: theevilprogram...@hotmail.com > S

Re: [mono-android] 4.1 and r18

2012-04-10 Thread Jonathan Pobst
Can you provide the contents of the Output pane? Jonathan On 4/10/2012 9:56 AM, Wally McClure wrote: I take it that you are referring to the config manager in a solution. I have checked my project and the deploy checkbox is selected. any other ideas? Wally > Date: Tue, 10 Apr 2012 09:42:18 -

Re: [mono-android] 4.1 and r18

2012-04-10 Thread Wally McClure
I just tried this with a brand new project and got the same result. In the output pane: http://pastebin.com/QCjg1Fgz Wally > Date: Tue, 10 Apr 2012 10:01:55 -0500 > From: mon...@jpobst.com > To: theevilprogram...@hotmail.com > CC: monodroid@lists.ximian.com > Subject: Re: [mono-android] 4.1 and

Re: [mono-android] 4.1 and r18

2012-04-10 Thread Jonathan Pobst
The build definitely looks to be succeeding, your app .dll should exist in bin\Debug\. However, it's still not trying to deploy the project. Can you try doing Build->Package for Android and ensure that it can build the .apk correctly? Jonathan On 4/10/2012 10:07 AM, Wally McClure wrote:

Re: [mono-android] 4.1 and r18

2012-04-10 Thread Jonathan Pobst
Oh, I completely missed this: Build succeeded. Time Elapsed 00:00:00.03 Error: Object reference not set to an instance of an object. == Build: 1 succeeded or up-to-date, 0 failed, 0 skipped == == Deploy: 0 succeeded, 0 failed, 0 skipped == Not sure what that erro

Re: [mono-android] 4.1 and r18

2012-04-10 Thread Wally McClure
Apologies for not pointing that out. Had a distraction at the moment, so I just hit send. Wally > Date: Tue, 10 Apr 2012 10:17:08 -0500 > From: mon...@jpobst.com > To: theevilprogram...@hotmail.com > CC: monodroid@lists.ximian.com > Subject: Re: [mono-android] 4.1 and r18 > > Oh, I completely

Re: [mono-android] 4.1 and r18

2012-04-10 Thread Wally McClure
Also, I'm getting this error in a brand new project as well as an existing project. Wally From: theevilprogram...@hotmail.com To: mon...@jpobst.com Date: Tue, 10 Apr 2012 11:18:56 -0400 CC: monodroid@lists.ximian.com Subject: Re: [mono-android] 4.1 and r18 Apologies for not pointing that

Re: [mono-android] New Binding Generator

2012-04-10 Thread Matt
I didn't realize the fix you mentioned was in the binding generator. Will this be in the next alpha release? Thanks, Matt -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/New-Binding-Generator-tp5623432p5630407.html Sent from the Mono for Android mailing list archiv

Re: [mono-android] New Binding Generator

2012-04-10 Thread Atsushi Eno
Yes it will. It shouldn't take long (like a month) until the next preview release. Atsushi Eno Matt wrote: I didn't realize the fix you mentioned was in the binding generator. Will this be in the next alpha release? Thanks, Matt -- View this message in context: http://mono-for-android.10471

[mono-android] setting up the emulator - installing mono and the platform framework

2012-04-10 Thread Wally McClure
Is there anyway to speed up the installation of mono and the platform framework into the emulator? I realize that this is not something that is done very often, but it seems to take 20-30 minutes here, and my machines aren't bottom of the barrel. Is there any setting that I can use that mi

Re: [mono-android] SSL issues

2012-04-10 Thread Jonathan Pryor
On Apr 10, 2012, at 5:41 AM, Goncalo Oliveira wrote: > Are there still issues with SSL in monodroid? I'm having a zero status code > when accessing an SSL rest service. I know that in the past there was a bug > related to this; was it fixed? I'm not aware of any current issues with SSL, in that

Re: [mono-android] setting up the emulator - installing mono and the platform framework

2012-04-10 Thread Jonathan Pryor
On Apr 10, 2012, at 1:08 PM, Wally McClure wrote: > Is there anyway to speed up the installation of mono and the platform > framework into the emulator? 4.1.0 should have helped with this, at least a little bit: http://docs.xamarin.com/android/Releases/Mono_For_Android_4/Mono_for_Androi

[mono-android] r18 and 4.1.0 - seeing an emulator session

2012-04-10 Thread Wally McClure
I tend to start my emulator sessions manually with all the appropiate parameters. I'm not sure when this start happening, but I am seeing that with r18 and 4.1.0, that when I start a debug session, mfa doesn't always see the emulator sessions. It didn't see them yesterday, saw them earlier

Re: [mono-android] SSL issues

2012-04-10 Thread Goncalo Oliveira
Thanks Jon, The certificate is indeed a development certificate, therefore, a self-signed certificate. I'll check the callback in the ServicePointManager. Cheers, On 10 April 2012 18:13, Jonathan Pryor wrote: > On Apr 10, 2012, at 5:41 AM, Goncalo Oliveira wrote: > > Are there still issues wi

Re: [mono-android] r18 and 4.1.0 - seeing an emulator session

2012-04-10 Thread Wally McClure
Closing and reopening VS seems to have cleared this. VS gave me a message that there was a background operation happening that closing would stop the background operation. When I reopened VS, everything seemed to work. WallyFrom: theevilprogram...@hotmail.com To: monodroid@lists.ximian.com Da

Re: [mono-android] r17 x86 support

2012-04-10 Thread Andreia Gaita
Hi, Sorry, 4.1 came out with a bug in the x86 runtime support. The next alpha will have this fixed. andreia gaita --- blog.worldofcoding.com (http://blog.worldofcoding.com) github.com/andreiagaita (http://github.com/andreiagaita) On Saturday, April 7, 2012 at 11:48 PM, Joshu

Re: [mono-android] Socket Problem

2012-04-10 Thread Jonathan Pryor
As a guess... On Apr 6, 2012, at 3:08 AM, mcxxx wrote: >foreach (System.Net.NetworkInformation.NetworkInterface > networkInterface in > System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces()) you're hitting: https://bugzilla.xamarin.com/show_bug.cgi?id

[mono-android] How to use MotionEvent members

2012-04-10 Thread King Coffee
Hi fellow developers, I'm trying to convert an android java example code snippet to a C# code snippet. The java snippet uses Enums like: MotionEvent.ACTION_MASK and MotionEvent.ACTION_DOWN. Mono uses the default class android.Views.MotionEvent, which does not contain these field constants. So, h

Re: [mono-android] Missing overload of Html.FromHtml

2012-04-10 Thread Jonathan Pryor
On Apr 4, 2012, at 7:49 PM, psryland wrote: > Is there a way to access the second overload perhaps with a little JNI voodoo? Unfortunately it wasn't exposed because we're not currently binding the org.xml.sax.XMLReader interface, which prevents binding the Html.TagHandler interface. If you don'

Re: [mono-android] How to use MotionEvent members

2012-04-10 Thread Jonathan Pryor
On Apr 10, 2012, at 2:07 PM, King Coffee wrote: > I'm trying to convert an android java example code snippet to a C# code > snippet. The java snippet uses Enums like: MotionEvent.ACTION_MASK and > MotionEvent.ACTION_DOWN. Those were moved to the Android.Views.MotionEventActions enumeration, whic

[mono-android] Modal window

2012-04-10 Thread Paul Johnson
Hi, I've found this on stackoverflow on implementing a modal window... http://stackoverflow.com/questions/6120567/android-how-to-get-a-modal-dialog-or-similar-modal-behavior The bottom example is simple enough to port to C#, but I have a few questions. 1. private Method mMsgQueueNextMethod =

Re: [mono-android] GetResponseStream().ReadToEnd Fatal Exception

2012-04-10 Thread Jonathan Pryor
On Apr 9, 2012, at 1:05 PM, emalamisura wrote: > So I posted about this earlier where ReadToEnd will throw an exception > randomly and rather rare, but it is indeed happening. It happened last > night, and nothing is logged to LogCat, absolutely nothing. Could you try this on the 4.1.0 alpha? I

Re: [mono-android] Modal window

2012-04-10 Thread Jonathan Pryor
On Apr 10, 2012, at 3:37 PM, Paul Johnson wrote: > The bottom example is simple enough to port to C#, but I have a few questions. > > 1. > private Method mMsgQueueNextMethod = null; > private Field mMsgTargetFiled = null; > > By the looks of it mMsgQueueNextMethod is kind of like an Intent ore th

Re: [mono-android] GetResponseStream().ReadToEnd Fatal Exception

2012-04-10 Thread emalamisura
Hi Jon, I haven't had the opportunity to compile to the latest Alpha just yet, but I am planning on doing that this weekend once I tie up some loose ends. Once I am on Alpha I will keep an eye out for this, I did some tidying up of the code above with wrapping the streams in using blocks, removin

Re: [mono-android] New Binding Generator

2012-04-10 Thread Matt
A month is actually a long time :(. Is there a set date for the final release? Thanks, Matt -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/New-Binding-Generator-tp5623432p5631555.html Sent from the Mono for Android mailing list archive at Nabble.com. _