Sunday, March 30, 2014

Android Accessibility

Well, I was browsing reddit.com/r/android the other day, and someone asked "How does LastPass read and inject into fields of other apps?"  I thought to myself, "yeah, how do they do that"?

When you install LastPass on Android, it asks for these permissions:
http://imgur.com/H9zm95D

That got me thinking, maybe I can read the screen from the William Hill app without requiring the user to take a screenshot and then send the photo to my app.  That would be a way nicer user experience.

So, that led me to discover the AccessibilityService, and today I'm going to see if I can figure out how to make this thing work.

It's March Madness right now, probably the 2nd best thing to football, which got me thinking about my app again.  I've also been giving more thought to taking the image recognition logic off of the phone and putting it on a server somewhere.

Anyway, just thought I'd post an update here.  That's all for now.