开发者

How to start android activity from sencha script?

开发者 https://www.devze.com 2023-02-22 09:24 出处:网络
Dear All,I want to merge existin开发者_如何转开发g android projectwith sencha + phonegap. But i am still confused to start my existing activity from phonegap / sencha script. any suggestion would be h

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

精彩评论

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