Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Two more things:

1. It might run. APKs support packaging more than one machine architecture for NDK code in one apk. Currently, there is built in support, in the SDK, for both ARM variants and x86. You can get add-on support for MIPS. Possibly others, IDK.

2. If it doesn't run and you have source access, and if the native code is all in C and C++, you can compile it by adding the option to generate x86 code. It will be packaged in the resulting apk file, and should be installable on Google TV, unless it uses other APIs not available on Google TV.



Unfortunately, while the Android NDK supports native code on x86, ARM, and MIPS processors, GoogleTV doesn't support the NDK:

    Does Google TV support NDK?

    No. There is a pending feature request for NDK support on Google TV

    https://developers.google.com/tv/faq#ndk
It is my understanding that the Intel-based mobile phones are the first x86 Android devices to support the NDK.


Forgot to check that. Good catch!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: