I am trying to integrate the Augmented Reality using Wikitude with PhoneGap. And I have followed the documentation provided at your website but it is not working. I am getting compile time error as shown below:
on this line: import com.wikitude.architect.ArchitectUrlListener;
The error is "The import com.wikitude.architect.ArchitectUrlListener cannot be resolved".
I tried to Google this but none of the solution is working out.
Can anyone please look into it and do the needful?
Thanks,
A
Andreas Fötschl
said
over 9 years ago
Hi Ashish,
Please update to latest Wikitude PhoneGap Plugin, the imported packages slightly changed. import com.wikitude.architect.ArchitectUrlListener becomes import com.wikitude.architect.ArchitectView.ArchitectUrlListener
Kind regards, Andreas
a
ashish vispute
said
over 9 years ago
Hi Andreas,
Thanks your solution worked out, now I am facing another problem to add architect.js file.
Can you please help me out architect.js in the project(android) ?
Thanks & Regards,
Ashish
A
Andreas Fötschl
said
over 9 years ago
Hi there!
The architect.js is no real fine but something included/intercepted virtually by the Android/iOS Wikitude SDK. You must include this file to enable AR.* use inside the AR-View. In case your editor shows a warning/error at this include in HTML - please ignore.
Note that any of these "AR-enabled html-files" only work in a Wiktiude SDK / Plugin context on a Mobile device.
ashish vispute