File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Integrating Vehicle Tracking via GPS device into java web application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

Integrating Vehicle Tracking via GPS device into java web application

Bikram Sim
Greenhorn

Joined: Feb 29, 2012
Posts: 11

Hi everyone ,

I have this Cab management web application in which I want to integrate GPS devices that are in the Cabs so that I can accurately get the Details about Distance traveled, Time taken, Stoppages in-between the trip, etc.

Please point me in the right direction as I have no idea how and where to begin.
And any easy to understand example would be a tremendous help.

Thank you in advance


Bikram Singh
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10535
    
    9

Since you need to track and analyze, you need to
1) Monitor in real time the GPS changes with other matrix (e.g. time stamp) as required. Availability of this data would be driven by your GPS device
2) Upload this data to some central server. This would mean net connectivity for the GPS device. The device should be also be able to retry in case of communication failures, else store the unsent data in the device local cache.
3) You will need to decide if this upload needs to be a push or pull operation.
4) Once the data is uploaded, you will need to analyze and produce the output on the web client. Things like real time notification and update to web client, just in time analysis of data etc would depend on your requirement, but they should be straight forward operations.
5) In case you are willing (and your client is ready to pay for it of course) alerts/notifications would be a nice to have feature. Vehicle #42 hasn't moved in 2 hours. Vehicle #314 has arrived at the destination etc.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Bikram Sim
Greenhorn

Joined: Feb 29, 2012
Posts: 11

Thank you Maneesh Godbole ,

and could you please explain your 4th and 5th point, like would i get any API and its Documentation with GPS devices with which I can use its functionality to retrieve data in real-time over the internet.
And how do alerts/notifications work if say we do buy this feature?

Thank you in advance!
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10535
    
    9

Yes. You will need to ensure the device you plan to use has all the required functionality.
It's for you to decide how you want the alert/notifications. Usually they are either of email/sms or mobile app notification
Bikram Sim
Greenhorn

Joined: Feb 29, 2012
Posts: 11

Thank you Maneesh Godbole,

Could you please suggest me some Companies who sell such GPS devices with APIs for java integration? And if some of them could show their examples of APIs?

Thank you in advance!
Bikram Sim
Greenhorn

Joined: Feb 29, 2012
Posts: 11

ANYONE??
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10535
    
    9

Please KeepItDown
Your last post was almost a week back. Did you try calling up your local vendors during that period? Did google give you any results? Please ShowSomeEffort.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42946
    
  70
I would imagine that there are specialized devices from fleet management companies, or at least ready-made apps for use on a GPS-equipped smartphone. But I see nothing in the requirements that couldn't be handled by a custom app running on a 3G- and GPS-equipped Android device.
Bikram Sim
Greenhorn

Joined: Feb 29, 2012
Posts: 11

I'm sorry about that, i wasn't yelling.
Actually my boss has put this whole thing on me to do, and i can't call any vendor on my own, I've been asked to give him "Details" about how this will work, and i tried to find it online and couldn't find proper details to put in front of him, that's why out of desperation my last post was like that.
Winston Gutkowski
Bartender

Joined: Mar 17, 2011
Posts: 8427
    
  23

Bikram Sim wrote:I'm sorry about that, i wasn't yelling.
Actually my boss has put this whole thing on me to do, and i can't call any vendor on my own, I've been asked to give him "Details" about how this will work, and i tried to find it online and couldn't find proper details to put in front of him, that's why out of desperation my last post was like that.

OK, well cool it anyway; you'll never get anywhere by panicking.

A quick Google of "fleet management GPS tracking" got me a gazillion pages. Add "Java" to that, and the very first page listed is for a company that specializes in firmware for Indian operating conditions.

Also: sometimes it's worth telling your boss that either
(a) He (I assume it's a he) is being unreasonable.
(b) What he's asking is beyond your capabilities at the moment. As a boss, I'd far rather someone was honest with me about something like that than wasting a lot of time on something that probably won't fly.

Winston

Isn't it funny how there's always time and money enough to do it WRONG?
Articles by Winston can be found here
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10535
    
    9

Bikram Sim wrote:
Actually my boss has put this whole thing on me to do, and i can't call any vendor on my own...

You are not allowed to make phone calls for your office work? Wow.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Integrating Vehicle Tracking via GPS device into java web application