Um...
Java is a programming language, which runs under an operating system - and can run on PC and Android devices.
Android is an operating system, not a programming language, so you don't code "in" Android, you code "for" Android in a programming language (generally Java)
So you can't compare them and say "this" or "that" as they aren't equivalents in any way.
Google says that the
MS-P2500 Handheld Terminal[
^] runs Win-CE, so I suspect that neither Android or Java would really be applicable...try C++ or C#!