Network Problems Related

Source: Internet
Author: User

1. To disable multiple online prompts, you can purchase a certificate, connect to port 80/8080 through socket, and also require a security certificate. For more information about the certificate, see Google.

Yes. To see which mobile phone does not support this certificate, simply view the root certificate.

2. When using httpconnection. Open, try not to use one of the three parameters, that is, a URL parameter. Otherwise, some mobile phones may have problems.

3. Do not use getresponsecode. Some mobile phones use crash directly.

4. When connector. Open is displayed, if the user refuses to access the network, the program will throw secruityexception.

5. The bottom layer of httpconnection does not support the proxy mode, and the host cannot be changed forever. Unless you use socket, you can also modify it. You must replace the two addresses.

Change the mode.

6. If the user selects the wrong access point, the network will be blocked when it is closed. It will take a long time to block it. It may take about 3 minutes. Different mobile phones may vary.

7. Do not read more than 2 kb of data each time. Some mobile phones are too small to crash.

8. When switching from the Internet to the Internet, you will receive an connectionreset exception. You can use throwable to intercept exceptions regardless of network exceptions. Do not use exception or ioexception.

9. httpconnection itself is received in chunked mode and implemented in source code.

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.