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

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

Nuget pack csproj using nuspec -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -