Android: Allow sending generic string messages out to Java.

Implement stubs for other platforms.