How do I start the GPRS connection? - Networking

Hello,
I am a Java programmer, usually on PC, lately on PDA using Jeode JVM on iPAQ, and yesterday I implemented my program on XDA (QTek 1010).
My problem is that the GPRS doesn't load automatically like it does on iPAQ with AirCard modem - you have to connect manually using Start -> settings -> connections -> connections -> connect.
Also, when you use the phone, the GPRS is disconnected, and you have to go through this long path again.
I have downloaded the SDK (60MB), but I don't know how to operate it...
I'm sure it's just a simple one line function call, so if someone has a link, wrote, or can make me a program that just connects to the GPRS and that's all, I'll be very thankful...
Alternatively, please instruct me on how to use the SDK and I'll create it myself.
Thanks in advance,
Moti Pinhassi
Cav Systems

Related

Starting up GPRS connection

How can I programatically initiate a GPRS connection on an XDA (using EVB)?. I have a program which works when the connection is up (started using explorer) but fails when down. Would I do it using the TAPI?
Martin
I think you should have a look at the Connection Manager API.
I don't have any EVB sample code for you, but take a look at the PocketPC 2002 SDK sample CMHELPER usualy found at this path if you have eVC and the SDK installed:
C:\Windows CE Tools\wce300\Pocket PC 2002\samples\mfc\CMHELPER
BTW, you can download the SDK from www.pocketpc.com ...
here is the solution
I also was lookinf for this solution forever and never found it so i wrote the software myself. Here is the dll that you need to connect to the internet through evb it connects to the default connection no problems.
http://xdaconnect.wastedbrains.com
have fun,
Dan Mayer
Not knowing anything about C++, is there a simple way to open a GPRS connection with just eVB?
danmanmayer, can you send me the sources?
Or maybe somebody knows URL where can I found info about it?
Thanks in advance
SapphireRAS does all this and more.
Connects/Disconnects via GPRS using eVB or VB.Net
Create and manages connections, locations etc.
See www.sapphire-solutions.co.uk

Program to handle GPRS automaticlly

I would like a program that can do the following:
The main purpose is that the program should be 100% automatic and will after a easy configuration be left alone and handle GPRS to be online whenever there are GSM/GPRS available.
* Create a connection (in system/connection) automaticly from a file or something.
* With the created connection above, the program should automaticly connect. From suspend mode and after a soft reset.
Anyone knows a good program that can do this or a great programmer that can supply features like the above (and more).
Best regards
Zomen
advise
1. use ConnMgrEstablish to establish GPRS connection
2. Create a hide window to received message when the connection status changing.
3. soft reboot issue: writting a service to these or config the target device to run your app at startup time.
4. active device on suspended state mode: try API CeSetUserNotification
Hi Zomen,
I think you will need to look at Connection Manager API. It handles all low level connections on the device, including GPRS. It can be found here -
http://msdn.microsoft.com/library/d...s/apippc/html/ppc_cnmn_connection_manager.asp
And here is an example -
http://www.codeguru.com/cpp/w-p/ce/pocketpc/article.php/c7355/
Cheers,
Dav
Thank you for the answers but how about using RAS to make the connection?
And remember that the purpose of the application is to work on a Mobile 5 device.
/Zomen
hi,
Hmm, I think it should be ok to work on Mobile 5, but I have only been using 4.21 so cant be sure. However, there is a helper sample which comes with Embedded Visual C++ 4. If you have EVC4 You can find it here -
C:\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Samples\Mfc\Cmhelper
And there is further information here about the sample here -
http://msdn.microsoft.com/library/d...s/guide_ppc/html/ppc_about_cmhelpersample.asp
You can use the sample to build a GPRS connection exe which will handle GPRS connections for you. At least on 4.21, havent tried on Mobile 5.
Cheers

RAS connection - how do I do it?

I want to make a connection to a server either via GPRS or via Activesync when cradled.
I used to use the API call RasDial on an old Windows CE 3.0 programme but this does not appear to make a connection under WM5 and fails to dial up a GPRS connection. It opens the port, etc but fails to dial.
Is there a simpler way to make a connection? Do I simply try to open a TCP/IP connection and the OS does it for me?
Any and all ideas appreciated!!
Dave...
Use Pocket PC connection manager API to make
a GPRS connection. That is the PPC way. RAS API
can be used but connection manager is better for
some things.
Houser
Houser said:
Use Pocket PC connection manager API to make
a GPRS connection. That is the PPC way. RAS API
can be used but connection manager is better for
some things.
Houser
Click to expand...
Click to collapse
Thanks. I found a sample of how to do this in the SDK so I will modify my code to use this instead and see if it all works.
Dave...

Internet via USB/Computer Inet Access

Hiho,
Somehow I dont manage to get into the internet thought my USB Cable and the Computers Inet Connection, allthought I have set the option in Active Sync (4.5 Beta)...
Do I have to do additional things?
Using Jesters 3.3 AKU ROM...
Greets
Oliver
Well my friend to tell the truth,I tried doing that for 2 days (since I bought my little machine) and still can't do it...When my brother had Qtek 7070 I just pluged in and Internet worked...But now...well,troubles...PLEASE GOOD PEOPLE IF SOMEONE CAN HELP US WE WOULD BE GREATFULL...Greetings!
I am not sure if there is something specific for the 3.3 ROM (or any other custom ROM) but here is what you normally do:
First, make sure that in Settings->Connections->Connections->Advanced->Network selection->Programs that connect to the internet use...
you select 'My ISP'.
Then in PC side Activesync->Connection settings (right click the tray icon) select 'This computer connects to' -> 'The internet'.
Now make sure all firewalls are off or check MS site on how to allow ActiveSync for your firewall (this includes XP built in and 3rd party firewalls).
Hope this helps.
Sadly no success....
Prob with Internet connection
Hi everbody,
i've got a problem with my xda neo too. There is no way to use the pocket internet explorer or the wheater plugin from www.pocketnavigation.de, but icq works. There is no possibility to use the net via ActiveSync (4.5) or via W-LAN. But on both connections i could ping the device.
It seems that there's a problem with the device, but i don't know, where i should look to solve the problem.
Please Help!!!!
Karsten
I had the same problem with my O2 XDA Neo. It manifested as "error report NoXXXXXX" when I try to open the page in PIE.
Recently I find an Registry Add that solved my problem. Download to desktop and add it in PC registry (not PPC)
Hope that will help!

How to prevent phone from using certain connections?

Hi,
I have a Windows Mobile 6 Standard based phone (actually an HP one called IPAQ 514) and would like to configure its connections.
What I want is that my phone does never connect to the internet by my phone provider but only with WLAN and Bluetooh. This means I want to disable the internet by my provider completly. Is this possible?
The setting should be used for all applications on the phone and also for those I'll install in the future. Currently I removed GPRS connections, except for MMS and I removed "DFÜ" (German). Anything more to do?
How to set up Internet Explorer?
Thanks for your help in advance.
Greetings,
Andreas Balzer
I don't want to go online through my provider either so I simply deleted the media net profile on my phone. Not sure how your HP works, but something along those lines should work.
if you want better controll, you can leave all dial up/gprs connections in there for moment when you really need it, and just disable and enable the one you need. this is simple small utility, which do the trick - modaco no data - http://www.modaco.com/content/pocket-pc-software/246171/new-free-utility/

Categories

Resources