manadream / AndroidProxySetter

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

Adding main activity as default activity to start #13

Closed luispereira closed 7 years ago

luispereira commented 7 years ago

In order to better use external tools to install and execute your app faster e.g. dryrun Adding MainActivity as default activity on manifest

luispereira commented 7 years ago

Additionally, I think I found a mistake on the package field in manifest as tk.elevek.proxysetter instead of tk.elevenk.proxysetter or vice versa

Let me know if you want me to change it too.

Just be aware that with these changes the actual code as it is to execute this is

adb shell am start -n tk.elevek.proxysetter/tk.elevenk.proxysetter.MainActivity 

and not:

adb shell am start -n tk.elevenk.proxysetter/tk.elevenk.proxysetter.MainActivity

or

adb shell am start -n tk.elevenk.proxysetter/.MainActivity
manadream commented 7 years ago

Ah, thanks, there is a typo. It should be tk.elevenk.proxysetter. These changes look fine, although this app is not meant to be launched by the user on the phone itself, it's for automation purposes to be launched from adb.

luispereira commented 7 years ago

Ok, up to you rejecting it or not ;)

manadream commented 7 years ago

Looks good, thanks!