Monday, April 30, 2012

AIR native extension: how do I return an ArrayList from android native code

I have written an android native extension to get the list of songs in the android phone. Retrieving song works fine. I am saving the list of songs in an ArrayList in native code.



I am able to return the size of the ArrayList to AIR app, but how do I return the full ArrayList itself.



Can someone please guide me?



Thank you in advance.





No comments:

Post a Comment