Adroid network development and map development

Source: Internet
Author: User

Android generally uses httpconnection to upload files to access network resources. You can also use the httpclient class encapsulated by Android. I have sorted out related network knowledge before 《Android httpclient file upload and httpconnection knowledge, A recent project is useful for setting the APN. It is found that httpconnection sometimes cannot access the network. After many debugging, it is found that the network is stuck in httpconnection. openconection (). Finally, it is helpless to switch to the httpclient class encapsulated by Android, and the problem is solved later. Android
4.0 or more systems without write_apn_setting are invalid.

Record the use of a Google Map. Sometimes we often use the longitude and latitude of a certain place when using a map to locate the location. Sometimes it will be troublesome for me to search for the longitude and latitude of a certain place, the methods provided by netizens are summarized as follows:

Taking the longitude and latitude of Fuzhou as an example:

1. Enter Fuzhou in Google Map

2. Right-click the sign and choose what? You can obtain the longitude and latitude of the search location.

3. With this technique, you do not need to access Google's longitude and latitude for map-related positioning.

 

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.