Skip to content

Instantly share code, notes, and snippets.


Srujan Barai srujanb

  • Raleigh, North Caroline
View GitHub Profile
srujanb /
Created Jul 17, 2016 — forked from qihnus/
a minimalist example of Android accessibility service
import android.accessibilityservice.AccessibilityService;
import android.accessibilityservice.AccessibilityServiceInfo;
import android.util.Log;
import android.view.accessibility.AccessibilityEvent;
public class RecorderService extends AccessibilityService {
static final String TAG = "RecorderService";
private String getEventType(AccessibilityEvent event) {