Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

HTML Tracking System for Website?, Need help on this

views
     
TSzZNekoChanZz
post Feb 25 2017, 11:29 AM, updated 8y ago

Casual
***
Junior Member
428 posts

Joined: Oct 2011
From: In your drive, stealing your internutz
Hi, everyone.

I'm currently doing my Final Year Project and a part of it involves tracking smartphones via GPS (with consent after all) using the website I'm developing.

Anyone knows how to design a simple GPS tracking system? preferably with HTML/JS/PHP since my website is based on this.

Your input is very much appreciated.
marcus6431
post Feb 25 2017, 04:14 PM

Getting Started
**
Junior Member
240 posts

Joined: Jan 2013
It is great if you could explain more about your project's detail of what you wanted to track of smile.gif
chriss2010
post Feb 26 2017, 10:54 AM

Getting Started
**
Junior Member
71 posts

Joined: Sep 2009
QUOTE(marcus6431 @ Feb 25 2017, 04:14 PM)
It is great if you could explain more about your project's detail of what you wanted to track of smile.gif
*
pretty clear to me that he need to develop site for mobile tracking via gps
TSzZNekoChanZz
post Feb 26 2017, 11:35 AM

Casual
***
Junior Member
428 posts

Joined: Oct 2011
From: In your drive, stealing your internutz
The requirements of the Web Page I need help with is:
-A single Web Page (something like Google Map interface)
-Map on the right side with a bar on the left that displays a list of mobile phones.
-the ability to show the location of a smartphone when the corresponding mobile phone is selected from the list.

It would be great if someone could guide me in making this webpage.
danieln
post Feb 26 2017, 02:21 PM

Regular
******
Senior Member
1,249 posts

Joined: Feb 2008
QUOTE(zZNekoChanZz @ Feb 26 2017, 11:35 AM)
The requirements of the Web Page I need help with is:
-A single Web Page (something like Google Map interface)
-Map on the right side with a bar on the left that displays a list of mobile phones.
-the ability to show the location of a smartphone when the corresponding mobile phone is selected from the list.

It would be great if someone could guide me in making this webpage.
*
I don't think you can achieve this just by using a webpage. You will need the user to keep the browser opened and keep on refreshing all the time to have the location updated.

what you need instead is a mobile app that reads the location and send the data over to the server in a fixed time interval. the php/webpage is used to just display out those data.

but such app would also be draining the phones battery fast.

good luck
TSzZNekoChanZz
post Feb 26 2017, 06:52 PM

Casual
***
Junior Member
428 posts

Joined: Oct 2011
From: In your drive, stealing your internutz
QUOTE(danieln @ Feb 26 2017, 02:21 PM)
I don't think you can achieve this just by using a webpage. You will need the user to keep the browser opened and keep on refreshing all the time to have the location updated.

what you need instead is a mobile app that reads the location and send the data over to the server in a fixed time interval. the php/webpage is used to just display out those data.

but such app would also be draining the phones battery fast.

good luck
*
Putting aside the battery issue, is the mobile app easy to be done? I'm have no knowledge when it comes to mobile programming.

Or is there any open source tracking system which I can use?
tc216997
post Feb 26 2017, 07:27 PM

New Member
*
Junior Member
18 posts

Joined: Jan 2017
you can use the built-in html5 geolocation in the browser.

Here's the documentation on it.
https://developer.mozilla.org/en-US/docs/We...ing_geolocation

or you can use google geolocation api if you want to bypass the permission asking for your location.
https://developers.google.com/maps/document...olocation/intro

if you want to compare each
http://stackoverflow.com/questions/3579950...geolocation-api

but as far as I know, both aren't as accurate as the built-in mobile GPS, which I don't think you can access from a browser.
altrop
post Feb 27 2017, 12:10 PM

New Member
*
Junior Member
12 posts

Joined: Apr 2016


try this out: https://github.com/mikelduke/phpGPS

 

Change to:
| Lo-Fi Version
0.0128sec    0.10    5 queries    GZIP Disabled
Time is now: 29th March 2024 - 06:05 AM