Category : native

my problem is that whenever these two codes are ran in my app: std::string str = std::to_string(getPid(getEnv(), *new jobject)); std::string path = std::string("/proc/") + str + std::string("/maps"); my app crashes. I need these two strings to convert the pid of another process to const char (atleast thats what i think it does). This is how ..

Read more