Skip to content

Instantly share code, notes, and snippets.

Avatar

Srujan Barai srujanb

  • Raleigh, North Caroline
View GitHub Profile
@srujanb
srujanb / RecorderService.java
Created Jul 17, 2016 — forked from qihnus/RecorderService.java
a minimalist example of Android accessibility service
View RecorderService.java
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) {
You can’t perform that action at this time.