I’m happy to announce that the test webpage for the Google GPS Cell Phone Tracker is now operational. You can test your cell phone tracker using this app!
I’m happy to announce that the test webpage for the Google GPS Cell Phone Tracker is now operational. You can test your cell phone tracker using this app!
Hey Jatinder
Could you please post the url that is giving you the error?
thanks
Nick
http://www.vedicastrologer.ca/getgpslocations2.php
http://www.vedicastrologer.ca/displaymap2.php
many thanks for reply,
Jatinder…
I think the user does not have execute privileges on that stored procedure:
$mysqli->multi_query: execute command denied to user ‘vedi6868_user’@’localhost’ for routine ‘vedi6868_GPS.prcGetRouteForMap’
read this
http://bytes.com/topic/mysql/answers/869358-execute-denied-error
Nick
Sorry to bother you Nick, but I am new to web. got your link, tried a lot but in vain. in which php should i put the code and where, or maybe in database. but how?
many thanks,
Jatinder…
i asked my web host to grant permission,
now okay.
thank you so much Nick…for your hard work
jatinder…
by the way..
how to install software on bb and iphone.
are you developing something.
hi, nick.
I have some problem.
If I want to send router ip address by using your mobile application or any other. then what java api i should use?or modify in your mobile application?
Hi. I have some trouble using your app with my nokia 5800 XpressMusic. I get an error:
“NetWorker.getUrl: java.lang.IllegalArgumentException:
bad image format Map could not be downloaded.”
I read all the posts, using all the fix mentioned, but actually I still get this error.
Thank you very much.
PS: the old version worked for me on a Nokia N95. Good piece of code. 😀
same60, can you please send the url taht you are using to try and get the map.
Nick
Hi Nick,
in ‘Option-> Upload Website’ I wrote http://www.websmithing.com/gpstracker2/getgooglemap2.php
Thank you for your support. 🙂
Ok, give it a try now…
http://www.websmithing.com/gpstracker2/getgooglemap2.php?lat=47.473349&lng=-122.025035&mph=606&dir=0&mi=0&dt=Wed%20Oct%2024%2011:19:17%20UTC%202007&lm=0&h=291&w=240&zm=12&dis=25&pn=theBrit&sid=11137&acc=95&iv=yes&info=morestuff
Nick
Now it works perfectly. Probably there was some problem on ‘getgooglemap2.php’.
Can you upload your last gpstracker’s package on sourceforge?
Again, thank you very much.
hi
can i used this app with a bluetooth gps???
i have to change some code or just like that
hi, nick.
I have some problem.
If I want to send router ip address by using your mobile application or any other. then what java api i should use?or modify in your mobile application?
plz give the answer above question.
Hi Mike
I’m not sure what you mean by router ip address. Do you mean the ip of the cell phone?
Please read the response by ggould here:
http://bit.ly/cjCTOK
and this article:
http://bit.ly/9WkAcy
Nick
Hi, n thanx for reply.
My problem is that I am making project for my campus.
we have wi-fi facility.so with the help of router i have to find positon of mobile user.
User’s mobile application will send nearby router address.
so how to do this?
Will u help me?
hi,i installed your application in my mobile,but got an application error that “no class def found error
java/lang/noclassdeffounderror javax/microedition/location/location exception..
Hi. I have some trouble using your app with my nokia 5800 XpressMusic. I get an error:
getlocation:null.
@aditya
On 5800 XpressMusic it works fine, cuz i got the same phone.
@Nick Fox
Hi nick, the program works fine but it crashes after 1h40m of stress-test.
It crashes sending position each 1 minute and also each 10 minutes. I dedicated two days of testing.
Death by ‘Out of memory’.
You can also reply to my mail.
Have a nice day, bye 🙂
@same, I’m not sure why that’s happening. I have had that application running for *many days* without crashing. It’s been downloaded close to 200,000 times and I’ve not heard of that problem before.
Did you significantly change the code and created a situation where objects are not being released?
@aditya do you have gps turned off on your phone?
Nick
hi nick.
i successfully installed and run your old version gpstracker2.0,
when i change url of GetGoogleMap2.php by http://www.websmithing.com/gpstracker2/getgooglemap2.php
after running for 5-6 times it gives location only once and gives error that ‘throws/nullexceptionpointer’.
where should i change??
@same60: i installed jar file directly but is there any another way so i solve my problem??
Hi Nick,
I installed your apps on Blabberry 8310 & Nokia E71 & received same error from both,
gps.java.lang.nullpointerexception
what is the reason?
Kenny
What line did that happen on and in what class? Can you run the phone in the debugger and put breakpoint somewhere?
Nick
Thanking you Nick for quick replying,
This Apps runs in NetBeans 6.5 without error. when I try run it from my mobiles app initializing perfectly. I can change setting also. then it will ask from me to use my air time & when I give the permission it says “Maps updating in every 02 minuets” . after 02 minutes it gives that error.
gps.java.lang.nullpointerexception=0
I think that this is due to cant get gps coords from my phone. but these phones show maps with google.maps & some others sake kind of apps. is their any ways to handle,
locationProvider == null situation,
best regards,
Kenny
You need to try and debug on the phone to see where it’s failing. Here is an OLD article on how to do that:
http://blogs.sun.com/delabassee/entry/on_device_debugging
You may need to google more on that. It has been *years* since I have used netbeans. I use eclipse now. But if that doesn’t work, then you need to do a lot of logging to the screen to see where it’s failing. Kind of like doing printf statements, printing out variables and where you are in the program flow. You should be able to narrow down exactly what line the error is occurring on.
Nick
hi nick
still i am getting error:get url response 402.
n i check my gps it is enabled.
ok can u tell me how to cinfigure it with netbeans 6.5.
i have installed java(TM)ME platform. and wireless toolkit2.5.2.
now what should i do?
HI Nick,
I got the reason for this error. i have set trapped gps latitude & longitude within every 01 minute. it says lat=0.0 lng=0.0. It seems to GPS device denied sends it’s results to gpstracker. whats next. is their any authentication issues? sometime phone’s os may think gpstracker as a virus or same kind of apps.
Kenny
There is a very good chance that your provider may be blocking gps to developers. Fro instance, Sprint, here in the U.S. will not allow developers access to gps on their cdma cell phones unless they become a Sprint partner for $5,000. Hard to believe but true… I have a test for you. Go read this article and install and run the very short gps application on your phone:
http://developers.sun.com/mobility/apis/articles/location/
If it doesn’t get gps, it could mean that it’s being blocked.
Who is your cell phone provider?
Nick
Hi Nick
I’ve developed an contact app for taxi drivers and feel the gps google map tracker app your developing would make a real addition to the site.
Proposed page scheme:
Posistioned under yellow site context
GPS, Google map displaying drivers position
Question:
What steps do I take to get into implementing the google map gps tracker app into the php page?
Mark
The txt ‘formone’ is my first contact form, ever.
Please reply, to a designer turned automa whom could use some help, I forget please. GPS… is there any co-ordinate honing tringulation, bee a mad read for me. Sabby76
Hello
can anybody help me.
I found this code and it’s working good but i think is that it just a demo,how to track the exact location of any cell phone,i have to take help of any GPS service provider.this code is picking data from database and showing it on Google map but how to store these values in database.
Please help me ASAP. If any service provider provides service to track mobile phones please let me know.
My email id – [email protected]
And I talk to myself…
hi Nick,
i am getting an error
networker geturl response code:404
map could not be downloaded
while running in netbeans ide 6.9
what should i do?
Hi Nick, everyone,
I have found this project few week ago and it looks interesting to me. I have been doing some testing and it looks somehow working.
I’d like to make some changes eg.:
– change imperial units to metric
– add some more refresh interval choices
– stop sending coordinates when delta distance < constant (when not moving)
– stop downloading map to device
– and some more changes to minimize data transfer
I can do it by myself (hopefully), but I can't find a useful builder for J2ME binaries. Can you please guide me somehow ?
Just post a message, I am going to monitor this page for some time 😉
Thank you in advance.
I used netbeans to compile the application. Look for the readme.txt file, it will explain the setup.
Nick
I’m new with the app and loving it already. Is there a way to run this app in the background using an Nokia Symbian S4 ?
Juan, you can probably create a background app on Symbian but I don’t think you can using j2me. I haven’t really looked into it. You’ll have to look into the Symbian documentation.
Nick
hi nick
ihave some trouble
The image “http://111.221.42.157/xampp/GPSTracker/getgooglemap2.php?lat=-6.22740511&lng=106.7044808&mph=0&dir=0&dis=0&dt=sat%20nov%2013%2004:22:13%20GMT%202010&lm=589825&pn=bangun&sid=1289622130790&acc=0&iv=true&info=morestuff” cannot be displayed, because it contains errors.
can you help me
Hi,
I am trying to install your applicaiton, but when I call up the url on the phone I get ‘directory listing denied’. Dont I need to specify a default document on the iis website?
Hey Frank
It’s been a while since I looked, but from what I recall you need to point your browser to DisplayMap2.aspx. I don’t think there is an index.html file.
Nick
Hi Nick,
I’m currently testing this app and got it reading from MySQL and a Nokia 5800. The PHP and MySQL I’m fine with but I’m wanting to add another atribute to the phone app. Basically a unique identifier of which phone is being tracked. Can you please give me some pointers as to where I can add this.
Many thanks for any help you can offer,
John
Hi,
Thanks for the update. I was referring to the part of the process where the user enters:
http://www.bconserv.com/gpstracker/phone
I changed the iis definition to call up the download.aspx document and now I am getting the following when the phone user clicks on the download link on that page:
On my Droid, here is what happens:
When I call up the url above (with my actual domain name specified), I receive the following in the browser window:
GPS Tracker download for cell phones
GPST2.0.jad (which is a link)
When I click on download link, I receive the following test lines displayed in the browser window and nothing else happens:
Midlet-1: GPSTracker,/res/gps32.png,GPSTracker
MIDlet-Icon: /res/gps32.png
MIDlet-Info-URL: http://www.websmithing.com
MIDlet-Jar-Size: 9179
MIDlet-Jar-URL: GPST2.0.jar
MIDlet-Name: GPSTracker2.0
MIDlet-Permissions: javax.microedition.io.Connector.http, javax.microedition.location.Location
MIDlet-Vendor: Websmithing
MIDlet-Version: 2.0
MicroEdition-Configuration: CLDC-1.1
MicroEdition-Profile: MIDP-2.0
On a iPhone, I receive the same text for step 1, but when I click on the download link, a popup window appears which says:
Download Failed
Safari cannot download this file
How do I get the application to download/run on a phone?
Thanks
Hey John
I assume that you want to use the phone’s unique ID, imei:
System.getProperty(“phone.imei”);
get that from the phone and create a new row in the DB table called imei and insert that.
Nick
Frank
Give me the full url of the website you are having problems with. Make sure to include all the variables after the ? mark, the lat,lng etc…
Nick
Hi,
Its in the post:
http://www.bconserv.com/gpstracker/phone
Thanks,
Frank
Frank
I get now, wasn’t paying attention. You need to add the mime type to you web server.
This is for iis, http://j.mp/cWMpml
google “add .jad mime type to apache” if that’s what you need.
Nick
Bangun
Sorry for the delay. That web server does not seem to be available. I tried this:
http://111.221.42.157/
and nothing came up.
Nick
Hi Nick,
Thanks for getting back to me. Yes this is ideal using the phone imei. I’m not sure where I am looking though, I can see the query strings that are updating the database in ‘updategpslocations.php however I’m struggling to find where I can set the
System.getProperty(“phone.imei”);
to then be able to spit it into the db along with the gps locations.
Any pointers are much appreciated. I’m on day 2 of learning how to use Netbeans…
Many thanks,
John
Hi,
I made sure that both mime types are being served up by the iis server, but I am still getting the same problem when I try to call up the application on the phone (same list of messages, then nothing happens on the droid, same error message on the iphone).
Frank
I reread your message above. This phone application is j2me (java micro-edition) which runs on a lot of phones but not iphone or android. iPhone uses objective-c and Droid does use java but it uses the Android framework instead of j2me.
Both of those phones are going to require you writing the phone application in 2 other languages.
Nick