Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by J3-Gaming · Jul 13, 2012 at 12:54 AM · pluginaugmented realityqualcomm

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)

alt text

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.

alt text

alt text

alt text

As you can see on line 12, I ran into an error - it appears I need the android Activity class. Now im stuck.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
1

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

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image J3-Gaming · Aug 12, 2012 at 11:59 AM 0
Share

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

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

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


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges