Adding Contact.save() for Android 1.X and Android 2.X

This commit is contained in:
macdonst
2010-11-02 05:16:00 +08:00
parent 9798de7efa
commit 5f55ebf1d9
6 changed files with 1576 additions and 30 deletions
@@ -46,7 +46,7 @@ public class ContactManager extends Plugin {
return new PluginResult(status, res);
}
else if (action.equals("save")) {
// TODO Coming soon!
return new PluginResult(status, contactAccessor.save(args.getJSONObject(0)));
}
else if (action.equals("remove")) {
if (contactAccessor.remove(args.getString(0))) {