Re: [mono-android] System.Net.WebClient.UploadFileAsync Problem

2012-01-19 Thread Jonathan Pryor
Please file a feature request at bugzilla.xamarin.com. Thanks, - Jon On Jan 19, 2012, at 10:25 AM, subsembly wrote: > Hi all, > > just when I thought all troubles with WebClient are gone, I encountered a > new one. This time the compatibility problem is with the > WebClient.UploadFileAsync() m

[mono-android] could not fine android.jar file

2012-01-19 Thread Wally McClure
I've got an example that I have written that runs on honeycomb. Works just fine on my machine, but I have to show it running on another machine in its emulator. When I attempt to built the application on this different machine, I am getting an error, saying "COuld not fine android.jar for API

Re: [mono-android] System.Net.WebClient.UploadFileAsync Problem

2012-01-19 Thread subsembly
It's not a feature request. It's a SEVERE BUG in the Mono WebClient implementation! -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/System-Net-WebClient-UploadFileAsync-Problem-tp5157961p5158060.html Sent from the Mono for Android mailing list archive at Nabble.com

Re: [mono-android] could not fine android.jar file

2012-01-19 Thread Jonathan Pobst
If you turn your msbuild verbosity up to diagnostic, you should be able to search the log for "GetJavaPlatformJar" and it will tell you where it is looking. Here's mine: Task "GetJavaPlatformJar" (TaskId:33) GetJavaPlatformJar Task (TaskId:33) AndroidSdkDirectory: C:\Program Files (x86)\

Re: [mono-android] System.Net.WebClient.UploadFileAsync Problem

2012-01-19 Thread Gonzalo Paniagua Javier
On Thu, Jan 19, 2012 at 10:57 AM, subsembly wrote: > It's not a feature request. It's a SEVERE BUG in the Mono WebClient > implementation! Ok. Since the world is going to end, I will take a look just to make sure that it is just a common bug and can be fixed quickly ;-). I will follow up in the

Re: [mono-android] System.Net.WebClient.UploadFileAsync Problem

2012-01-19 Thread subsembly
Thank you very much. Maybe I should explain my situation: I bought a MonoTouch + MonoDroid enterprise licence almost a year ago, when it was still with Novell. We already have two applications developed in C# for .NET 2.0 for Windows Desktop and also for the .NET Compact Framework for those good o

Re: [mono-android] System.Net.WebClient.UploadFileAsync Problem

2012-01-19 Thread Gonzalo Paniagua Javier
On Thu, Jan 19, 2012 at 11:10 AM, Gonzalo Paniagua Javier wrote: > On Thu, Jan 19, 2012 at 10:57 AM, subsembly wrote: >> It's not a feature request. It's a SEVERE BUG in the Mono WebClient >> implementation! > > Ok. Since the world is going to end, I will take a look just to make > sure that it i

Re: [mono-android] could not fine android.jar file

2012-01-19 Thread Wally McClure
I have put the output content to:http://pastebin.com/0mu9TzjG It looks like the system is trying to go to C:\Users\AppDev User\AppData\Local\Xamarin\MonoForAndroid\AndroidSDK\android-sdk-window to get the sdk. I am guessing that if I update the sdk at that location, this will solve the proble

Re: [mono-android] System.Net.WebClient.UploadFileAsync Problem

2012-01-19 Thread Gonzalo Paniagua Javier
On Thu, Jan 19, 2012 at 11:29 AM, subsembly wrote: > Thank you very much. > > Maybe I should explain my situation: I bought a MonoTouch + MonoDroid > enterprise licence almost a year ago, when it was still with Novell. We > already have two applications developed in C# for .NET 2.0 for Windows > D

Re: [mono-android] could not fine android.jar file

2012-01-19 Thread Wally McClure
Looks like the sdk is installed at 2 locations. I am updating the 2nd one that I didn't know about. Will notify you on this later for the results. Wally From: theevilprogram...@hotmail.com To: mon...@jpobst.com; monodroid@lists.ximian.com Date: Thu, 19 Jan 2012 11:58:16 -0500 Subject: Re: [mon

Re: [mono-android] System.Net.WebClient.UploadFileAsync Problem

2012-01-19 Thread subsembly
Got me :-) To my surprise your code does indeed add the MIME header stuff, even on the .NET Framework for Windows. So I went back to my real application code to check this out. I found the difference is that we are using "PUT" and not "POST" as the HTTP method. If you change your line to wc.Uplo

Re: [mono-android] could not fine android.jar file

2012-01-19 Thread Wally McClure
Looks like updating this second hidden location resolved the issue. I think its back up and going now. Now, I am just back to standard Android issues. Are there any standard android issues? Wally From: theevilprogram...@hotmail.com To: mon...@jpobst.com; monodroid@lists.ximian.com Date: Thu,

Re: [mono-android] Drawables with a space in the filename?

2012-01-19 Thread Tossing, Chris
Jon, That worked great - thank you! Chris P.S. it would be nice if linked files got patched automatically when the Build Action is set to AndroidResource (e.g. remove spaces and other Android Resource illegal characters from the link tag) - that way we wouldn't need to manually go in and modi

Re: [mono-android] System.Net.WebClient.UploadFileAsync Problem

2012-01-19 Thread Gonzalo Paniagua Javier
On Thu, Jan 19, 2012 at 12:07 PM, subsembly wrote: > Got me :-) Hah. No, you got me! > > To my surprise your code does indeed add the MIME header stuff, even on the > .NET Framework for Windows. So I went back to my real application code to > check this out. I found the difference is that we are

[mono-android] VS.NET reports new version but downloads 401

2012-01-19 Thread Neal Culiner
I installed 4.0.3 via the manual download link yet when I open VS.NET 2010 it reports a new version is available and downloads 4.0.1. FYI Neal Culiner NC Software, Inc. http://www.nc-software.com/ ___ Monodr

Re: [mono-android] VS.NET reports new version but downloads 401

2012-01-19 Thread Jonathan Pobst
See http://lists.ximian.com/pipermail/monodroid/2012-January/008518.html Jonathan On 1/19/2012 12:48 PM, Neal Culiner wrote: I installed 4.0.3 via the manual download link yet when I open VS.NET 2010 it reports a new version is available and downloads 4.0.1. FYI Neal Culiner NC Software, Inc

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

2012-01-19 Thread Miljenko Cvjetko
Hi On 2012.01.19 16:39, Jonathan Pobst wrote: The situation is that 4.0.3 is a beta, and your settings for VS to prompt you of updates is set to only use stable versions. Therefore it is trying to help you get back onto a stable release. I see. Not used for so much help so got a bit confused

[mono-android] Paypal or Google Merchant

2012-01-19 Thread randalltomes
I have an existing PayPal pro account that I can use for commerce on the internet with no restrictions. Do I need to go through the process of setting up google merchant account for android market in app purchases? What I am interested is providing in app purchases with the most convenience for t

Re: [mono-android] M4A application suddenly loses F5 (Debug =+ Start) ability

2012-01-19 Thread Jonathan Pobst
Very weird, there must be some sort of difference between your 2 project files for them to behave differently. You can either try to find this difference yourself, or you can send them to me privately if possible. Jonathan On 1/19/2012 1:56 PM, Miljenko Cvjetko wrote: Hi Jonathan and than

Re: [mono-android] M4A application suddenly loses F5 (Debug =+ Start) ability

2012-01-19 Thread Miljenko Cvjetko
Hi On 2012.01.19 21:42, Jonathan Pobst wrote: Very weird, there must be some sort of difference between your 2 project files for them to behave differently. I suspect some AddIns, I'm not sure. Did couple of VS restarts now it works. We'll continue on working and push often into svn, so when/if

[mono-android] taking a pic

2012-01-19 Thread Wally McClure
I've got the code below for taking a picture. It uses the phone's camera. It works on my phone, but not on a xoom and not on some other people's camera. What I am finding is that the data.Data property that comes back is null on a device that it doesn't work on. Here are the devices I've te

Re: [mono-android] Does anyone have a code example for using Google Market Licensing with MonoDroid?

2012-01-19 Thread Mark Eaton
Well I have made some progress here. I can get a pointer to a valid market license instance. Surprising I am enjoying this. Now I need to implement the call back based on a Java interface: "com/android/vending/licensing/LicenseCheckerCallback" Below is my code example. Basically I am trying to c

[mono-android] Application-wide Themes

2012-01-19 Thread Steve Sharrock
This is probably a stupid question; but, I assume many on this list (like myself) are primarily Windows and perhaps Windows Mobile developers without much Android background. We've been running our M4A apps on various phone devices, and even an older Galaxy Tab without any problems - the standard

Re: [mono-android] Application-wide Themes

2012-01-19 Thread Wally McClure
Steve, Yes, the application-side themes are supported. I have tested them on 2.x in an mfa app. I guess that they work on 3.x and 4.x, but haven't tried it. I am out of pocket on this right now. Ping me next week and I'll get you a proect I have that shows this in a short demo. Wally Fro

Re: [mono-android] Drawables with a space in the filename?

2012-01-19 Thread Miljenko Cvjetko
Hi On 2012.01.19 00:07, Tossing, Chris wrote: Is it possible to use drawables with spaces in the filename? I have an image library that I would prefer to use as it is (has spaces in the filenames). When I try to include a link to one of those files and set the Build Action to AndroidResour

Re: [mono-android] Displayed App- Version

2012-01-19 Thread TeHa
thx a lot, at the moment I was so frustrated that I didn't think to look at my manifest times more detail -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Displayed-App-Version-tp5155004p5156944.html Sent from the Mono for Android mailing list archive at Nabble.com.

[mono-android] Motorola Xoom system update

2012-01-19 Thread Wally McClure
I heard yesterday that the Xoom update to ics is starting to roll out. This morning, I have a system update ready to be installed. Questions: 1. Can anyone confirm that the system update is ics? 2. How well does the current mfa (4.0.1) work with ics? 3. If i have an app running in hc, what types

[mono-android] How can I use bug trackers like Acra or BugSense?

2012-01-19 Thread Dzugaru
I've had no troubles including their .jars by specifying AndroidJavaLibrary build action, trackers start normally and write stuff to adb log. However, when an unhandled exception occurs, it seems MonoDroid kills an application so fast, they can't do a thing about it. Shouldn't a crashing app on An

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

2012-01-19 Thread was
As it's a Beta, I changed Tools>Options>Mono for Android>Settings>Notify of Updates of Quality to Beta and the update message disappeared. Regards...Andrew -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Mono-for-Android-4-0-3-Release-Available-tp5155791p5157655.ht

Re: [mono-android] Motorola Xoom system update

2012-01-19 Thread Jonathan Pryor
On Jan 19, 2012, at 7:55 AM, Wally McClure wrote: > I heard yesterday that the Xoom update to ics is starting to roll out. This > morning, I have a system update ready to be installed. Questions: > 1. Can anyone confirm that the system update is ics? I don't see any updates on my Xoom. :-/ > 2.

Re: [mono-android] M4A application suddenly loses F5 (Debug =+ Start) ability

2012-01-19 Thread Jonathan Pobst
On 1/19/2012 6:46 AM, Miljenko Cvjetko wrote: * Is this ability to start/debug app related to ProjectGuid? Or is it in sln file? I cannot find any reference which flag or where is this stored... This is driven by there being true in the project's csproj. * What drives adding c#

Re: [mono-android] Mono crashing at System.MonoType.GetProperties call

2012-01-19 Thread Jonathan Pryor
On Jan 18, 2012, at 8:46 AM, devbuzz wrote: > So if a thread is in the middle of deserializing a large object graph - GC > shouldn't touch that right? Correct. > Also is the GC process "timer aware"; presumably it is fairly circumspect > about what it marks for cleaning up with respect to threa

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

2012-01-19 Thread Jonathan Pobst
The situation is that 4.0.3 is a beta, and your settings for VS to prompt you of updates is set to only use stable versions. Therefore it is trying to help you get back onto a stable release. Tools->Options->Mono for Android->Check for updates I did not realize this was the intended behavior