Dear Michal,
this is really a great application and I congratulate you on providing this for free.
I have a sony-ericsson Z520i phone and a bluetooth GPS.
I try to use the http to send position at my tracking server but I receive the following message: "Sent failed: Http not enabled"
Any suggestions?
Thanks
Yuri
enable http
thx! ;o)
go to menu>settings>network and enable http. is disabled by default.
another message error
oops..
sorry, I'm newbe ..
but now it display another error message "send failed:"
Server side I try this simple script:
<?php
$lat=$_POST['lat'];
$lon=$_POST['lon'];
$alt=$_POST['alt'];
$speed=$_POST['speed'];
$course=$_POST['course'];
$time=$_POST['time'];
$myfile= fopen("test.txt","a+");
fwrite($myfile,"\n".$lat."\n".$lon."\n".$alt."\n".$speed."\n".$course."\n".$time."\n");
fclose($myfile);
?>
any suggestion? Thx!!!!!
Yuri
php server side
I used this sample code above. It also says "sending failed:null"
However, it DOES send. And the file on the server contains a valid location (but with an invalid time... minor issue)...
I assume I need to figure out how to get rid of the error message before it will transmit locations automatically at the appropriate time interval..
Is there something missing? Does the php code need to send a reply to the phone to say data was received?
Thanks for a great program.
James
response added
I added a response from the server, and that eliminated the error. But navigami still does not send at the time interval specified. It only sends when you manually tell it to.
My php code is:
<?php
$lat=$_POST['lat'];
$lon=$_POST['lon'];
$alt=$_POST['alt'];
$speed=$_POST['speed'];
$course=$_POST['course'];
$time=$_POST['time'];
$myfile= fopen("test.txt","a+");
fwrite($myfile,"\nlat: ".$lat."\nlong: ".$lon."\nalt: ".$alt."\nspeed:".$speed."\ncourse: ".$course."\ntime: ".$time."\n");
fclose($myfile);
HttpResponse::send();
?>
updated: to say it actually IS sending to the server at the correct interval.
Added time stamp from local computer to get over bug in sent data:
<?php
$lat=$_POST['lat'];
$lon=$_POST['lon'];
$alt=$_POST['alt'];
$speed=$_POST['speed'];
$course=$_POST['course'];
$time=$_POST['time'];
$today = date("F j, Y, g:i a");
$myfile= fopen("navigami_locations.txt","a+");
fwrite($myfile,"\nlat: ".$lat."\nlong: ".$lon."\nalt: ".$alt."\nspeed:".$speed."\ncourse: ".$course."\ntime: ".$time."\nlocal time: ".$today."\n");
fclose($myfile);
HttpResponse::send();
?>
Doing some work on this
I am doing some server side stuff on this.
Just visit : http://www.sheepgames.co.cc/track/
to set up the URL's you will need
No registration required. Shows in realtime the GPS location sent out by the phone!
Until Navigami gets their serverside working I think it's a good alternative that I've set up. Hope I can help or at least intrest you guys.
Sadly the .co.cc domain I have is currently Out Of Action. When it comes online I will copy the code across and keep this code. These domains will remain compatible!
I'm still working on this. Try it out tell me what you think.
http
is http working? is it possible to download maps over http? is your php page public and visible?
also problem with maps
My page is public and visible. I try on NOKIA 6630 and it's work ok.
On my Z520i I can't connect and it is not possible to download maps over http. ;-(
Message Error: "IO Error: can't load maps"
http
navigami on NOKIA is working and on SE not? is the same sim card usined? is http configured well? is opera mini working there?