Log in or register to post comments

Questions about Vuforia and Xamarin

September 13, 2016 - 2:59am #1

Hey guys,

some days ago I started to do some research for my company with the goal to create some Android and iOS prototypes with Vuforia and Xamarin. 

After 4 days of research and coding I got stuck at 2 problems:


The first problem exists in my Android prototype:

I created a binding for the whole .jar file, which seems to work pretty well. Then I started with porting the demo app (ImageTarget) to C# file by file, which also worked well. When I finished the porting, I compiled it, removed the last errors and tested it on my device. The app starts; I can see a loading icon but after some time my console is spammed with tons of error messages.

It starts with this message:

 SampleAppRenderer Unable to update video background texture

and then goes over to

Vuforia_Sample_Applications After operation Rendering of the video background failed got glError 0x0500

. Which gets spammed about 18 times a second to the console.

So my question is how I could fix the error or what can I do to avoid this error?

Here is some additional information: Test Devices were a Samsung Galaxy S5 (Cyanogenmod 13/Android 6) and a Samsung Note 4 (Android 6). The target SDK is set to 22 (same value as the original android manifest value). Also the original android demo app runs on both of the test devices. 


My second problem is the iOS binding for Xamarin.

I followed this tutorial https://developer.xamarin.com/guides/ios/advanced_topics/binding_objective-c/walkthrough/. It took me some time to get sharpie to work without errors. I was very happy when I finished the run without any errors the first time. I thought that I could begin with the iOS testing now. But I was wrong. Sharpie found some enums and only 1 class (UIGLViewProtocol). I started to google again and found a post on the Xamarin forums (http://forums.xamarin.com/discussion/comment/84785/#Comment_84785) where they say, that it isn’t possible to create bindings automatically. But this post is 2 years old and I want to ask if there is any way to automatically do this?


Kind regards


Questions about Vuforia and Xamarin

September 23, 2016 - 12:46pm #2

Hi Mirko,  I'm also very interested in integrating vuforia into a cross platform application using Xamarin.  Let us know if you've made any progress!

Log in or register to post comments