can we add the html and java script code anywhere other than assets folder in android which will used in web View, and it cannot be a URL also since it should work offline, because when we place the .html,java script etc in assets it can be easily found when we unzip the apk.
Kindly advice me in this regard.
Thanks
Nagendra.
Yes you can put them in
/drawables/raw
folder and you can access them like mentioned in Load html files from raw folder in web view. If you talk about unzipping or even reverse engineering for that matter, the java code, layout files all can be reverse engineered, sometimes even if you obfuscate the code. I would suggest you to store all sensitive data on a servers and then get it on runtime in the app.