how to call javascript function from android using phonegap plugin

后端 未结 2 1930
执笔经年
执笔经年 2020-12-21 15:05

This is my index.html



  
    PhoneGap
    

        
2条回答
  •  有刺的猬
    2020-12-21 15:46

    There are more then one way to do so, to call the java script function from MainActivity is

    this.sendJavascript("appResumed");
    

    Here appResumed is javascript function name.

提交回复
热议问题