I've been on this for past few days, may be because am not that strong on the JAVA side... I am trying to get the list of an android device's email accounts (or simply - accounts) using Cordova. There is a plugin available for this but it's compatible only for a Cordova app with version less than 2.9.
So, I built a new plugin with the instruction available at phonegap website and hosted this plugin on the GIT. While adding this to my project, I receive errors related to the JS and also, my main JAVA class - accountmanager shows an error at the "Context".
Can anybody help me looking at the plugin I tried to bring together with the help of this SO question and phoengap's plugin development guide...
Is my plugin a complete one at all? Kindly guide me..
UPDATE: I updated my JAVA and javascript files, and now when I add the plugin, I get a new error -as follows -
Uncaught module com.am.accountmanager.accountmanager already defined : line 79 in cordova.js