how to call javascript function from android using phonegap plugin

后端 未结 2 1922
执笔经年
执笔经年 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.

    0 讨论(0)
  • 2020-12-21 16:02

    you will get the right answer here

    0 讨论(0)
提交回复
热议问题