This doesn't explain though why it works in certain situations.
Using ofxPd or PdDroidParty for example, I don't remember I've ever had that issue. But (at least for ofxPd) it was compiled with c++ compiler; I don't know if this can matter.