Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Developing for Android on the phone itself

Tags:

java

c

android

I read about AIDE and it's ability to develop and compile Java directly on Android but what about C support? I read that the PC Android NDK adds full C support only if you wrap it in a dll but a newer version would allow apps to be developed directly in C without any wrapper. Is there anything like that for Android as well? I know of c4droid and it's gcc plugin but I assume that is for developing for x86 and not ARM.

like image 473
farmdve Avatar asked May 12 '26 07:05

farmdve


1 Answers

With Android Native Development Kit (NDK) you can implement parts of your application using C. http://developer.android.com/sdk/ndk/index.html. If you write native code, your applications are still packaged into an .apk file and they still run inside of a virtual machine on the device. The fundamental Android application model does not change.

like image 123
Frank Anemaet Avatar answered May 13 '26 19:05

Frank Anemaet