android wants const char instead of char here