_this.window.arview = wikitude.createWikitudeView({ "licenseKey": "YOUR_LICENSE_KEY", "augmentedRealityFeatures": augmentedRealityFeatures, bottom: 0, left: 0, right: 0, top: 35 });
Thanks
Eva
I am doing just that. I have a file called arWindow.js with the following code:
var arView = wikitude.createWikitudeView({ "licenseKey": "MY LICENSE KEY IS HERE", "augmentedRealityMode": 'IrAndGeo', bottom: 0, left: 0, right: 0, top: 0 }); $.arWindow.add(arView);
I still see the license key watermark though.
I tested on a Nexus 5 as well with no luck. I'm going to test on iOS as well, but in the meantime here is my project:
https://s3-us-west-2.amazonaws.com/circus-main/share/AR+Prototype.zip
What is the relevance of the app ID in this case? Do I have to set it something specific? Or register it with Wikitude?
The console error I see when trying to load the AR view is as follows:
[WARN] : WikitudeView: (main) [67,61914] ARchitect World was not loaded [WARN] : CameraBase: An error occurred while connecting to camera: 0 [ERROR] : CameraUtil: resolveCameraResolution: This method may not be called when the camera is already running. [ERROR] : CameraUtil: java.lang.RuntimeException: Fail to connect to camera service
If you need me send my project, should I attach it to this thread?
architectView.LoadArchitectWorldFromURL(NSUrl.FromString(path), *Wikitude.Architect.WTFeatures.Geo*);
with another one of the lines below, depending on which features of the SDK you are using
Wikitude.Architect.WTFeatures.Geo for Geo Wikitude.Architect.WTFeatures.WTFeature_ImageTracking for 2D tracking Wikitude.Architect.WTFeatures.WTFeature_InstantTracking for InstantTracking
the '|' character allows to make combinations, so 'Wikitude.Architect.WTFeatures.Geo | Wikitude.Architect.WTFeatures.WTFeature_ImageTracking' is actually 'Geo AND ImageTracking'
Thanks
Eva
Hello Jeremy,
I ran your app and found, as you described, that your combination of app ID and license key is not working. Replacing the app ID and the license key with the corresponding values of the Wikitude sample app resolves the issue.
I am therefore inclined to believe that either your license key is wrong, the app ID is wrong or both those things are wrong.
Could you please check them again carefully and report back on your findings?
- Daniel
Good morning Jeremy,
it depends on what kind of key we are talking about. A trial license key will work for every application ID, an actual license key is tied to a specific application ID. For the latter case, a mismatch of key and ID will result in a watermark overlay being displayed.
For testing purposes, you could simply use the license key and application ID of the Titanium sample app for your app and see whether that's working or not.
- Daniel
Thanks Daniel, I have checked my license key multiple times, it appears to be correct. I am using the key from http://www.wikitude.com/developer/licenses under wikitude sdk. Its is a very long string.
Where do I set the app ID?
Samsung Galaxy S6
Jeremy Law
I'm trying to build a prototype AR app, I have downloaded and entered my license key but I am still getting the license key missing watermark.
This is a Titanium Alloy app, and I'm using the createWikitudeView function. I have triple checked my license key.