Thanks for your answer! Already got started and figured some things out myself.
I have worked with Angular some time so I know what the code does and how things work.
However, things I still don’t get: Why are there two config.xml files? Only the one outside the www folder seems to work.
I want to have a list of my contacts. So this returns all my contacts
function onSuccess(contacts) {
alert(JSON.stringify(contacts));
};
function onError(contactError) {
alert('onError!');
};
var options = new ContactFindOptions();
options.multiple=true;
var fields = ["displayName", "name"];
navigator.contacts.find(fields, onSuccess, onError, options);
but I can’t implement this in my service so that the list is available on startup … Any idea?