To learn basic practical skills, I call a line to my application. I know this is too easy, but I am new to native languages. like
jstring Java_com_idiasoft_LoginActivity_NdkdealerName(JNIEnv* env, jobject javaThis) { return (*env)->NewStringUTF(env, "User Name"); }
Here I can name this line in a specific class. But I want to make a dynamic call. like two or more classes. where i use the same string. How can i do this?
source share