Android simulator proxy settings

Source: Internet
Author: User

1. Open the simulator;

2. Run CMD and enter the command mode. Enter ADB shell to enter the android console.

3. Enter LS-L/data/COM. Android. providers. Settings/databases/settings. dB to check whether the current system sets the database to exist.

4. If so, enter sqlite3/data/COM. Android. providers. Settings/databases/settings. dB to enter the database.

5. Execute the data and add the command: insert into system values (99, 'HTTP _ proxy', '100. 192. 168.5.96: 3122 ');, which represents the IP address and port of the server. You can modify it as needed.

6. Run select * from system; to view the inserted data.

7. Restart the server to make the proxy server take effect.You can use the delete from system where _ id = 99 statement to delete the proxy settings,Or use
Update System set value = '192. 168.0.245: 192 'Where _ id = 99; to modify the proxy server settings. You can also set it directly on the simulator,Start the simulator and go to Settings> wireless controls> mobile networks> Access Point names.



Related Article

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.