政杰 程
政杰 程

Reputation: 11

How to wake up APP from sleeping (ActionScript 3 - AIR for Android)

I use Flex SDK + ActionScript 3.0 to develop APP for Android.

I need a function to wake up my APP when OS is sleeping. For example, an alarm clock, it counts time in background and "wake up" to ring the bell when specific time matches. I need the same action to "wake up" my APP from sleeping. I did some google search like "Native Extension" or "NativeProcess class" but it seems can't afford my goal.

I need some suggestion. anyone ?

Upvotes: 1

Views: 740

Answers (1)

M4tchB0X3r
M4tchB0X3r

Reputation: 1531

Yes you will need an ANE (Adobe Native Extension). There are loads out there by now.
this is one of them -> onglongfei/ANE-ALARM-Service

Upvotes: 1

Related Questions