Skip to main content
mattdh666
Participant
July 1, 2011
Question

iOS Calendar Access

  • July 1, 2011
  • 1 reply
  • 1409 views

I'm building an iOS app using Flex v.4.5.1 and AIR 2.7, and I would like to access the user's iOS Calendar database to:

  • Retrieve appointments within a date range
  • Receive notifications when appointments change
  • Let users create and edit appointments

Apple provides the "Event Kit" framework for doing this in Objective-C.

http://developer.apple.com/technologies/ios/data-management.html

http://developer.apple.com/library/ios/#documentation/DataManagement/Conceptual/EventKitProgGuide/Introduction/Introduction.html

And of course, changes made to the Calendar with Event Kit are automatically synced with the appropriate calendar (Exchange, CalDAV, etc).

Is there anyway to do this in iOS using Flex/AIR? Or any plans to do this in the future??

(It would be cool if the solution worked for Android as well...)

Cheers,

Matt

This topic has been closed for replies.

1 reply

Participating Frequently
July 2, 2011

There's no API to do this right now. In an upcoming AIR release you will be able to write an adapter to allow your app to access native features such as this. This would work for iOS/Android/RIM, but would require different adapter code for each, naturally.

mattdh666
mattdh666Author
Participant
July 5, 2011

Thanks, Joe. Sounds very cool. Looking forward to having access to more native features, so we can use Flex/AIR to build apps that are indistinguishable from their "natively" built counterparts.