First, there are a few things to prepare before preparing the program.
1 First you need to adjust the Android DNS address. (I'll mention it at the end)
http://www.eoeandroid.com/forum.php?mod=viewthread&tid=309756&page=1#pid3230430
The control of SMS SMS in 2Android. (I'll mention it at the end)
http://blog.csdn.net/xieqibao/article/details/6748716
3 Android AK Code application, this Baidu AK can apply for itself
Here's an AK http://api.map.baidu.com/telematics/v3/weather?location=%E9%95%87%E6%B1%9F&output=xml&ak=. A72e372de05e63c8740b2622d0ed8ab1
As for the parsing of the XML parser
I'm not going to say much here.
Reference
Http://blog.sina.com.cn/s/blog_66c830cf0102uxle.html
Http://www.cnblogs.com/txw1958/p/baidu-weather-forecast-api.html
As for the late source code, I'll release it later.
Android Weather + Baidu Weather Interface