5

I am using Flash Builder 4.6 along with Adobe AIR to create an Android App. I am looking to create some sort of reminder/appointment that will display a notification on screen or in the app bar at the specified time. So far I haven't found a way to do this. I thought I might find this functionality in an ANE[Actionscript Native Extension], however I have yet to come across one.

Is this possible? Thanks, in advance!

azsl1326
  • 1,410
  • 2
  • 13
  • 23

1 Answers1

4

There are open-source Native Extensions available that enable you to send Notifications on Android. This example by Daniel Koestler includes the ane file, as well as an example project and a tutorial.

To send a Notification at a specific time, you'd need a Native Extension for the Android AlarmManager. See SO question Set notification to specific time for more details.

I'm not aware of any available native extension for the AlarmManager on Adobe's Developer pages or github.

Community
  • 1
  • 1
Gunnar Karlsson
  • 28,350
  • 10
  • 68
  • 71
  • Thanks. I had seen that first link before. I found this ANE for Push Notifications, which includes a method, sendLocalNotification, however, I haven't been able to get it to work - https://github.com/freshplanet/ANE-Push-Notification – azsl1326 May 29 '12 at 15:07
  • Great ane collection you linked to. It seems the scheduled notification via sendLocalNotification is for iOS only: https://github.com/freshplanet/ANE-Push-Notification/commit/334513dd7561b05b4d4b78d7ef4617280b53dba2 – Gunnar Karlsson May 29 '12 at 15:16
  • Thanks! Here's another collection in case you haven't seen these - https://github.com/patrickkulling/Air-Mobile-Extensions – azsl1326 May 29 '12 at 15:56
  • Thanks. I knew about that one but it's a great link to share. One of the most comprehensive collections I've seen. – Gunnar Karlsson May 29 '12 at 16:08