Monday, 5 December 2011

The original code

Libraries written in C language and other languages ​​can be compiled to native code using ARM and Android Development Kit installed the original. Native Classes can be called from Java code running under the Dalvik VM using System.loadLibrary call, which is part of the Android Java standard classes.

Complete application can be compiled and installed using traditional development tools. ADB debugger provides a root shell under the Android Emulator that allows native ARM code to be uploaded and executed. ARM code can be compiled using GCC on a standard PC. To run the original code is quite complicated, because Android use non - standard C library ( libc, known as the Bionic ).

The underlying graphics device, available as a framebuffer in the directory / dev/graphics/fb0. Graphics Android library that is used for arbitration and control access to these devices is called skia Graphics Library ( SGL ), and has been released under open source license. Skia can be used for win32 and Unix, allowing cross - platform application development, and a graphics engine that underlies Google's Chrome web browser.

No comments:

Post a Comment