I found this library in github https://github.com/agoransson/microbridge-arduino , this allow us to this kind of communication between Arduino and android devices, but when i try to include it in my redbear project it give this issue :
error: pins_arduino.h: No such file or directory
did you have an idea to solve this ???
note: i can include the library without any problém with a Arduino ATMega