|
2010-02-17
, 19:31
|
Posts: 2,014 |
Thanked: 1,581 times |
Joined on Sep 2009
|
#2
|
So, I was reading a bit more about Android, and I don't understand why a VM like Dalvik was considered necessary (i.e. make all aps run there instead of directly over the Linux kernel). Anyone can give some input?
|
2010-02-17
, 19:33
|
|
Posts: 733 |
Thanked: 991 times |
Joined on Dec 2008
|
#3
|
In a nutshell because the regular JRE is just to bloated for what they wanted. So they created their own stripped down version with a bunch of tweaks for a mobile platform environment. Was necessary essentially to get the speed they needed in the platform they had chosen
|
2010-02-17
, 19:43
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#4
|
|
2010-02-17
, 19:47
|
Posts: 1,213 |
Thanked: 356 times |
Joined on Jan 2008
@ California and Virginia
|
#5
|
|
2010-02-17
, 19:52
|
|
Posts: 733 |
Thanked: 991 times |
Joined on Dec 2008
|
#6
|
If you have ever programed in Java, you would know that the same code theoretically works on EVERY platform with a JVM. So Android could run on ARMv5, ARM11, x86, etc... and the exact same app would work on them all. Native code would need to be recompiled for every platform.
Also, it adds an abstraction layer that means better security, sandboxing, no breaking the filesystem, etc...
There is a native development kit also, but it won't work on all hardware for the reasons above.
|
2010-02-17
, 21:14
|
Posts: 3,428 |
Thanked: 2,856 times |
Joined on Jul 2008
|
#7
|
Aha! That's the answer I was looking for. I understand that is the same that Nokia wants to achieve with Qt, but in this case, the re-compilation would be needed (although, hopefully not rewriting).
Thanks for your answers!
|
2010-02-17
, 21:17
|
Posts: 992 |
Thanked: 995 times |
Joined on Dec 2009
@ California
|
#8
|
|
2010-02-17
, 21:34
|
|
Posts: 3,404 |
Thanked: 4,474 times |
Joined on Oct 2005
@ Germany
|
#9
|
|
2010-03-03
, 06:49
|
|
Posts: 733 |
Thanked: 991 times |
Joined on Dec 2008
|
#10
|
Hola! Soy un Guía de Maemo!.
Vínculos interesantes si nos visitas por primera vez (en inglés): New members say hello , New users start here, Community subforum, Beginners' wiki page, Maemo5 101, Frequently Asked Questions (FAQ)
Si te puedo ayudar con cualquier otra cosa, sólo dilo!