dprintf is not defined on Android

using my own  dprintf