Is there a way to write software which computes current coordinates (position) on phone without any remote service in reality (any layout between hardware and software that shows my position at map)? I know it'll be too expensive for work time at battery.