Correct me if I'm posting this incorrectly.
I'm running a touch pro, with a Juicy7 rom and I wanted to have a custom weather data base. This post over at xda developers helped me A LOT.
Code
http://forum.xda-developers.com/showthread.php?t=480101
of course I take no credit for anything except finding it and posting it here.