npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

android-device-manager

v24.11.8-1635

Published

Java desktop app to manage multiple Android devices via adb

Downloads

382

Readme

AndroidDeviceManager

Description

Java desktop app to manage multiple Android devices via adb

Features

  • View all connected (and wireless) devices
  • Populates device phone number, free space, IMEI, carrier (if available)
  • Remote control selected devices (requires scrcpy)
  • Capture screenshots of selected devices
  • Drag and drop an apk to install on selected devices
  • Drag and drop a file to copy to selected devices
  • File Explorer / Browse filesystem of device
    • download and view folders/files
    • delete folders/files
    • root mode supported
  • View Device Logs
    • NOTE: this is a work in progress!
  • Restart selected devices
  • Run user-defined adb commands
  • Set and display custom properties on each device
  • Start an adb shell session with selected devices
  • View version of user-defined list of apps

Screenshots

Prerequisites

  • adb - android debugging tools
  • scrcpy - used to mirror a device (link)

Install Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Install adb

brew install --cask android-platform-tools
  • add adb to PATH
echo 'export ANDROID_HOME=$HOME/Library/Android/sdk' >> ~/.profile
echo 'export PATH="/opt/homebrew/bin:$ANDROID_HOME/platform-tools:$PATH"' >> ~/.profile

Install scrcpy

brew install scrcpy

Install adb

download from here and extract archive

  • move extracted platform-tools/ folder to your /Program Files/Android/
  • add the location to your PATH
  • test this by running “adb” in a command window

Install scrcpy

download and install from here

  • make sure “scrcpy” in in PATH

Install adb

sudo apt-get install adb

Install scrcpy

see this link

Install Android Device Manager

I'm using jdeploy to package this as a native app for Mac/Windows/Linux. This also allows for automatic updates

To install open a terminal and run this command:

/bin/bash -c "$(curl -fsSL https://www.jdeploy.com/~android-device-manager/install.sh)"

See this page to download the installer directly

Build

Prerequisites

  • Java SDK
    • min version 17; I'm using openjdk 22.0.1 2024-04-16
    • MacOSX -> Homebrew -> brew install openjdk
    • Linux - link
  • Maven
    • MacOSX -> Homebrew -> brew install maven
    • Linux - link

Build

  • sync this repo
    • git clone https://github.com/jpage4500/AndroidDeviceManager.git
  • build
    • mvn compile
  • run:
    • mvn exec:java

Use Cases

We want to manage a lot of Android devices and had previously used MDM (mobile device management) software such as AirDroid and ScaleFusion. These tools aren't free ($$) but more importantly trying to remote control/view an Android device was often a very slow and choppy experience.

So, instead we took a different approach. Instead of running MDM software on every individual Android device, we connected all of the devices to a single macbook laptop using multiple 16-port USB hubs. The Macbook is running Splashtop remote control software. I can now remote login and using Android Device Manager control all of the devices with very little to no lag.


Tested with 45 Android devices connected to 1 Macbook laptop (using multiple 16-port USB hubs)