Re: [mono-android] Can't Connect to Galaxy Nexus

2012-12-14 Thread DFX
Max, I wish I could say I found a solution, unfortunately my problem vanished, but, I completely wiped my machine to upgrade to Windows 8, basically everything is different on my machine, so I have no way of know what fixed it. Sorry! -- View this message in context: http://mono-for-android.10

[mono-android] Weird sporadic errors...

2012-12-12 Thread DFX
I updated to Visual Studio 2012 and since then, often times when I try to compile my code, I will get a bunch of errors like: "'Android.App.Activity' is a 'type' but is used like a 'variable'" and "The name 'ListAdapter' does not exist in the current context" It seems to be limited to the class

Re: [mono-android] Can't find ContactsContract.Contacts.ContentUri

2012-10-21 Thread DFX
A! You have to be targeting Android 2.1 or above. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Can-t-find-ContactsContract-Contacts-ContentUri-tp5712207p5712208.html Sent from the Mono for Android mailing list archive at Nabble.com. ___

[mono-android] Can't find ContactsContract.Contacts.ContentUri

2012-10-21 Thread DFX
I feel like I'm going crazy, all the examples online for working with contacts (including Xamarin's) mention ContactsContract.Contacts.ContentUri, but I can't seem to find this class. The closest thing I can find is Android.Provider.Contacts.ContentUri, which in my limited testing doesn't appear t

Re: [mono-android] Can't Connect to Galaxy Nexus

2012-09-17 Thread DFX
I'm using the 4.2.6 Beta that was just released today. The phone is running Android 4.1.1. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Can-t-Connect-to-Galaxy-Nexus-tp5711823p5711845.html Sent from the Mono for Android mailing list archive at Nabble.com. _

[mono-android] Can't Connect to Galaxy Nexus

2012-09-16 Thread DFX
I'm experiencing something rather interesting. I've recently purchased an unlocked Galaxy Nexus, but I'm unable to get it to connect successful for me to deploy an app to it. When I launch Visual Studio I get an error "Device Failure: Unable to retrieve properties for device {DeviceId}. This devic

Re: [mono-android] Referencing Resources in Java Binding Library?

2012-08-28 Thread DFX
Hmm...the first method worked. I swear I was doing that last night. I guess I shouldn't program tired. Thanks! -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Referencing-Resources-in-Java-Binding-Library-tp5711587p5711607.html Sent from the Mono for Android mail

[mono-android] Referencing Resources in Java Binding Library?

2012-08-28 Thread DFX
I'm using MfA 4.2.5 and this some sample code (https://github.com/xamarin/monodroid-samples/tree/master/ActionBarSherlock) to update my ActionBarSherlock binding project to include it's resources, so I don't have to include them in my main project. Everything compiles and runs fine, but I can't f

Re: [mono-android] Android.Resource.Id.Home Missing...

2012-08-04 Thread DFX
I assumed that the project setting controlled that value in the Manifest. No? Why have a target SDK and a minimum SDK if you just set them both to be the target value? -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Android-Resource-Id-Home-Missing-tp5711148p5711

[mono-android] Android.Resource.Id.Home Missing...

2012-08-03 Thread DFX
I have a project that is targeting Android API Level 15, with a minimum SDK of Android 1.6. I'm trying to access Android.Resource.Id.Home, but it's missing. I've tried using global::, so it's definitely the correct resource. I'm wondering, is it not present because of my target/minimum level? I kno

Re: [mono-android] Java Binding with ActionBarSherlock

2012-08-02 Thread DFX
You did all the heavy lifting! -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Java-Binding-with-ActionBarSherlock-tp5711097p5711143.html Sent from the Mono for Android mailing list archive at Nabble.com. ___ Monodroid m

Re: [mono-android] Java Binding with ActionBarSherlock

2012-08-01 Thread DFX
Craig, I'm using Mono for Android 4.2.4.167234518. I removed that line in the Metadata.xml and I also had to include a .NET reference in the Java Binding file to Mono.Android.Support.v4. Once I did that, all the classes were included. Let me know if that works for you, if not, I can try to send

Re: [mono-android] Java Binding with ActionBarSherlock

2012-07-31 Thread DFX
I figured out the problem. If you are using the tutorial referenced in this email, remove this line from Metadata.xml Thanks, Dan -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Java-Binding-with-ActionBarSherlock-tp5711097p5711100.html Sent from the Mono for A

[mono-android] Java Binding with ActionBarSherlock

2012-07-31 Thread DFX
I'm trying to create a Java binding project so I can use ActionBarSherlock. I'm using this page as a reference: http://www.craigsprogramming.com/2012/07/actionbarsherlock-with-mono-for-android.html Everything works fine, except the binding assembly never contains the class SherlockFragmentActivity

Re: [mono-android] Get Bitmap from QRCodeWriter using Zxing Library

2012-07-26 Thread DFX
I figured it out... Here is the updated code: var height = 100; var width = 100; var writer = new QRCodeWriter(); var matrix = writer.encode("http//www.google.com", com.google.zxing.BarcodeFormat.QR_CO

[mono-android] Get Bitmap from QRCodeWriter using Zxing Library

2012-07-26 Thread DFX
I'm using the MonoDroid port of Zxing, found here: https://github.com/JohnACarruthers/zxing.MonoDroid I'm trying to create a QR Code and display it in an ImageView, but I apparently I have no idea what I'm doing ;-) QRCodeWriter has an encode method that returns a ByteMatrix. I'm trying to use Bi

[mono-android] Can't Deploy to Android Version 4.1.1

2012-07-23 Thread DFX
My Nexus S was just updated to Android 4.1.1 and now I am unable to deploy my app. I get the following error in Visual Studio: "There is a shared runtime on the device whose version cannot be determined. A new runtime will not be deployed. If the runtime needs to be replaced, please manually remov

[mono-android] Build Error on Target API Level > 10

2012-07-19 Thread DFX
Hello group, I have an Android Application and and Android Class Library. Both projects are set to use a minimum Android target of 1.6. When the Application is set to use target API Level <= 10, everything compiles and runs fine. When I change the Application to use a target API level of 12, 14, o