I am using a JNI library and I am quite new to it so I am playing around it. I have a method to get a path :
.....
const jbyte *mypath = (const jbyte *) (*pJNIenv)->GetStringUTFChars(pJNIenv, myObject, NULL);
LOGD("My path %s", mypath);
How can I check if the path string contains "download" ? Thanks