If you want to bypass the Android preferences activity record and save all the emoticons in the web application by simply encapsulating it in the web view, your best option is to use the server language to access I / O, as others suggested above. Since you are already using JavaScript, why not save all the JS? node.js seems like a good solution to me.
You want to check here the node.js doco API here . Do you want to:
fs.write(fd, buffer, offset, length, position, [callback])
fd refers to the file name and location, and you need to specify a buffer, offset, length and position to tell node where in the file you want to write.
source
share