You can find a working sketch on my repo here. If you get it working please comment on which device and what Android mode.