0
我使用PhoneGap + jQuery Mobile作爲新的移動應用程序。PhoneGap Android插件:ContactView錯誤
此插件用於調用Android的本地聯繫人視圖,因此您不必在HTML中注入聯繫人。
https://github.com/phonegap/phonegap-plugins/tree/master/Android/ContactView
我已經正確地跟着指示,但它不爲我工作,每當我嘗試(所有的初始化程序後)來運行這個JS在Android:
window.plugins.contactView.show(
function(contact) {
console.log(contact);
},
function(fail) {
console.log(fail);
}
);
它顯示此錯誤:
Error: Status=2 Message=Class not found
任何人都可以幫忙嗎?
注意:我之前沒有使用任何PhoneGap插件。
此問題已得到解決:http://simonmacdonald.blogspot.com/2011/05/installing-childbrowser-plugin-on.html –