WiaTag

WiaTag is a special application for smartphones and tablets that turns them into software GPS tracker. WiaTag was specifically developed for use with Wialon GPS tracking system.

It's available for Android and iOS.

And here is a documentation for Android & iOS.