Quote from: EgonOlsen on February 11, 2011, 01:20:25 PMQuote from: raft on February 11, 2011, 12:54:35 PMThere is no such thing. The limit is compiled into the VM by the phone's vendor. You can't even be sure that Android version x.y always supports the same limit...it depends on the vendor's choice.Quote from: gururise on February 11, 2011, 07:55:38 AMi'm not aware of such a thing.
Would I be able to use the NDK to allocate space for the AnimatedGroup object to bypass the 16MB heap on older android phones?
I found an interesting blog post on how to work around the 24mb heap limit in Android by using the NDK. Apparently, memory allocations in c/c++ via the NDK are not subject to the java heap limit. There is also a great thread where one of the Google developers chimed in and basically said the same thing, but suggested not going over 32MB via the NDK.
I'm wondering if its possible to declare an AnimatedGroup on the java side, pass it over to the NDK via JNI and then allocate say 24MB via malloc (or new), and then pass it back to Java and instantiate the AnimatedGroup by loading the Bones file... Not sure if that would work or not.