Java is not JavaScript. Aside from a similar name and some similar syntax, they are fairly different languages.
yeah i really wish they would rename it. it was a stupid decision to
ride on
the hype of shitty java.
Despite whether one thinks Java is good or not, Java is used for many
things, from embedded devices to smart phones, etc.. Java is the standard language for Android apps, and there are many Android devices on the
market. I've heard Microsoft Visual Studio now allows developing Android
apps with their C# language (and even with JavaScript), but as for the
Android standard development tools, Java is the language.
I think the main reason Java was chosen for Android app development is that Java runs in a virtual machine, and an Android device could potentially
contain any processor in it. And indeed, there are Android devices on the market with ARM and Intel processors. Since Java runs in a virtual
machine, Android apps can (generally) run on any Android device. It is possible to write lower-level code for Android in C++ when needed, and such code would need to be separately built for ARM and Intel and other
processors, but Android apps written purely in Java should be able to run
on any Android device.
Nightfox
---
þ Synchronet þ Digital Distortion: digitaldistortionbbs.com