Perhaps this is a relatively simple task, but I just don't have the programming prowess to do it.
I'd like a simple executable that will open my default dial-up data connection (GPRS/EDGE/1xRTT/EVDO/etc.). I don't want the registry hack where I have an always-on connection, and some applications are not smart enough (i.e. Resco Explorer's FTP add-in) to start a dial-up session when it wants to connect to my FTP, for example.
The program you'd design wouldn't have any notification or dialog; just open a data connection, then exit cleanly.
I'd assign this to a button and basically hit it on demand.
Of course, if beggars can be choosers, I'd like the same executable to have the option to automatically disconnect the data connection when one exists.
Any takers?
Raphael: I think VJVolublis does this. It says GPRS, but it should open your default data connection, whatever that is.
I can make it show no UI (ie no popup balloon to show dialing), but I enabled this by default to give you some indication that you're connecting up, so you don't do it by accident.
It'll also disconnect or toggle connection.
Let me know if it fries your phone!
V
It is working with your 0.4 version vijay...
Thanx a lot
Related
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
I noticed that some programs wont establish a GPRS connection automatically. eg Minimo. Is there anyway to set it so that whenever any program wants to access the internet, it will activate GPRS? Or is this just that some programs dont have that ability. I have unlimited data so im not worried about the bills.
I have sbsh pocxket weather or whatever its called. You can set it to use the 'connection manager' or not. If it does, it will force connect if not connected and use whatever proxy settings you may have. If you dont use connection manager it will not force a connection and will not use any proxy settings you may have, unless they are setup in the program itself. I guess its all in the program design whethere or not apps will force a connection or not.
Hi, I have two apps that are using local 127.0.0.1 IP to communicate.
Each time the two apps are connecting to each other WM is opening an GPRS/3G/DATA connection !
This is a pain as DATA connection are very costy ! Then I have to manually close the connection and the two apps are still talking together.
So, is it possible to prevent this auto-connect "feature" :
- if the IP is 127.0.0.1 (ie. no use to open a data connection for local stuff)
- for all the softs except a white-list (ie. no soft can auto-connect except my browser or mail client)
- or when a soft tries to connect prompt a window to allow to choose the type of connection I wish (Wifi, GPRS/DATA, none ...)
Thanks
You can try using nodata from MoDaCo( http://www.modaco.com/content/pocket-pc-software/246171/new-free-utility-nodata/ ).
Using it you can keep the connections you want disabled until you need them.
Thank you that will do the job
i627
I am new to WM 6.1, How do I achieve this for my phone Samsungi627. I installed this NoData on my phone but when trying to Toggle is says critical error.
anything that i need to do before installing this?
I need a utility that I can call from Mortscript to terminate existing Media Net data connection. From Mortscript manual, the "Disconnect" command does not work any more after WM5 AKU3. I confirmed that this is true. Does anyone know a solution?
Thanks in advance.
Do you want to kill it after you use it, or kill it so you can't use it?
the second is a lot simpler, I use the Modaco NoData Cab as well as schap's advanced configuration tool to block all internet communications except for wifi.
Herbalisation said:
Do you want to kill it after you use it, or kill it so you can't use it?
the second is a lot simpler, I use the Modaco NoData Cab as well as schap's advanced configuration tool to block all internet communications except for wifi.
Click to expand...
Click to collapse
The 1st. It is mainly for iGuidance scripting. With data connection open, iGuidance takes forever to launch. So in the mortscript, I want to terminate the Media Net data connection before launching the iGuidance.
NoData Connection
Hi there .... well I can see you losing money over the automatic data connection .... here is the solution application called NoData.cab ... look for it and it is what I use for now .... it is the best.
NoData: where you can toggle your connections
Instead of doing all that, you can set the data connection's DNS and ALT DNS servers to a fake value. It works for me and iGuidance starts up even with data enabled.
Hello
I'm looking for a program which will ask me, everytime when connection to the internet is needed, which type of connection i want to use. I had before a phone with Symbian system, and I really liked it but i cant find something like that for WM 6.1. Example: I open we browser and enter web adress. Then ppc ask me which type of connection should it use: Wi-Fi or 3G. I choose for example Wi-Fi and network which i want connect to. PPC is connecting, i see the web page which i wanted and then i close web browser - Wi-fi is turned off automaticly. The same with 3G. I believe in your help
I never saw such a tool. However I'm waiting ages for someone to create such a program/service.
For now I would recommend for you to use DialUp Enabler/Disabler or NoData.