Android Internet proxy settings

Source: Internet
Author: User

1. adb connects to target
Adb kill-server
Adb connect target-ip
Adb shell


2. Switch to the database file directory
Cd/data/com. android. providers. settings/databases


3. Use sqlite3 to connect to this data file
Sqlite3 settings. db


4. Insert proxy settings to the system table using the Insert statement
Ex: insert into system VALUES (_ id, 'HTTP _ proxy', 'ipaddress: port ');
Insert into system VALUES (2012, 'HTTP _ proxy', '192. 168.10.245: 661 ');


5. Confirm the modification. Use 'select * FROM system' to check the inserted configuration.

SELECT * FROM system;

Author: andyhuabing
 

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.