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.

hold on a GPRS-connection

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-09-2007, 09:53 PM
schimanski's Avatar
Basic4ppc Veteran
 
Join Date: Oct 2007
Location: Germany
Posts: 289
Default hold on a GPRS-connection

Hello again!

My Testprogramm takes data from a server and needs a GPRS-connection. Sometimes,
the connection breaks down and i have to set a new connection per hand under the windows-menu/connection. Is it possible to set the GPRS-connection automatically, if the connection is break? I think, that i only can call a number with the new phone.dll, but no internet-connection like ´vodafone.web.de´.

greetings from schimanski
Reply With Quote
  #2 (permalink)  
Old 12-10-2007, 09:08 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,729
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Try to connect to a web site using the HTTP library.
It should connect the default GPRS connection.
Reply With Quote
  #3 (permalink)  
Old 01-15-2008, 04:30 PM
schimanski's Avatar
Basic4ppc Veteran
 
Join Date: Oct 2007
Location: Germany
Posts: 289
Default Open a GPRS-Connection

Hello!!

I'am not able to create a GPRS-connection with the http-libary. I have an URL like "http://web.vodafone.de" over which i want to go in the internet to connect to the IP from a server. Now I want to create the GPRS.connection, when I push a button and close it, when I push another button. The Server-Connection is realised with the network-Libary (client.connect). Whith Request.Getresponse the PPC try to open a GPRS-Connection, but then, the application will stop and I can't break it.




Thanks for help...
Reply With Quote
  #4 (permalink)  
Old 01-15-2008, 04:48 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,729
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Please try to run the attached program and see if it gets the site's data.
Try it with the device connected (ActiveSync) and without.
Attached Files
File Type: zip GetSite.zip (3.1 KB, 68 views)
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
Detect ActiveSync connection Lasse Questions (Windows Mobile) 2 07-27-2008 08:51 AM
Connection between different socket mircome Questions (Windows Mobile) 3 07-19-2008 11:05 AM
GPRS / Dialup - Internet Connection TWELVE Questions (Windows Mobile) 9 06-24-2008 06:35 AM
Hold SHIFT, and press TAB on Desktop app superbabicka Questions (Windows Mobile) 3 04-30-2008 04:52 PM
Force Data Connection #777 WM6.0 Jamie Questions (Windows Mobile) 2 03-03-2008 03:47 PM


All times are GMT. The time now is 06:04 AM.


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