manadream / AndroidProxySetter

An android app that sets the proxy settings for a wifi access point by using adb
GNU General Public License v3.0
477 stars 96 forks source link

Not able to set 5 digit port #9

Closed igladun closed 7 years ago

igladun commented 7 years ago

Hello, I can't set a 5 digit port number. For example when I use this command adb shell am start -n tk.elevenk.proxysetter/.MainActivity -e host 1.1.1.1 port 12345 port number will be set to 8080

Thanks

manadream commented 7 years ago

@igladun maybe it was a typo but you need another -e in that command: adb shell am start -n tk.elevenk.proxysetter/.MainActivity -e host 1.1.1.1 -e port 12345 It's probably using 8080 because that is the default port it uses.

igladun commented 7 years ago

Thank you @jpkrause ! It works!