开发者

How to start android activity from sencha script?

Dear All,I want to merge existin开发者_如何转开发g android project with sencha + phonegap. But i am still confused to start my existing activity from phonegap / sencha script. any suggestion would be helpful?


You can invoke Java methods from a WebView by addJavascriptInterface, and here is an example of how to use this method. Allowing Javascript to invoke your own Java methods makes it possible to start existing activity from phonegap / sencha script.


Sounds like you might be in need of WebIntents. Check out this article for some examples on how to call other activities.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜