Sam
Sam

Reputation: 1328

Find GPS location in Java EE application

I have a Java EE application in which I would to add the function of finding the geo location of the mobile users.

I would like to track drivers, know their current location in a periodic basics. My app is a basic Java EE application. So if I am supposed to find the user location what is the best possible way?

I want it to happen automatically, keep updating once in ten mins or so. So can I do it by adding some available jars? Or do I have to create an Android app for this purpose?

I had found a few relevant post, but they discuss on finding the location that is Android specific. So what would be best for me to use in my app which is based on Oracle ADF technology?

Thanks in advance

-Rakesh

Upvotes: 3

Views: 1464

Answers (1)

Alastair McCormack
Alastair McCormack

Reputation: 27704

You can use the W3C Geolocation API within a smartphone's native web browser (Safari / Chrome) to retrieve the long/lat values.

Upvotes: 2

Related Questions