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.
加载中,请稍侯......
精彩评论