问题
What is the best way to access the Android Content Provider from within the JavaScript in PhoneGap?
回答1:
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
来源:https://stackoverflow.com/questions/9125658/accessing-content-provider-on-android-from-phonegap-javascript