[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

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

2012-02-06 Thread Builder
Hello, I tried to run this code (on Samsung galaxy s2) according to your hint: string proxy; int port = -1; string user, password; Android.Net.Uri uri = Android.Net.Uri.Parse("content://telephony/carriers/current"); var cursor = this.ManagedQuery(uri, new string[] { "proxy", "port", "user", "pass

[mono-android] Problem with calling WCF service

2011-10-14 Thread Builder
Hello, I need to call a WCF service. I generated a WCF proxy (using slsvcutil) according to tutorial http://wiki.ios.xamarin.com/HowTo/WebServices/Using_WCF and used it in the Mono for Android project. I made WCF proxy to the same service as tutorial http://docs.xamarin.com/android/tutorials/cons

[mono-android] ORM for Mono for Android

2011-10-18 Thread Builder
Hello "Mono for Android" developers, I'm searching for ORM working with Mono for Android and Sqlite. So far I found the following ORMs working with MonoTouch: Vici CoolStorage (works good, API is not so cool) Catnap-ORM (very nice API, unable to run it, missing any example how to use it with Monot

Re: [mono-android] ORM for Mono for Android

2011-10-19 Thread Builder
DB4O looks nice. Did you try it with Mono for Android? -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/ORM-for-Mono-for-Android-tp4912963p4920504.html Sent from the Mono for Android mailing list archive at Nabble.com. ___

Re: [mono-android] Invalid IL code

2011-10-20 Thread Builder
Is there any recommended way how to obfuscate Mono for Android apps? The build result is .apk file, which is Java byte code, right? Can be used tools like ProGuard to obfuscate it? -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Invalid-IL-code-tp4785643p4920988.htm

[mono-android] How to convert byte[] to Java.Lang.Object ?

2011-11-07 Thread Builder
Hello, I want to implement OnPreviewFrame method from Android.Hardware.Camera.IPreviewCallback interface. My implementation looks like this: public void OnPreviewFrame(byte[] data, Android.Hardware.Camera camera) { Handler thePreviewHandler = previewHandler;

Re: [mono-android] How to convert byte[] to Java.Lang.Object ?

2011-11-07 Thread Builder
Thanks for answer. But JniHandleOwnership is available only in 1.9.2 (preview), right? I'm using Mono for Android version 1.2 (official version). How do I make it in 1.2? Peter -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/How-to-convert-byte-to-Java-Lang-Object-

[mono-android] Is it possible to use java.util.concurrent.CountDownLatch in Mono for Android?

2011-11-07 Thread Builder
Hello, I need to use java.util.concurrent.CountDownLatch in order to synchronize java.lang.Thread-s. Seems that java.util.concurrent namespace is not ported to Mono for Android yet, but java.lang.Thread is. Is it possible to use somehow CountDownLatch in Mono for Android? Best Regards, Peter --

Re: [mono-android] Is it possible to use java.util.concurrent.CountDownLatch in Mono for Android?

2011-11-07 Thread Builder
Thanks for answer. Can you direct me to some example how to use Android.Runtime.JNIEnv? Peter -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Is-it-possible-to-use-java-util-concurrent-CountDownLatch-in-Mono-for-Android-tp4972444p4973465.html Sent from the Mono for

[mono-android] "Packaging Failed" after upgrading to 4.0.1

2012-01-13 Thread Builder
Hello, I have the existing application which was developed with M4A 1.2.0. I upgraded M4A to 4.0.1. But now I get "Packaging failed" error when building the application. The problem is in the embedded java source files (ZXing library) in my solution. Errors in Output windows look that: C:\Program

Re: [mono-android] "Packaging Failed" after upgrading to 4.0.1

2012-01-13 Thread Builder
Setting "AndroidJavaLibrary" from "AndroidJavaSource" on .jar file fixed my problem :-). -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Packaging-Failed-after-upgrading-to-4-0-1-tp5142301p5142369.html Sent from the Mono for Android mailing list archive at Nabble.co

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

2012-01-16 Thread Builder
Hello, I would also need an example how to use Google Market Licensing in Monodroid. I'm surprised that there is no example how to use it. Best Regards, Peter -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Does-anyone-have-a-code-example-for-using-Google-Market-L