Where all the Android source code are stored? RAM? Flash?
I was wondering where all the Android s开发者_如何学运维ource codes are stored. Are they stored in RAM or Flash memory?
---------------edit
Thanks for the prompt replies. Now I got that the Android binary image is stored in RAM. What about Android application source codes (byte code)?
If I run an APK file then Android loads the application. Is the bytecode loaded onto RAM? or Flash?
Thanks in advance..
Where is the Windows source code stored? Trick question: nowhere. Windows is compiled before you even get the disk and then all you do is install the compiled binaries.
Android is an operating system just like Windows and Mac (better yet, it is Linux), so to answer your question correctly, Android is stored in the Flash memory as the RAM is wiped every time you reboot the device.
The source code is not actually stored on the device. Instead the sources are compiled into what is commonly referred to as a ROM and then copied into the device's internal flash memory.
If you want the actual android sources you can get them from http://github.com/android
精彩评论