As I know, all android applications run on a virtual machine, similar to jvm, but more optimized. Is it possible, using cross-compiling, to build a program that will work in graphical mode? Just the linux kernel program? I know that they will call me suicide, but who will not make it difficult, answer!
1 answer
Unfortunately, androyd does not give any opportunity to run custom applications without using jvm at all. But from Java code, you can transfer control to the native, which can for example work directly with graphics, as for example most of the graphics engines do. But the data from the sensors all the same will have to be received through a layer of Java code ...
PS and where did you get that ART or dalvik more optimized? This question is quite controversial and for the most part most likely not in favor of the Google JVM
- Well, in theory, Google runtimes were created as runtimes that will compensate for the iron deficiency of the device with their high performance and relatively small size. Now this is of course not relevant, because they are selling the device stronger than my PC. - stdio.h
|