[mono-android] Can not build WCF proxy generated by slsvcutil.exe 'ChannelBase' could not be found

2012-01-23 Thread Felix Collins
Hi, I've been struggling to get a WCF web service client going on monotouch. I have had the same client working with a dynamic proxy on .net, mono on mac and android. Now I need to get a client going for monotouch and that needs to be a statically generated proxy due to the limitations imposed

[mono-android] Memory Leak with Background Image

2012-01-23 Thread subsembly
Hi, it seems that bitmap images attached as background drawables are never released. In order to re-create the problem just create a default Mono for Android project and add the line android:background="@drawable/wallpaper" to the outer LinearLayout. Also add a wallpaper.png image (make it large

[mono-android] How to get proxy settings

2012-01-23 Thread Builder
Hello, I'm trying to get current proxy settings: string proxySettings = Android.Provider.Settings.System.GetString(this.ContentResolver, Android.Provider.Settings.System.HttpProxy); But I still get null, even when I set proxy on my Samsung Galaxy S II (Settings->Wireless and network->Wi-Fi setti

Re: [mono-android] How to get proxy settings

2012-01-23 Thread Builder
Or is it a general Android problem? See http://code.google.com/p/android/issues/detail?id=1273 http://code.google.com/p/android/issues/detail?id=1273 . -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/How-to-get-proxy-settings-tp5165927p5165979.html Sent from the M

[mono-android] Catch all the exceptions

2012-01-23 Thread PVoLan
I want to handle all the exceptions in my application and send them to my server, collecting statistics info. This looks like a trivial task, but I've got some problems. Sending remote request takes long time. If I subscribe at AppDomain.CurrentDomain.UnhandledException to catch an exception, dal

Re: [mono-android] Can not build WCF proxy generated by slsvcutil.exe 'ChannelBase' could not be found

2012-01-23 Thread Willem Meints
Hi Felix, Can't say that I recognize any of your problems. I've used slsvcutil.exe quite a few times now with good results. I think the main difference here is that I am using version 4 of slsvcutil.exe since I don't have any v3 stuff floating around my machine. You might want to give that vers

Re: [mono-android] Layout - Activity with ListView and TextView below it

2012-01-23 Thread subsembly
A more optimized layout serving the same purpose would be: http://schemas.android.com/apk/res/android"; android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" > Less nesting means faster layout. Also I would prefer to u

Re: [mono-android] updated to 4.0.3 beta

2012-01-23 Thread Wally McClure
Thanks Jonathan. A reinstall of 4.0.3 beta resolved the compile problem. Wally > Date: Sun, 22 Jan 2012 21:42:33 -0600 > From: mon...@jpobst.com > To: monodroid@lists.ximian.com > CC: theevilprogram...@hotmail.com > Subject: Re: [mono-android] updated to 4.0.3 beta > > Sounds like something is

[mono-android] MOnodevelop cant see AVD(s)

2012-01-23 Thread ppalmeida
Hi folks. Im new in Mono and Android. I've looked for this problem and the most near I found talks about a Java bug and says to "reinstall" the SDK, witch I did resulting no success. What I notice is that Android Virtual Device Manager has a list of all my devices at some folder, but try to initi

[mono-android] autofocus in a camera

2012-01-23 Thread Wally McClure
I have some code that works perfect in a motorola xoom running ICS. In my htc evo, I am getting an error when I set the camera's autofocus event. I thought that if a device didn't support autofocus, that the autofocus event just fired, nothing was done, and there was no error. Unfortunately,

Re: [mono-android] MOnodevelop cant see AVD(s)

2012-01-23 Thread ChrisNTR
Hey, You will want to press the "refresh" button once and then wait 10/15 seconds and hopefully it will show up then, if this doesn't work, then try pressing "refresh" again and again wait for it to show up. The issue is that the Emulator isn't showing up through ADB (the Android Debug Bridge used

Re: [mono-android] MOnodevelop cant see AVD(s)

2012-01-23 Thread Miljenko Cvjetko
Hi Did You try adb kill-server adb start-server sequence? this usually helps. And yes check whether You can press on start button in MD iti is light greyish so it confuses me too (sometimes) regards mel On 2012.01.23 18:41, ChrisNTR wrote: Hey, You will want to press the "refres

Re: [mono-android] MOnodevelop cant see AVD(s)

2012-01-23 Thread Miljenko Cvjetko
Hi Now I see: refresh does kill + start of ADB?? thanks for sharing this. m On 2012.01.23 18:41, ChrisNTR wrote: Hey, You will want to press the "refresh" button once and then wait 10/15 seconds and hopefully it will show up then, if this doesn't work, then try pressing "refresh" again and

Re: [mono-android] MOnodevelop cant see AVD(s)

2012-01-23 Thread Wally McClure
Another option is to go to the command line and issue adb kill-server followed by adb start-server. This will reset ad and it should see the running emulator. Basically, this is an adb issue, it sometimes doesn't see what it is supposed to see. Wally From: chris...@gmail.com Date: Mon, 23 Ja

Re: [mono-android] MOnodevelop cant see AVD(s)

2012-01-23 Thread Pedro Paulo
Hi, all. Thanks for your reply :-) The "refresh and wait technique" didnt work. Yes, I tried reset with adb kill-server adb start-server The "Select device" dialog still saying "Android emulator not started". Does anyone has a different suggestion or clue? Thank you all. Best regards. P

Re: [mono-android] MOnodevelop cant see AVD(s)

2012-01-23 Thread Wally McClure
Admittedly, its a dumb question, but do you have an avd running? Wally From: pedropauloalme...@gmail.com Date: Mon, 23 Jan 2012 15:23:39 -0300 To: monodroid@lists.ximian.com Subject: Re: [mono-android] MOnodevelop cant see AVD(s) Hi, all.Thanks for your reply :-) The "refresh and wait technique

Re: [mono-android] MOnodevelop cant see AVD(s)

2012-01-23 Thread Pedro Paulo
Hi, Wally. I think I do, as you can see in this image: http://yfrog.com/mntj0p ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid

Re: [mono-android] Can not build WCF proxy generated by slsvcutil.exe 'ChannelBase' could not be found

2012-01-23 Thread Felix Collins
Woops, posted to the wrong list. Although it is still relevant here I suppose. I tried generating the proxy with the silverlight 4 tools and the output is identical apart from the version number in the comments. On 24/01/2012 3:21 a.m., Willem Meints wrote: Hi Felix, Can't say that I recogni

[mono-android] Xamarin Samples - Google Maps

2012-01-23 Thread Miljenko Cvjetko
Hi Great job it works great. Some stuff to share and questions (first) * it seem that api will change in 4.0.1+ I had 4.0.3 installed and SensorManager api is changed slightly?! Noticed change here: sensor_manager.RegisterListener (rotate_view,SensorType.Orientation,SensorDelay.Ui);

Re: [mono-android] Catch all the exceptions

2012-01-23 Thread Jonathan Pryor
On Jan 23, 2012, at 7:50 AM, PVoLan wrote: > I want to handle all the exceptions in my application and send them to my > server, collecting statistics info. This looks like a trivial task, but I've > got some problems. Unfortunately we don't have a good answer at this time. The primary problem i

[mono-android] Book about Mono Mobile (Android and iOS)? Content?

2012-01-23 Thread G . Völkl
Hi, I am thinking about writing a book about Mono Mobile (Android and iOS). Do you think there are many people who will be interested in it? What should be the content? Best regards Gerhard ___ Monodroid mailing list Monodroid@lists.x

Re: [mono-android] How to get proxy settings

2012-01-23 Thread Jonathan Pryor
On Jan 23, 2012, at 7:15 AM, Builder wrote: > I'm trying to get current proxy settings: Perhaps try this? http://stackoverflow.com/a/6616970/83444 Thanks, - Jon ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: h

Re: [mono-android] How to implement ViewPager from compatibility package .jar

2012-01-23 Thread Jonathan Pryor
On Jan 21, 2012, at 7:36 AM, k0ng wrote: > I want to use ViewPager as demo in this website > > http://geekyouup.blogspot.com/2011/07/viewpager-example-from-paug.html Right now, it won't be easy, as you need to manually bind the Java types. In a future release, we'll be providing a tool to simpl

Re: [mono-android] Can not build WCF proxy generated by slsvcutil.exe 'ChannelBase' could not be found

2012-01-23 Thread Felix Collins
I accidentally found the issue. By commenting out the cookie container stuff, suddenly the error about the ChannelBase went away! Still not sure what the issue was but it seems to work now... On 24/01/2012 9:42 a.m., Felix Collins wrote: Woops, posted to the wrong list. Although it is still

[mono-android] Unable to deploy to Toshiba Thrive Tablet (Honeycomb 3.1)

2012-01-23 Thread efontana
I just got a new Toshiba Thrive 32gb via Woot. I installed the Toshiba USB Driver, every time I try to deploy I always get errors (with or without Fast Deployment) The error occurs during installation of Mono Runtime http://pastebin.com/v81F83iU 01-23 19:40:13.410 D/AndroidRuntime( 776): 0

Re: [mono-android] Unable to deploy to Toshiba Thrive Tablet (Honeycomb 3.1)

2012-01-23 Thread efontana
Figured it out, no SD card, had to change to "Prefer Internal" - iPhone and Android Developer www.ericfontana.com -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Unable-to-deploy-to-Toshiba-Thrive-Tablet-Honeycomb-3-1-tp5207586p5209864.html Sent from the Mon

[mono-android] "The referenced project is targetted to a different framework family (MonoAndroid)"

2012-01-23 Thread Tom Opgenorth
Just trying something out here. Adding some unit tests to a project of mine. When I went to add the test assembly, I just added a new project that is a regular DLL. For the test assembly I then added references to Xunit, Rhino.Mocks, my M4A project, and Mono.Android.dll. Now when I build my solu

Re: [mono-android] Catch all the exceptions

2012-01-23 Thread PVoLan
Please, take a look at the test case, I've upated a bit. There is no problem to hande an exception itself. AppDomain.CurrentDomain.UnhandledException handles exception succesfully. After your answer I've added AndroidEnvironment.UnhandledExceptionRaiser to example, and this catches fine too. Java.