angularjs - ngCordova geolocation plugin doesn't working -
i make hybrid app ionic.i want use ngcordova location.the app works fine in browser when emulate in android virtual device doesn't working.i've installed in ngcordova docs.any ideas?
you can connect emulator via telnet , push gps location.
connect via telnet :
telnet localhost <console-port>
and fix push geo location command line
geo fix <longitude value> <latitude value>
a better way use real android device , add adb following command line
adb devices
however can log of device executing command line
adb logcat
ref:
how emulate gps location in android emulator?
http://developer.android.com/tools/devices/emulator.html#console
http://developer.android.com/tools/debugging/ddms.html#ops-location
hpe help
regards
Comments
Post a Comment