Added WriteWarning() function,
commented out LOGI and LOGE from android, since we do have our own functions for those purposes