- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am testing my app in USB Debug Mode. It is the first time that I am trying to read contacts. Please excuse me if this is a dumb question.
In the console log i see that cordova.js says "adding proxy for contacts". So I assume all is well. The functions do not produce error.
I try to read the contacts with
currentContacts = intel.xdk.contacts.getContactList();
The value of currentContacts comes as [ undefined, undefined, undefined ]
Is that because I am in debug mode ? Or am I doing something wrong.
Thanks for any and all support.
Cheers
TeaCii
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you try installing it on device and testing it? I would recommend to test your app on device.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That API has been deprecated in favor of the standard Cordova API. You'll find more examples out there for the Cordova version, which I recommend you use. In general, please use the Cordova APIs rather than the intel.xdk namespace APIs.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page