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

2012-01-25 Thread Felix Collins
I finally figured out what I was doing wrong. I have projects in the same solution that target .net and mono android/touch. Not surprisingly the proxy as generated from slsvcutil.exe won't compile when targeting .net but does build for mono. The solution was to enclose the CreateChannel overr

Re: [mono-android] delay in mailing list?

2012-01-25 Thread Miljenko Cvjetko
Hi Wally On 2012.01.25 21:48, Wally McClure wrote: I see that there is a delay in emails going through the mailing list. Is the list now moderated? AFAIK it always was... I had to move my DNS servers and had problems with mail, so Joseph Hill removed me from list for a while. I do receive ver

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

2012-01-25 Thread Tomasz Cielecki
Do what you want as long as it does not violate the License :) On Wed, Jan 25, 2012 at 8:47 PM, Miljenko Cvjetko wrote: > Hi > > On 2012.01.25 14:12, Tomasz Cielecki wrote: > > I have made a port of a Horizontal Pager which can be found > here: https://github.com/Cheesebaron/MonoDroid.HorizontalP

[mono-android] delay in mailing list?

2012-01-25 Thread Wally McClure
I see that there is a delay in emails going through the mailing list. Is the list now moderated? Wally ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/ma

Re: [mono-android] Am I seeing it right??

2012-01-25 Thread Wally McClure
That is an awesome find Nice catch. I'm hoping it makes it out in the release. Wally Date: Wed, 25 Jan 2012 20:35:00 +0100 From: mcvje...@holisticware.net To: monodroid@lists.ximian.com Subject: [mono-android] Am I seeing it right?? Hi Been here

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

2012-01-25 Thread Miljenko Cvjetko
Hi On 2012.01.25 14:12, Tomasz Cielecki wrote: I have made a port of a Horizontal Pager which can be found here: https://github.com/Cheesebaron/MonoDroid.HorizontalPager Great job! Thanks. may I put it together as VS item template? ... and publish it of course ... regards mel It works in a

[mono-android] Am I seeing it right??

2012-01-25 Thread Miljenko Cvjetko
Hi Been here     http://android.xamarin.com/Releases/Mono_for_Android_4/Release_4.0.3 but could find anything like in following pic: It seems like debugging is gonna be faster soon?? Thanks folks mel -- Miljenko Cvjetko dipl.ing. ET

Re: [mono-android] taking a pic

2012-01-25 Thread efontana
void cropPicture(Intent data) { Intent intent = new Intent("com.android.camera.action.CROP"); intent.SetType("image/*"); List list = PackageManager.QueryIntentActivities(intent, 0).ToList(); List cropOptions = new List(); if (list.Count == 0) { Toa

Re: [mono-android] taking a pic

2012-01-25 Thread efontana
This works for me; (one for Gallery one for Camera) private void pickFromGallery() { Intent i = new Intent(Intent.ActionGetContent); i.SetType("image/*"); _activity.StartActivityForResult(i, PICK_FROM_FILE); } private void pickFromCamera() {

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

2012-01-25 Thread James Lavery
Hi Andreas, Thanks for the tip - yes this looks a lot cleaner and I agree about 'less being more'. James -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Layout-Activity-with-ListView-and-TextView-below-it-tp5149952p5429728.html Sent from the Mono for Android mailin

Re: [mono-android] Memory Leak with Background Image

2012-01-25 Thread subsembly
Thanks, that did solve the problem. I also added another GC.Collect() in my OnRestart() override, just to be absolutely sure. Cheers, Andreas. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Memory-Leak-with-Background-Image-tp5165833p5430759.html Sent from the Mon

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

2012-01-25 Thread Miljenko Cvjetko
Hi On 2012.01.23 21:34, G. Völkl wrote: 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? Targeting audience? This will determine how and what to write. What should be the content? If targeting iOS

Re: [mono-android] upper limit on resources/drawable size?

2012-01-25 Thread Wally McClure
Andreas, Thanks an excellent point. I was fixated on the 50KB part and not thinking about it being unrolled in memory and having to work with the actual bits. That makes perfect sense. I was working last night on an image that was fairly large. I found that making it smaller helped until i

Re: [mono-android] Mono for Android 4.0.3 Release Available

2012-01-25 Thread tsukrov
http://mono-for-android.1047100.n5.nabble.com/file/n5430599/debug.png We get this msg trying to debug with 4.0.3 -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Mono-for-Android-4-0-3-Release-Available-tp5155791p5430599.html Sent from the Mono for Android mailing

Re: [mono-android] Mono 4.0.3 installLocation at 2.1

2012-01-25 Thread tsukrov
Thanks. That does it. M4A 4.0.1 hat nothing against targetSdk="7". -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Mono-4-0-3-installLocation-at-2-1-tp5429975p5430584.html Sent from the Mono for Android mailing list archive at Nabble.com. __

Re: [mono-android] Mono 4.0.3 installLocation at 2.1

2012-01-25 Thread Jonathan Pobst
This error is coming from the Android SDK. You will need to change your target Android framework to 2.2 or set a targetSdkVersion in the manifest to 8, and then set minimumSdkVersion to 7 or less. Hope this helps! Jonathan On 1/25/2012 5:39 AM, tsukrov wrote: Hi! We were using minSdk = "7"

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

2012-01-25 Thread Stuart Lodge
Thank you! Builds and runs here - thanks :) On 25 January 2012 13:12, Tomasz Cielecki wrote: > I have made a port of a Horizontal Pager which can be found here: > https://github.com/Cheesebaron/MonoDroid.HorizontalPager > > It works in a similar manner. This is an entirely C# implementation. > >

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

2012-01-25 Thread Tomasz Cielecki
I have made a port of a Horizontal Pager which can be found here: https://github.com/Cheesebaron/MonoDroid.HorizontalPager It works in a similar manner. This is an entirely C# implementation. On Jan 25, 2012 12:52 PM, "Stuart Lodge" wrote: > I don't suppose anyone has already done this and woul

[mono-android] System.IO.File.GetAttributes returns always ReadOnly

2012-01-25 Thread tsukrov
Is it a not yet implemented behaviour? I get ReadOnly flag for all the files on the SD card. Shell shows rwxr-x system sdcard_rw My app can write the card. Java.IO.File.canWrite() returns true. Any suggestions how to check if the file can be written? -- View this message in context: http

[mono-android] Mono 4.0.3 installLocation at 2.1

2012-01-25 Thread tsukrov
Hi! We were using minSdk = "7" (2.1) combined with installLocation="preferExternal". It's the http://developer.android.com/guide/appendix/install-location.html recommended way to allow SD install for 2.2+. Unfortunately M4A 4.0.3 is over protective in this case. We have the following error: *N

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

2012-01-25 Thread Stuart Lodge
I don't suppose anyone has already done this and would like to share the source (just asking in case) If not, then I'll have a go... as I'd quite like to use the ViewPager in this app. On 23 January 2012 21:24, Jonathan Pryor wrote: > On Jan 21, 2012, at 7:36 AM, k0ng wrote: > > I want to use V

Re: [mono-android] upper limit on resources/drawable size?

2012-01-25 Thread subsembly
Hi, I do not know whether there is an upper limit to the file size, but you have to keep in mind that a JPEG file with a pixel size of 1000x1000 that is maybe only a 50 KB file, will require 3 MB (1000x1000x3) when loaded. Therefore I am more concerned with the resulting pixel size of images, then