- Home /
Importing Gimbal SDK
Currently Qualcomm has released both the iOS and Android libraries for "Gimbal" (The next step of Augmented Reality). https://www.gimbal.com
I have been playing around with the Android side, I successfully converted the .jar file to a .dll using IKVM http://www.ikvm.net
(As a note, I tried to look into the iOS side, but my lack of knowledge has stopped me)
I then imported it into the Android plugins folder, using C# to start programming I impressed myself when it all worked! I started to follow the tutorial as if I was making the application in eclipse.
As you can see on line 12, I ran into an error - it appears I need the android Activity class. Now im stuck.
Answer by eric_b · Jul 14, 2012 at 01:56 AM
Nice try! Very interesting idea actually, but I think it's definitely not possible as Unity does not (afaik) expose the Android Context object and the Gimbal SDK assumes that it's passed at init time (factories to get a connector expect a Context/Activity object). I think we would have to implement a special driver for Unity as Unity is still exposing what's required for Gimbal. Although, need to double check that as I am not an expert with Unity...
Eric
Yeah that would be amazing! Just need an override for the "getInstance()" Currently: getInstance(Activity a) What i need: getInstance($$anonymous$$onoBehaviour mono)
or something similar, an alternative to giving it the activity object directly.
Your answer
![](https://koobas.hobune.stream/wayback/20220613074120im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Not rendering camera when using Unity as library on Android Studio 0 Answers
AR Dev Question: How to use a marker to find a flat ground plane, then discard the marker? 0 Answers
How to access ARCamera intrinsics with UnityARKit plugin? 0 Answers
Can I access Java code from Unity? 2 Answers
Publishing Unity to the App Store 1 Answer