Android Weather + Baidu Weather Interface

Source: Internet
Author: User
Tags xml parser

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.