Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) 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: 14
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: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
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: 14
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: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
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: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
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 Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
HTTP library v1.4 Erel Official Updates 2 10-29-2008 09:11 PM
HTTP Bug NEW3 dibesw Italian Forum 5 08-02-2008 12:21 PM
http get JPG to Image mamuen Questions (Windows Mobile) 2 03-26-2008 08:42 PM
HTTP Post nsidney Questions (Windows Mobile) 4 01-30-2008 09:52 AM
Authentication with HTTP libarary problem agraham Questions (Windows Mobile) 6 12-25-2007 11:50 AM


All times are GMT. The time now is 03:15 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0