launch gprs programatically - JAM, MDA Compact, S100 General

Hi all
I have a evb program which i want to be able to launch gprs programatically. any suggestions please. would also like to check for gprs connection state; and if off to re-launch it by software. all without the user needing to press the G. thanks.
ajanamanan

Related

Internet Connection Problems

Hi All
I cannot get my application to create a GPRS connection when it starts. For example when Pocket IE starts it requests a GPRS connection and a new connection is created. I somehow cannot get that programatically using J2ME - java application. I cannot call the connection manager api from within j9.
I was wondering does anyone know of a simple exe programme that I can call which will create a GPRS connection.
There are many resources detailing how to create a GPRS connection
http://www.pocketpcdn.com/articles/conn_mgr.html
But I am stuck as how to do it as I only know Java.

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

XDA Atom - My GPRS connection start by itself! How stop it?

Hello.
I need your help since my Atom is lauching the GPRS connection without any instruction to do that.
I closed all the resident memory programs but still go on dialing!
How can I avoid the connection start withouth promptin it or only if I need it?
Thank You
Regards
There must be some program you have installed that's initiating it. I would suggest that you did a hard reset (after backing up your documents and contacts, of course) and then install program after program, testing a while after the installation, to see what the offenting app is.
same problem for me
Moved to proper section
Main reason
EMAIL - once an account is setup it will auto connect to internet for new email, default every 2 hours, but Windows Mobile do not disconnect GPRS after trying to get new mails.
ACTICE SYNC - if you have setup connection to EXCHANGE SERVER eg, google push server.
wil also auto connect all the time
Down side of Microsoft is that they didnt design to disconnect after trying to get email like Symbian(Nokia) do. so other manufacture will offer to design their comm manager to disable data auto connection but O2 & Quanta didnt go to the extend to offer this function back then.
Download NoData from http://forum.xda-developers.com/showthread.php?t=467813
toggle to DISABLE GPRS
this will stop auto connection to GPRS but it may stop receiving MMS as MMS also require GPRS connection.

Help Needed: How to track UMTS/GPRS data usage like Spb GPRS Monitor?

While developing my application LCMinutes, I encountered a problem. I can not find the right way to monitor the UMTS/GPRS data usage. But I know there must be a way to do that, bacause Spb GPRS Monitor can do that.
I have tried the Registry key HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Shell\\CumulativeCallTimers\\Line_0, which has only outgoing data traffic, and seemingly tracks only part of it.
I have also tried RIL_GetPacketByteCount(), but for which I got an error E_NOTIMPL (0x80004001).
And I have searched through the Registry, Telephone API, Phone API, Network API, and Connection Manager, I just can't find any related interface.
Can anyone help me out? Thanks a lot.

Any utility to kill Media Net data connection on HTC Diamond?

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.

Categories

Resources