forked from github/cordova-android
Adding Contact.save() for Android 1.X and Android 2.X
This commit is contained in:
@@ -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))) {
|
||||
|
||||
Reference in New Issue
Block a user