Giter Site home page Giter Site logo

adb-join-wifi's People

Contributors

jpihl avatar justfortherec avatar liuyq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

adb-join-wifi's Issues

adb-join-wifi requires to allow from popup

Hi,
I am using this app to connect/disconnect wifi, but in huawei china version is showing the popup to allow the permission to connect wifi.

Popup message: adb-join wants to connect wifi name

Suggest me the way to handle this.

Thanks.

App opens and immediately closes (must escape special characters in SSID/Password)

I just figured out why this was working for some networks but not others. When you send the ADB command, if your SSID or Password has a special character (like the dollar sign, $) it doesn't work properly.
If you have a $ in the SSID, it truncates the rest of the SSID.
If you have a $ in the password, the app opens and immediately closes.

The solution is to escape the special character with a backslash.
Example: Pa$word should be entered as Pa\$word

This is similar/same as issue #9 (issue with spaces).

If this is a limitation of ADB and can't be fixed, it should be mentioned in the Readme at least. Thanks!

Can't connect over WPA-PSK pass type (this app is meant to be used with adb error)

I ran the command
./adb shell am start -n com.steinwurf.adbjoinwifi/.MainActivity -e ssid TP\ link\ home -e password_type WPA-PSK -e password !!0adasdfewq

My wifi network name is "TP link home" and pass type is WPA-PSK.
When I enter the terminal echoes
Starting: Intent { cmp=com.steinwurf.adbjoinwifi/.MainActivity (has extras) }

and displays on the mobile the message this app is meant to be used with adb

disconnect

Is there an interface to disconnect the wifi that I've connected with this?

SSID with space

Hi
My wifi SSID has a space in it. When I try to join it, it only picks up the first word of the SSID before the space. How can I escape the space?

See below:
COMMAND
adb -s AQH7N17B18019814 shell am start -n com.steinwurf.adbjoinwifi/.MainActivity -e ssid "MY 5G_OFFICE" -e password_type WEP -e password mypassword

RESPONSE
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] pkg=5G_OFFICE cmp=com.steinwurf.adbjoinwifi/.MainActivity (has extras) }

On the app itself, it is connecting to the wifi called "MY", the first word of the SSID.

remove the administrator

How do I remove the administrator I issued adb-join-wifi to?
privileges were issued by the command: adb shell dpm set-device-owner "com.steinwurf.adbjoinwifi/.AdminReceiver"
Now I can't delete

dpm set-device-owner "com.steinwurf.adbjoinwifi/.AdminReceiver" ERROR

$ dpm set-device-owner "com.steinwurf.adbjoinwifi/.AdminReceiver"

Exception occurred while executing 'set-device-owner':
java.lang.IllegalArgumentException: Unknown admin: ComponentInfo{com.steinwurf.adbjoinwifi/com.steinwurf.adbjoinwifi.AdminReceiver}
at com.android.server.devicepolicy.DevicePolicyManagerService.findAdmin(DevicePolicyManagerService.java:3182)
at com.android.server.devicepolicy.DevicePolicyManagerService.setActiveAdmin(DevicePolicyManagerService.java:3756)
at com.android.server.devicepolicy.DevicePolicyManagerServiceShellCommand.runSetDeviceOwner(DevicePolicyManagerServiceShellCommand.java:256)
at com.android.server.devicepolicy.DevicePolicyManagerServiceShellCommand.onCommand(DevicePolicyManagerServiceShellCommand.java:89)
at com.android.modules.utils.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:97)
at android.os.ShellCommand.exec(ShellCommand.java:38)
at com.android.server.devicepolicy.DevicePolicyManagerService.onShellCommand(DevicePolicyManagerService.java:10699)
at android.os.Binder.shellCommand(Binder.java:1085)
at android.os.Binder.onTransact(Binder.java:903)
at android.app.admin.IDevicePolicyManager$Stub.onTransact(IDevicePolicyManager.java:6790)
at android.os.Binder.execTransactInternal(Binder.java:1321)
at android.os.Binder.execTransact(Binder.java:1280)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.