I have developed chat application targetting Windows, Mac, Android and iPhone. When a user Sign In then all the friends of that user shows in next view. On Andoid, if user presses physical back key on the device the application must go to background instead of going to previous view (Sign In View). This feature is not supported by Flex. So I have written ANE for this solution and posted here.
To Send App To Backgrounf at any time, use the following lines
var ane:SampleASExtension = new SampleASExtension();
the above class in implemented in the attached ANE.http://powerfulpal.com/files/SendAppToBackground.zip
I have dedicated it to my late Father. May ALLAH bless him with His endless blessings and show His mercy on him.
I use your ane in my app ( flash cs6+as3+air)
there is some error:
1046: Type was not found or was not a compile-time constant: SampleASExtension.
1180: Call to a possibly undefined method SampleASExtension.
How can I fix these errors?
is it necessary any import?
I found that:
It should be noted here that the ANE was built to target the AIR SDK v3.6. If you are using any earlier version you will get an error.