Reputation: 386
There was a recent article that Linux kernel 3.3 has integrated Android as one of the features.
It has also created the possibility of launching Linux applications on Android systems provided the correct drivers are used.
I am currently learning Android app development using Processing language.
I am comfortable with processing language in Windows/Linux operating systems. If I develop a processing application in Linux kernel 3.3 that uses bluetooth communications, is it possible to port it to Android?
If yes, How should I go about doing that?
To summarize my question, Can I port my Linux based processing language apps to android?
Upvotes: 1
Views: 927
Reputation: 204906
Linux binaries have always been able to run on an Android system assuming the proper libraries are available (such as in a chroot). See, for example, Debian & Android Together on G1, the first released Android device.
What is happening more recently is that Android kernel modifications are merged or being prepared for merging into the mainline Linux kernel. This doesn't directly benefit desktop Linux users (who weren't using those additional features anyways) nor Android users (who will continue using Android's kernel), but will hopefully reduce divergence and make ongoing development and maintenance easier.
It also gives rise to the potential of running the Android userspace stack on a mainline Linux kernel, whether on a Android device or not.
Upvotes: 3
Reputation: 25048
You can't do this directly no. You see, Android is based on the Linux Kernel, on top of that are all of the drivers for the specific device and on top of all of that is the Android OS. You need to write code that makes Android OS calls through the sandbox that your app is in.
Upvotes: 1