Comment 24 for bug 856072

Revision history for this message
In , Michael K. Edwards (m-k-edwards) wrote :

Detecting >= Honeycomb can only be done from Java. (See http://mxr.mozilla.org/mozilla-central/source/xpcom/base/nsSystemInfo.cpp#146 and Christopher's comments on http://stackoverflow.com/questions/2441680/how-do-i-know-what-android-ndk-version-im-running-in .) Are you OK with polling it during startup and poking it into a global? (Yuck, I know, but a callback into Java on every call to getaddrinfo()/freeaddrinfo() sounds painful.)