GPS

Monkey Targets Forums/Android/GPS

tagoror(Posted 2015) [#1]
Hello,

It's possible to get GPS coordinates with Monkey?

Regards,

Javier


therevills(Posted 2015) [#2]
Yes, within Diddy we have the native code:




MonkeyPlotter(Posted 2016) [#3]
@therevills, I'm trying to invoke the startGps function, but failing at the mo, any steers you have would be appreciated.

[EDIT] I've found testApp.Monkey, compiling to my phone now ....

Impressed with the functionality within your framework, I need to do a little investigation on how to (potentially) extract the lats and londs from my Sony Experia though. Despite iRunner accessnig (however) my Android phone makes GPS available, the Lats and Longs are blank at the moment on my phone.

Then again, it could be the fact I'd to put the diddy modules within a 79e directory, that for some reason, Monkey keeps referring to. The second argument within the compiler output does seem to refer to the 86e directory that I am compiling the code from however....