Jump to content


  • Posts

  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

zjn0505's Achievements

Helping Hand

Helping Hand (3/5)



  1. Nice solution, all the aspects covered. Thank you.
  2. In my use case, I'm doing a tcpip connection to the ip address input as {query}, which is listed as the first item. Also I will save the history of connections, and show them starting from the 2nd place. When those items are selected, it will start to connect as well. It's the history section that I hope to utilize Alfred's auto-sort feature. Now, I just sort by the reading timestamp of last used from db.
  3. Currently in Script Filter, I didn't assign uid to items, so they are arranged in the order of `add_item`. Is there a way to pin one item on the first place and assign uid to others and enable auto-sort to them?
  4. Hi Petru. From my research, that we can't use `adb shell input text {unicodes}` out of box, no matter how it is escaped. Thus there are tools like this one to support unicode input via adb. https://github.com/senzhk/ADBKeyBoard
  5. v1.3.0 is out Add modifiers for "Show app list", to quick launch, uninstall, clear data, force stop and show app info. Add option to extract apk file from devices. "Show app list" -> select package -> "Extract apk file" Add uid to necessary places for auto-sort to prioritize most used items. Improve installation option suggestions, e.g. item of "add 'd' for version downgrade" only appears on necessary.
  6. v 1.2.0 is out there. With two new keywords "apk" and "avd", and improved adb WiFi connection history and app operation shortcuts. "apk" can be used to search local apk files, with package info shown, and the file can be then installed onto attached devices. "avd" can be used to list installed Android emulators, and start a new emulator instance with it.
  7. ADB or Android Debug Bridge is linked to Alfred with this workflow. GitHub release | packal I created this workflow because Android developers like me may need to connect to multiple devices at the same time, and it's painful to add `-s {serial}` every time when using adb for a simple feature. Alfred Workflow is a great tool to show lists and options. So here it is: Dependencies: adb aapt emulator These dependencies are included in Android Studio and Android command line tools. Configurations: Add the following environment variables in workflow settings to support its functions Name Value (example) adb_path ~/Library/Android/sdk/platform-tools/adb aapt_path ~/Library/Android/sdk/build-tools/28.0.3/aapt emulator_path ~/Library/Android/sdk/tools/emulator Features: keyword `adb` To list all connected devices. `adb connect`, `adb disconnect`, `adb reset` are also in this level. WiFi devices will be saved for next time quick connection Select one devices for its operations Input commands like "shell dumpsys -l | grep wifi" in this level, to execute directly in terminal Select "Show app list" to list installed apk, select one for further operations including: Open app info page force stop app launch app clear data uninstall extract apk file to desktop Select "Install apk" to search in local drive for apk files or folders to be (bulk) installed. Currently installed version will be shown, and install operation "-t", "-d", "-g" are supported keyword `apk` Search local apk files with package info shown and install them on attached devices. keyword `apkf` List local apk files under current front Finder window. keyword `avd` List all installed Android emulators and start new emulators References: 109021017/alfred-adb-workflow nassendelft/alfred-android-adb
  • Create New...