Start a new topic

Problems starting with Xamarin component

We are starting trying to use the Xamarin component 6.1.0 version BUT some questions grow:

1. if i'm not wrong you have two distinct DDL files , one for Android platform and one for iOs (including universal = iphone + ipad ) platform.

So, if in Xamarin i create a cross-platform project i cannot reference your DLL, right ? ; and i have to build anyway two different application (one iOs , one Android) and link each the correct version of your DLL. Is it right ?

2. After referring to the DLL do your component is also a "grafic component" , something like usual WebView componet, so that i can insert it in my Xamarin Form to view AR projects ?

Or grafically what happen in my custom application ?

3. (linked to point 2) If we use Wikitude Studio to build - or better - associate various AR elements to the app objects (i.e. we want a video start when you point to a particular picture on the flyer), do we have to prepare and then "export" the Studio Project to externa app ?

And what we obtain is a Javascript project we have to invoke and run ?


how inside the application the action of invoking the AR video is performed ? how doews the app understand/recognize that the picture is the correct one ?

1 Comment

Hello Nicola,


you are correct about Xamarin not actually being platform independent. It allows you to build Android and iOS apps using a common language (C#), but requires you to implement platform specific component nonetheless. So you could still share common code between these platforms, but they are inherently separated.


We provide the ArchitectView class (WTArchitectView for iOS) which you need to instantiate and manage in your C# code. How exactly to do so is demonstrated by the Xamarin sample app as well as the corresponding documentation we provide. Having never had any contact wit Xamarin Forms, I cannot say how you would integrate the Wikitude Xamarin component with it or whether that is possible at all.


Wikitude Studio will export a folder containing various assets and source files. To load this AR experience, simply copy the folder to your project, add it to its resources and call 




with the path to the index.html file as the parameter.

In order to recognise images in the camera view, you need to create and supply a Wikitude target collection (wtc file). If you are using Wikitude Studio, this will automatically be created and referenced for you. This file contains the data required to recognise specific images and provides an identifier for each individual image. So in the JavaScript code, you assign augmentations to images. When the image in question is recognised, the associated augmentations are shown. Again, if you choose to use the studio editor, this will all be in place already in the exported project.

- Daniel

EDIT: To get started, I would recommend building the Xamarin example application we provide for Android and iOS and simply replacing the AR experience that is loaded with your own. The sample projects should work out of the box and require only a single line to be changed for you to load your own experience.

Login or Signup to post a comment