You Are Here:

Community: Developer Discussion Boards

#1 Old GSM tracker - 2007-11-27, 11:06

Join Date: Nov 2007
Posts: 8
asparov
Offline
Registered User
Hi All!
Could somebody explain how to create GSM tracker application which will send data to web server with Symbian C++. I found example for display current position on the phone but i could not understand how to send this data to web server which will store position in local db and show position in real time with google maps.
Reply With Quote

#2 Old Re: GSM tracker - 2007-11-27, 12:02

Join Date: Mar 2003
Posts: 27
Location: Finland
lisoant's Avatar
lisoant
Offline
Registered User
Hi asparov,

At wep server side: for example Create small php script which takes your coordinates as parameters. Also check those parameters at the server side and you can do at the server side what ever you like to do with that information.

At mobile side: create HTTP connection to your server and just call your server script...

Eg. your application calls like this server side www.yourserver.net/index.php?parameters

and server just returns message "OK" or "FAILED".
Reply With Quote

#3 Old Re: GSM tracker - 2007-11-27, 12:26

Join Date: Jul 2006
Posts: 1,158
Location: Oulu, Finland.
Send a message via AIM to vasant21
vasant21's Avatar
vasant21
Offline
Forum Nokia Champion
You can refer HTTP Client Example, which contains the HttpClientEngine Class you can use it directly in your application to post data to server.

http://www.forum.nokia.com/info/sw.n..._0_en.zip.html
Reply With Quote

#4 Old Re: GSM tracker - 2007-11-27, 12:49

Join Date: Nov 2007
Posts: 8
asparov
Offline
Registered User
Thank you very much! I'll try it!
Reply With Quote

#5 Old Re: GSM tracker - 2007-11-30, 09:40

Join Date: Nov 2007
Posts: 8
asparov
Offline
Registered User
Thank you, i got successfull results but at now i have one more question.

I have the following code to get altitude, latitude and longitude:

PHP Code:
iClient->CancelTransaction();

            
            
iView->ResetL();
            
TBuf8<KDefaultBufferSizeuri8;
            
            
TPosition pos;
            
iPositionInfo.GetPosition(pos);
            
TRealFormat realFormat(16,13);
            
realFormat.iType KRealFormatFixed KDoNotUseTriads;
            
            
TRealFormat altitudeFormat(16,12);
            
altitudeFormat.iType KRealFormatFixed KDoNotUseTriads;
            
            
uri8.Append(pos.HorizontalAccuracy());
            
//uri8.AppendNum(pos.Time());
            
uri8.Append(pos.VerticalAccuracy());
            
uri8.Append(KUrl);
            
uri8.Append(KLongitude);
            
uri8.AppendNum(pos.Longitude(), realFormat);
            
uri8.Append(KDataSeparator);
            
uri8.Append(KAltitude);
            
uri8.AppendNum(pos.Altitude(), altitudeFormat);
            
uri8.Append(KDataSeparator);
            
uri8.Append(KLatitude);
            
uri8.AppendNum(pos.Latitude(), realFormat);
            
            
// Start transaction
            
iClient->IssueHTTPGetL(uri8); 

But i need to get more parameters such as gps status,date,time, longitude letter (for example E for east), latitude letter, speed,gps heading, satellites, gps checksum.

Please advise how can i get them. It would be very nice if you show me example.

Thanks!
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
GSM Modem. GSM connection. netsun Mobile Java Networking & Messaging & Security 0 2004-10-11 14:55
SMS:CDMA to GSM ramana117 General Messaging 0 2004-03-18 10:16
ATcommands for 6210 & GSM modem, r they similar? mauve928 General Messaging 2 2003-12-04 10:01
Nokia phones and GSM AT commands Misty_ General Discussion 0 2003-07-04 11:44

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d162470X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZlocationQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qfnZuserE5ftagQSxlocationE2dbasedE2dservicesX qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ