This seems like the answer would be no, but does anyone know if it is possible to build a custom app into a custom-built version of Android and then load that apk file onto a different device? Obviously, if you make changes to the OS and then rely on them in your app, you can’t, but assuming you use the source as-is (or the appropriate version) from the repo can it be done?
If you can, you could theoretically link against things that are otherwise considered to be hidden in the SDK, right? Or am I completely off base here?
Thanks,
Chris
You can always call private methods via reflection, but in general, this is a very bad idea. Handset vendors are free to change anything not in the SDK, so there is a big chance your app will not work on certain devices. However, if you only want the app to work only on one device, or only on one special version of the OS, hack away 🙂