Skip to content

AIR Native Extension for work with Contacts/AddressBook on iOS and Android

License

Notifications You must be signed in to change notification settings

airext/contacts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

contacts

AIR Native Extension for work with Contacts/AddressBook.

Features

Requirements

  • Adobe AIR 3.6
  • iOS 6.1

Code Example

// checks if AddressBook is modified in sync mode

var isAddressBookChanged:Boolean = Contacts.getInstance().isModified(new Date());

...

// request first 100 or all contacts in async mode

Contacts.getInstance().getContactsAsync(new Range(0, 100), null,
  new Response(
    function(contacts:Array):void
    {
      trace("contacts from 0 to 100:", contacts);
    },
    function (info:Object):void
    {
      trace(info)
    })
);

Deploying

TBD

Roadmap

  • Port to Android
  • Support all properties for iOS
  • TBD

Contacts API

The contacts extension could operate with Address Book in syncronous and asyncronous mode. Each syncronous method has asyncronous counterpart with name that end on Async string. For detailed description see API reference.

API Reference

Related Projects

Some techniques and code has been borrowed from Memler's ContactEditor and its FreshPlanet fork

About

AIR Native Extension for work with Contacts/AddressBook on iOS and Android

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published