Closed GoogleCodeExporter closed 9 years ago
This is because the JVM on Windows does not support JSR-179 (the Location API).
To
my knowledge there is no Windows Mobile JVM that has JSR-179.
I had your problem and wrote Location Source
(http://code.google.com/p/location-source/) to get around it. However, it is
only
implemented for IBM's JVM.
What it comes down to is mapping Java calls to the Windows Mobile GPS
Intermediate
Driver API (which is in C). The Location Source code contains 98% of the code
required to make this work since it has the Java and C code written. However
-- and
this is a big however -- that last 2% is the killer. It varies from JVM-to-JVM
and
may not even be possible. It is the part that loads the native C library (what
is
System.loadLibrary in J2SE). Beyond that you also need to figure out where the
.jar
and .dll should go to get loaded by the JVM. Again this is all done for IBM's
JVM,
but not for any other.
Original comment by deanbro...@gmail.com
on 18 Feb 2009 at 7:29
Thank you for your information. That was very help me, because I was at the
first
time using WM.
Thanks
Budi Susanto
Original comment by bud...@gmail.com
on 21 Feb 2009 at 10:27
According to the esmertec site (the maker of the JVM on my HTC Touch Pro
(WM6.1))
JSR-179 is supported (http://www.esmertec.com/43.html). I haven't tested this
so I
don't know if it works. I have read on forums that this is not the case.
Original comment by jnij...@gmail.com
on 4 Mar 2009 at 2:52
Original issue reported on code.google.com by
bud...@gmail.com
on 18 Feb 2009 at 8:25