- Is it possible, and how ( if it is ) to use functions from Android libraries from Flex mobile application ?
2
votes
Functions like what? Camera, Acelerometer?
- HugoLemos
help.adobe.com/en_US/flex/mobileapps/…
- ethrbunny
The answer is to create a Native Extension. @ethrbunny already gave you a link to the docs. If you Google on Flash Native Extensions android, you'll find plenty of samples, instructions, and probably some ready to go extensions.
- JeffryHouser
I wanna to access functions which is inside java libraries. For instance - databases drivers, encription algorithms .. etc.. But not to create them, but access already created and packed by 3rd party providers.
- user1886623
@BertiKelvin You'll have to include those libraries within your Native Extension library, but you should be able to use them. Just avoid trying to use the native Android MediaPlayer class. It's a nightmare with ANEs. Near impossible, if you don't want to force the user to turn their screen on/off to play the video.
- Josh