Skip navigation
Currently Being Moderated

Adobe Air for Android - caching key event that have “unusual” keycode

Feb 6, 2013 5:53 AM

Tags: #air #android #flash_professional #cs6 #keycode

I am developing an application for a platform. The OS of this platform is Android Gingerbread (2.3.4) The platform has some buttons with "unusual" key code: 141, 131 etc.

Native application that created in ADT can catch and respond to these keyboard events While my Adobe AIR application (created in Flash professional) are Indifferent to them.

I try both: stage.addEventListener(KeyboardEvent.KEY_DOWN,KeyHandler,false,0,true ); NativeApplication.nativeApplication.addEventListener(KeyboardEvent.KE Y_DOWN,KeyHandler,false,0,true);

How can I "catch" this event? Maybe a way to add constant to the keyboard class?



More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points