we'll publish a PhoneGap-plugin update next week which then supports latest Wikitude-sdk and PhoneGap 2.4.
Please let me know if you have the issue still after next week's update (on github). Also ensure to use very latest Wikitude-SDK version 1.2.1 in the meantime.
Kind regards, Andreas
C
Carlo Baraldi
said
about 11 years ago
HTMLDrawables seems not work in Phonegap. I have the same problem and after many hours i have tried to execute my project in ARchitect VIwer and in this way it works so i conclude that is a phonegap's problem. Someone knows a solution?
P
Pablo Gutierrez
said
over 11 years ago
Hi!!!
I'm developing an app with Phonegap. I'm trying to show a HTMLDrawable in MyWorld but it can't show. Probably I'm doing something wrong.
I've two html files, first one is HelloWorld.html included in PhonegaPlugin folder but I modified it and add this:
geoLocation2 = new AR.GeoLocation(xxxxxxxxx, xxxxxxxx);
var poiHTMLdrawable = new AR.HtmlDrawable({uri:"world/div.html"}, 4, {viewportWidth: 512, scale:1, updateRate:AR.HtmlDrawable.UPDATE_RATE.STATIC});
var geoObject = new AR.GeoObject(geoLocation, {drawables: {cam: poiHTMLdrawable}});
Pablo Gutierrez