Hi,
I developed an ANE to implement a third party library in my mobile app, and now I'm facing some problems.
Their developers told me I have two options to solve the problem.
1º) Extend the MainActivity.java to their CustomMainActivity.
2º) Add some code to stop(); and start() to ALL the activities of the application.
I've been investigating and seems like none of the possibilities are doable. Adobe Air does not provide access to MainActivity class (al least not enough access to subclass it) and I think we can't access to all the activities and remap them in order to add some code.
What I've done, so far, is to add the start() and stop() code when Event.ACTIVATE and Event.DEACTIVATE is called. But it does not cover all the Activities launched by the application.
Any ideas? Or should I assume is not possible?
Thanks!