javascript - Getting user location using wikitude SDK for Android -


i'm using wikitude sdk 4.0 android , trying out the sample of multiple pois in app. https://github.com/wikitude/wikitude-sdk-samples/tree/master/3_pointofinterest_3_multiplepois

i got instantiated stuck user location.

i don't understand how user's location pulled javascript https://github.com/wikitude/wikitude-sdk-samples/blob/master/3_pointofinterest_3_multiplepois/js/multiplepois.js

the "ar.context.onlocationchanged = world.locationchanged;" in js magic.

after line executed 'world.locationchanged' (or other given) function fired on every android/ios native call of architectview's setlocation executed.

check out locationprovider-implementation in sample application basic approach. state-of-the-art location fetching recommend have @ google's location strategies.

kind regards.


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

visual studio 2010 - Connect to informix database windows form application -

android - Associate same looper with different threads -