Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adobe AIR/FlashBuilder 4.6: Create reminder in Android App

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!

like image 636
azsl1326 Avatar asked Oct 07 '22 17:10

azsl1326


1 Answers

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.

like image 70
onosendai Avatar answered Oct 12 '22 10:10

onosendai