HTTP Lib problem

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

  1. Lasse

    Lasse Member Licensed User


    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
    url1 = ""
    url1 = url1 & GPS.DecimalLongitude & "&latitude=" & GPS.DecimalLatitude
    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!

  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

    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice