Skip to main content
Inspiring
April 13, 2012
Question

NativeApplication.nativeApplication.idleThreshold on Air Mobile Android does not work?

  • April 13, 2012
  • 1 reply
  • 1433 views

Hi All,

  In my AIR Mobile app that runs on Android, when I set

NativeApplication.nativeApplication.idleThreshold = 30 and then add an event listener, it works just fine in the Emulator, however when I run it on an Android Tablet, it just does not work, any ideas about this?

Regards

Baliga

This topic has been closed for replies.

1 reply

Participating Frequently
September 4, 2012

After doing a bit of a search for this myself, it turns out that the userIdle and userPresent events are dispatched on mobile devices

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/desktop/NativeApplication.html#event:userIdle

Inspiring
October 11, 2013

I suppose you meant they are NOT dispatched on mobile devices.

Which is a pity, because they'd make things easier. I've filed a feature request in bugbase. Please vote if you're having the same issue:

https://bugbase.adobe.com/index.cfm?event=bug&id=3648849