Start a new topic

Nothing is shown in the sample application created.

I followed the procedure from the youtube video by Wikitude and created a sample project to understand wikitude sdk for Epson glasses. 

Link for youtube video:  https://www.youtube.com/watch?v=QNCEQnbX5ZM


Sadly, it does not do anything. Once I launch the application, wikitude splash screen is shown and after that it ends up in a blank page. I did not get any error message.  Attached a screenshot of the application below.


Logs, MainActivity, index.html and experience.js file attached below.


I am getting "Uncaught ReferenceError: AR is not defined", source: file:///android_asset/experience.js 


rtf
(6.6 KB)
java
js
(560 Bytes)
html
(148 Bytes)

Hi Abhishek,


the code on you put on GitHub works as expected for me. It starts the calibration process.

If you only see a black screen with the trial watermark, it is probably because there is already an existing calibration on your device.


To redo the calibration you can use wearableArchitectView.resetCalibration or delete "calibration.js" in /sdcard/Wikitude/


Best Regards,

Alex

Hi,


Thanks for the support. I am using Epson Moverio BT-300 glasses.  I had also tried with WearableArchitectureView like in the youtube tutorial video, but it did not help. I also used only one instance of ArchitectureView.


Since my Epson glass OS version is Lollipop [Android 5.1.1], no permissions are required to access the camera. I have created a project from the youtube tutorial https://www.youtube.com/watch?v=QNCEQnbX5ZM and uploaded to Github for reference.


Github link : https://github.com/Abhishek284/WikitudeEpson


It would be really helpful if you can have a look into this.


Thanks and Regards,

Abhishek

Hi,


Are you trying to create a AR App for the Epson Moverio BT300 or for a regular Android device?


If you want to create an App for the BT300 you should use a WearableArchitectView instead of an ArchitectView. This will enable the calibration and a more natural experience with the glasses. 


If you want to create an App for a regular Android device you will have to request runtime permissions for the camera(on Android 6.0+), otherwise the Wikitude SDK will not be allowed to access the camera.


In both cases you should only have one instance of the ArchitctView, it seems like you create the ArchitectView two times in your MainActivity.

I would recommend that you take a look at our sample app on how it is done there.


Best Regards,

Alex

Login or Signup to post a comment