Simo Kinnunen
Simo Kinnunen
I want to try using a mouse with an OTG adapter first.
You might be able to use https://github.com/whot/libevdev instead, if you just replace one line in .gitmodules.
You'd have to use a different package name. Other than that, `npm publish` should do everything for you.
Basically because we never spent much time looking into it, real devices were a priority. Minicap uses different versions of SurfaceFlinger behind the scenes, and the emulators seem to bypass...
I don't have time to work this now. If we had enough [supporters](https://salt.bountysource.com/teams/openstf) we'd be able to spend more time on issues like this one.
I don't get what you mean with this. If you're using the example, perhaps the screen just isn't updating. You're not giving any details so it's impossible to say anything.
Hmm, just got this myself. I can verify that while minicap is running the status bar changes. As soon as minicap dies it returns back to normal.
Some devices don't work. It's very very difficult to say what might be wrong with that particular device without having access to it. One possibility is that you're not reading...
It's just a PNG stream, save it like any other stream in Node. You should be able to just: ``` js var fs = require('fs') client.screencap(device.id).then(function(stream) { fs.writeFileSync('screenshot.png', stream) //...
Run: adb devices -l And adb shell getprop | grep ro.product And post output of both for that device.