- Sort Posts
- 4 replies
- Last post
Re: Monotouch support
June 1, 2012 - 4:18am #2
Hi srrranga
There is no official support for Monotouch, however you might want to investigate this a bit further, as in theory it should be possible to call the QCAR library and link to it.
This link provides some more detail as to how this might be possible.
http://docs.xamarin.com/ios/advanced_topics/linking_native_libraries?
It would be good to know if you manage to progress this further.
N
Hi all,
I try to figure out what the best strategy is to get Vuforia working with Monotouch.
I read the Xamarin docs and ended with two possible routes to go:
1. get the IOS SDK and use the libQCAR.a . (I guess this is a C/C++ lib, so i can use the P/Invoke way to call functions). As I'm not a Objective-C guru it's hard to get the right information which and how i have to bridge the functions to the C# world.
2. Use the Unity Extension libraries. In the QCARNativeWrapper.cs file is already the native binding code, but I realized that init/start/stop/pause functions are used at the Objective-C site (Appcontroller.mm from the XCode project) . There is the libQCARUnityPlayer.a lib providing the functions where Objective-C code communicates with the Vuforia plugin. But it's not clear if this lib could be used for P/Invoke.
I prefer the Unity route but in lack of information i need some suggestions what the best way could be to create a bridge to monotouch.
Perhaps some experts from Qualcomm could provide some information.
Thanks