从PhoneGap JavaScript访问Android上的Content Provider [英] Accessing Content Provider on Android from PhoneGap JavaScript
本文介绍了从PhoneGap JavaScript访问Android上的Content Provider的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
从PhoneGap中的JavaScript中访问Android Content Provider的最佳方法是什么?
What is the best way to access the Android Content Provider from within the JavaScript in PhoneGap?
推荐答案
您将需要编写插件,以便您可以将内容提供程序暴露给javascript层。
You'll need to write a plugin so you can expose the content provider to the javascript layer.
http://wiki.phonegap.com/w/page/36753494/How%20to%20Create%20a%20PhoneGap% 20Plugin%20for%20Android
这篇关于从PhoneGap JavaScript访问Android上的Content Provider的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文