I'm trying to use the PhoneGap Share plugin, which should open my own Android “Share” window, which allows the user to choose which application to share.
https://github.com/phonegap/phonegap-plugins/tree/master/Android/Share
I have a hyperlink that calls the following code (provided on github).
window.plugins.share.show({ subject: 'I like turtles', text: 'http://www.mndaily.com' }, function () {},
When I try to debug the application on my phone, I get the following error:
Unable to call the 'show' method from undefined in file: ///android_asset/www/index.html
What do I need to do to get this to work?
javascript android cordova
Doctuh D.
source share