Skip to content

๐Ÿ”Œ A tool that allows you to execute ADB.exe commands/actions without having to interact with the terminal.

License

Notifications You must be signed in to change notification settings

Bleutecmedia/adb-interface-vscode

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ”Œ ADB Interface for VSCode

Build Status Visual Studio Marketplace Version GitHub Visual Studio Marketplace Installs Visual Studio Marketplace Rating (Stars)

Maintainability Rating Lines of Code Bugs Security Rating

You can help with Code or with Energy everthing are welcome ;)

BTC:bc1qufk82juerzuw3d6r5ehkjmufha2xjefp48due9 ADA:addr1qxyp4l0lxa3gmme65rj5p76uw2quxenwnzrmee06y4432sqxfnfm0ypc9zy9f07rfpjjk3wgw5vh7a0mtqwk8ulwfzcslmzr9z

This simple ADB-Wrapper try makes easy connect to android devices over wifi, without console use, and do other things.

Chinese Guide ็ฎ€ไฝ“ไธญๆ–‡ๆŒ‡ๅ—

โš ๏ธ ONLY TESTED IN WINDOWS (For while, you need have ADB Interface installed in your system)

Table of contents

Commands Available

  • ADB:๐Ÿ“ฑ Reset connected devices port to :5555 (Open current device port with (equivalent adb tcpip 5555))
  • ADB:๐Ÿ“ฑ Connect to device IP (Need type the IP from device (equivalent adb connect ${your ip}:5555))
  • ADB:๐Ÿ“ฑ Disconnect from any devices (Disconnect ever device attached (equivalent adb disconnect))
  • ADB:๐Ÿ“ฑ Connect to device from List (Show an list from devices attached to connect (equivalent adb devices))
  • ADB:๐Ÿ“ฑ Pick .APK file and install (Install on current active device (Will prompt user on Android Screen))
  • ADB:๐Ÿ“ฑ Setup custom ADB location (Configure location of ADB)
  • ADB:๐Ÿ“ฑ Remove custom ADB location (Clear custom ADB location)
  • ADB:๐Ÿ”ฅ Enable Firebase events debug mode (Run firebase events in debug mode)
  • ADB:๐Ÿ”ฅ Disable Firebase events debug mode (Run firebase events in debug mode)
  • ADB:โš ๏ธ Kill ADB server (Kill ADB Server runing (equivalent adb kill-server))

How it works

ADB location resolution

By default the extension is looking for ADB in the following locations:

  • Linux - $HOME/Android/Sdk
  • MacOS - $HOME/Library/Android/sdk/platform-tools
  • Windows - %USERPROFILE%\AppData\Local\Android\Sdk\platform-tools (if the %USERPROFILE% environment variable is not defined the path to the profile directory of the current user will be used as the starting point)

The extension will resolve the ADB location each time an ADB command is executed.

The ADB location can be customized using the Setup custom ADB location command. The custom ADB location can be cleared using the Remove custom ADB location command.

Demos

Below you can see some GIFs demostrating use cases.

Attach ADB to an Device via WIFI

  1. First connect your device trough USB
  2. Run ADB:๐Ÿ“ฑ Disconnect from any devices
  3. And run ADB:๐Ÿ“ฑ Reset connected devices port to :5555
  4. And Then ADB:๐Ÿ“ฑ Connect to device IP enter your device (settings > status > ip address) IP address and be fine

status bar

Installing APK files throught ADB

  1. Pick apk file with command ADB:๐Ÿ“ฑ Pick .APK file and install
  2. Allow ADB install on device screen
  3. Wait until copy de file and icon appear
  4. Now you can run the APP

status bar

Tests

All done with Jest you can read more about here.

We need help to incrase test coverage report, if you can learn, send a pull request !

How to run tests:

โžฅ npm run test

You can also use the project alias that watch file changes while developing:

โžฅ npm run test:watch

About

๐Ÿ”Œ A tool that allows you to execute ADB.exe commands/actions without having to interact with the terminal.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 99.2%
  • JavaScript 0.8%