HTTP Lib problem

Discussion in 'Questions (Windows Mobile)' started by Lasse, Jun 2, 2007.

  1. Lasse

    Lasse Member Licensed User

    Hi,

    I hvae used your great GPS example, but I would like to post the coordinates to my server.

    It works perfect when the PDA is connected with Active Sync.

    But it does not seem to work if the PDA is connected via GPRS.

    I have chekked that IE on the PDA works with the GPRS.

    Also is it possible to get the program to initiated the GPRS connected if it is not online ?

    I'm using a Symbol MC35 with WM 5.0

    My code is like this:

    Sub Button2_click
    Response.New1
    url1 = "http://gpstrack.xxx.dk/?domain=lasse&device_id=test&longitude="
    url1 = url1 & GPS.DecimalLongitude & "&latitude=" & GPS.DecimalLatitude
    Request.New1(URL1)
    Response.Value = Request.GetResponse 'This line calls the server and gets the response.
    End Sub

    If anyone can help me that would pe appriciated a lot!

    Thanks
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Do you see any error message?
     
  3. Lasse

    Lasse Member Licensed User

    Nope, acts like it posts but it don't.
    When I connect it to Activesync it works again.
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    There should be no difference between wifi, GPRS and activesync connections.
    Maybe the data gets blocked by your service provider.
    You could also try to use the PUT method (upload the data using the stream).
    Most devices should automatically start a GPRS connection when you call the Request.New1.
     
  5. maxparsons

    maxparsons New Member

    Hi
    I am interested to know if it will be possible to use googlemaps for mobile with your language. what i want to do is recieve e-mails containg gps information and to plot the position on a map and create a snail trail
    how would i be able to incorporate google earth maps
     
  6. Erel

    Erel Administrator Staff Member Licensed User

Loading...