Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


HTTP Lib problem


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-02-2007, 08:59 AM
Junior Member
 
Join Date: May 2007
Posts: 13
Default HTTP Lib problem

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
Reply With Quote
  #2 (permalink)  
Old 06-02-2007, 10:54 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,956
Default

Do you see any error message?
Reply With Quote
  #3 (permalink)  
Old 06-02-2007, 11:04 AM
Junior Member
 
Join Date: May 2007
Posts: 13
Default

Nope, acts like it posts but it don't.
When I connect it to Activesync it works again.
Reply With Quote
  #4 (permalink)  
Old 06-02-2007, 12:07 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,956
Default

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.
Reply With Quote
  #5 (permalink)  
Old 06-04-2007, 10:57 AM
Newbie
 
Join Date: Jun 2007
Posts: 2
Default

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
Reply With Quote
  #6 (permalink)  
Old 06-04-2007, 03:49 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,956
Default

There are some examples of using web services in the forum and here: www.basic4ppc.com/Downloads.html (currency example)
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
HTTP library v1.3 Erel Official Updates 1 03-15-2008 10:57 AM
HTTP Post nsidney Questions & Help Needed 4 01-30-2008 09:52 AM
HTTP library help agraham Bug Reports 1 01-07-2008 10:15 AM
Authentication with HTTP libarary problem agraham Questions & Help Needed 6 12-25-2007 11:50 AM
HTTP.DLL Example - WHOIS alfcen Share Your Creations 2 06-04-2007 11:42 AM


All times are GMT. The time now is 11:05 PM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0