You can find more details as well as the code, on the original blog post (I know I'm not allowed yet to post external links, but it's definitely not spam and I can't really just copy and past all the stuff and code examples from that blog here...):
Seems like spam seeing this was your only post since you joined. Just want hits for your blog.
Whether you’re travelling to a new destination or exploring some previously … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?