I seen this code in one apk file what the line does ? | Sololearn: Learn to code for FREE!

+2

I seen this code in one apk file what the line does ?

Public native String gethasval(string str) Static { System.loadLibrary("native-lib") } Can anyone explain me How did I explore more about gethasval function ?

2 Answers

New Answer

+2

That looks like a useless function to me because the declaration expects an explicit String return-type and not a void. The parameter list also expect a positional argument which was never used in the function's definition. So i'd suggest you ask the author of the code, they'll surely Knw more cos that is a user custom function and not a standard functiom

+2

Mirielle thank you Can you say where the definition for the function gethasval will locate