Skip to content

Instantly share code, notes, and snippets.

@stavfx
stavfx / asdb.py
Created May 4, 2017 22:19
A wrapper over ADB that will handle multiple devices gracefully
#!python.exe
import site
import subprocess
import sys
import os
DEVICES_START = "List of devices attached"
@stavfx
stavfx / Logger.java
Last active December 24, 2015 13:49
Android Logger class that prints out info about the calling method, just call Log.w("msg") but still get a detailed log and never forget where that log call came from :)
/**
* Created by StavFX on 10/3/13.
*/
public class Log {
private static final boolean DEBUG = true;
private static final String NEW_LINE = System.getProperty("line.separator");
public static void w(String tag, String msg) {
log(tag, msg);
}