android os 及其内核是用什么编程语言编写的?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/12544360/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
on what programming language is android os and its kernel written?
提问by Rafi
I just want to know on what programming language is androidoperatingsystem and it kernelis written..
我只想知道android操作系统是什么编程语言,它的内核是什么编写的..
回答by Jainendra
Android is built on top of Linux, and a large portion of it is written in C. There are swaths of code written in C++ though. Also, most of the application framework (the stuff you would call android, and almost everything you see on screen) is written in Java.
Android 构建在 Linux 之上,其中很大一部分是用 C 编写的。不过,也有大量代码是用 C++ 编写的。此外,大多数应用程序框架(您称之为 android 的东西,以及您在屏幕上看到的几乎所有内容)都是用 Java 编写的。