3 ms·
Android apps are Java based. Google does not need to do what you just said.
by bravo22 12y ago
Android apps are Java based. Google does not need to do what you just said.
- myko 12y agoAndroid's NDK supports much more than just Java
- bravo22 12y agoTrue but the vast majority of Android developers don't need to use NDK. Additionally the native part can run as x86 code. It doesn't need to be emulated.
- eropple 12y agoThis isn't true, as anybody who sees bugs on the iPhone that don't show up on the Simulator will be happy to tell you. You test on an emulator when you have the option because it's the hardware you're actually deploying against. And, again, Android does not run Java and characterizing it as such is ignorance of the environment involved.
- bravo22 12y ago... and the hardware can vary greatly from chipset to chipset and from phone to phone. There are a number of drivers that work directly with the underlying chip and hardware. You can never emulate that. The actual CPU (ARM, x86) is a small part of the overall emulation equation and almost inconsequential to uncovering these bugs you talk about. There will be bugs that will exist solely on the hardware. You can't replicate it unless you are fully replicating that hardware, with those system level drivers. IMHO, In the context of the app development what Apple did is the better way in this case.
- lnanek2 12y agoYes it does. Android includes the NDK as well as the SDK for writing native code (C, C++, etc.) which gives you ARM, etc. specific libraries you package in your app. Although it is pretty popular for people to drop Intel's lib houdini into faster x86 emulators like Genymotion to let them still use ARM games and Google Play Services.