By ssuresh1295
on Mon, 07/17/2017 - 06:16
I am developing augmented reality app using unity with vuforia library. And I have exported the unity project to Android project. it's given only UnityPlayerActivity just opening that activity AR is working fine. Now I want to know which target is currently I am seeing. Is there any callback to get that information.
Hello ssuresh1295,
Hello ssuresh1295,
It is possible to get the name of the target currently detected in both Unity and native Android.
https://library.vuforia.com/reference/api/unity/classVuforia_1_1TrackableBehaviour.html#ae1454d82fe3ec6cd8a3ac554ef74559d
Hi,
Hi,
After exporting the unity project to android it's giving only one Activity there no callback to find whether image target detected or not. Where can I access Trackable class? After export, there is no control to access Trackable data. Please explain how to get.
The workflow you are
The workflow you are describing isn't a recommended Vuforia workflow. Vuforia was designed for authoring apps in the development tool for which they were created. The APIs in both native and Unity have access to the information you need.
Hi,
Hi,
These are the reasons I am exporting unity to Android project,
* I am not developing an entire app in unity. Only for AR, I am using Unity.
Have you looked into using
Have you looked into using the native Android SDK? This provides the Vuforia API in native Android without having to use Unity.
Yes, Already I worked with
Yes, Already I worked with vuforia native SDK. But I Have more 3D object rendering, textures, rigg character, textures with animation etc... So I have chosen unity to achieve that. In vuforia native SDK those are difficult to achieve.