Writing and reading file in phonegap

后端 未结 4 1587
傲寒
傲寒 2020-12-09 22:49

I tried writing/reading a file in phonegap+android, here is the set up:

$(document).ready(function() {
    document.addEventListene         


        
4条回答
  •  我在风中等你
    2020-12-09 23:19

    This also works in Android 2.2. You call the load(); function from body's onLoad, and writeFileFromSDCard(string) from some button's onClick, passing as parameter the string you want to write in the file.

    
    

提交回复
热议问题