Controlling GPRS settings from withing a program - Windows Mobile Software Development

Hi,
I'm writing some software that needs to send data over the internet using GPRS.
The problem we've had in the past is that users of our software would play with the gprs connections settings or fire up the wap browser or something and that would prevent our software from connecting properly.
What I'd like to be able to do is manually connect to gprs from within our program but specify our own settings for GPRS rather than leaving it up to the connection manager.
I've been exploring TAPI and the lineXXXX functions, but I get the feeling this is a dead end....
If it makes a difference, our original software was written for the XDA1 but I'm writing the replacement for the XDA2 and have access to all the new fancy stuff in PPC 2003
Cheers in advance for any help you can give,
M

Related

MDA III - Newbie Set-Up Confusion (MSN Messenger)

Hi,
picked up a shiny new MDA III yesterday afternoon having switched providers - number transfer in progress - so I'm new to both the handset and the provider.
Managed to get the unit hooked up to my home WiFi network pertty simply etc and got the Active Sync sorted etc.... other than the fact the GRPS isn't configured out of the box, I've got a single major bugbear to sort.
That is that I don't seem to be able to get MSN Messenger to connect.
It's exhibiting exactly the same symptoms suggested here.... http://support.microsoft.com/default.aspx?scid=kb;en-us;832515
... but obviously the refers to a previous OS version ?
So, either I have something to fix or unlock in the set-up, the port is blocked on the handset (works fine on my laptop on the same WiFi through the same firewall) ?
Had a search through the forums, but to no avail. Can anyone help me on this ?
Are there any recommended patches/fixes I should have installed straight from the off ?
Thanks in advance !
Matt
OK, just so you you don't think I'm totally clueless, from what I've just been reading in the T-Mobile online manual, I have to have the GPRS connection open to connect to Messenger.
Is this right ? Surely if I have a active WiFi connection is should be able to connect using that, right ? Will it connect via GPRS and then pass it over to WiFi ?
I'll have to check it when I get home to see if I can resolve it in that way.
Any other tips gratefully received !
Matt
I'm using Messenger with a CSD (GSM) connection because it's part of my allowance. Sorry but I haven't tried WiFi yet.
I'm having the same problem.
MSN Messenger works fine using GPRS but fails to login using my Wifi connection.
What's even weirder is that it works ok when docked (ActiveSync)!!!
I'm using MDA III on T-Mobile (UK)
Anyone got any ideas?
I've tried replicating this issue, but on my XDA IIs over WiFi, it connects to messenger no problem... it doesn't even try to initiate a GPRS connection first. I can only assume that the MDA III is configured slightly differently out of the box.
As a thought, you might want to double-check Connection Manager and see which type of connection is set for programs that automatically connect to the internet
Ok, home and finished doing the set-up.
I've found no way of using MSN by any other protocol than GPRS. If you are WiFi atached and attempt to use MSN, then it will drop the WiFi connection and instead pick up GPRS. And obviously you're on for .075p per kb... which might be the real answer in why T-Mobile have set-up the device in this way.
The 'programs that automatically connect to the internet' doesn't seem to allow you to select WiFi as the default connection, only the range of GSM/GPRS options and the 'My Work' one.
Should I use the 'My Work' VPN option and set that up to use WiFi ?
If anyonebody has got any tips on how to set or hack this... seems there are a few of us that might benefit !
Just out of curiosity: if you go into your WiFi manager, have you specifically told the device that the WiFi card in your MDA III connects you to "The Internet"?
I can't recall whether that was the default setting before I set up my wireless network connection on my IIs... it seems like such a no-brainer, but it could assume that your WiFi connection is to a work network etc.
I'm at work and it 's at home.... but I'm adamant that that it knows that the WiFi connection connects to the Intanet. As you say, I think that it is the default setting
However, I will check !
Any other MDA III owners shed any light on this ?

Problems after o2 Rom Upgrade

I have had a couple of problems with the upgrade to the new o2 rom.
1) I can be actively connected to a wireless lan network, but connecting to the internet will always default to the 3G option even though I have a good wireless lan signal. O2 data support now want me to do a hard reset...so prefer to see if there are any other options available.
2) My Pocket Plus icons will occasionally revert to the traditional windows icon so that one cannot determine which program is behind the symbol. Soft resetting may clear this, but not always...Yet for all this I have plenty of memory, both storage and program.
I am therefore wondering whether there are some conflicts with the new rom and my applications such as Pocket Plus...Also there is apparently no option on the exec to prefer the wireless lan as a default way of connecting to the internet...
Any advice much appreciated before I do another hard reset.
Thanks.
I've had issues with the Connections in both 2003 and 2005 - my solution to the problem you describe was to:
1. Setup the "My Work Network" to use the settings from "My ISP" rather than the "O2 Active" settings.
2. Ensure that it has the "This network connects to the Internet" enabled, and "This network uses a proxy server to connect to the internet" disabled.
3. Select "My Work Network" for both options under "Select Networks".
This should basically give you a system that will use Wireless if available, or 3G if not.
Cheers,
Steve.
Thanks, sorted wi-fi connection
Yep, had the wireless network connected to 'work' rather than 'the internet', so its back working as it should. Disappointingly O2 data support could not have told me that and with your help I was saved a needless hard reset. Just need to sort out the icon situation, but perhaps that is more of a software conflict...

Idiots or Dummies guide to PDA network settings

I am reasonably intelligent but get a complete mental block when I go into the WLAN settings of my Artemis.
I simply want to know what I have to do to get my PDA to connect to the Internet either through my Active Sync connection or WiFi without having to decide what the connection is called
Work
Internet
Other
etc
Have been into START>SETTINGS>CONNECTIONS but am confronted by so many connection types that i do not know where to start !!!
My biggest frustration is that I cannot even find my ARTEMIS MAC address so that i can set the MAC filter to allow my Artemis access to the WiFi hub at work!!

WM6: BBconnect Blocked when using the internet or Activesync?

Picked up a softbank X01HT today, my first WM device. It was lots of fun upgrading the Rom to Schaps 4.01 and getting bbconnect 4.0.0.91 working. Everything is great and this appears to be the device of my dreams!
One thing I've noticed though is that if I'm plugged into the USB to charge and activesync enables, the bbconnect service is blocked... likewise if I use the internet.
Any advice if these two scenarios can be overcome?
Thanks for a great community and awesome info!
You can't bypass it while utilizing activesync. As for the internet you have to use the browser that installs when you first initialize blackberry connect otherwise all other browsers will use your internet settings rather than the blackberry connect ipn. You may be able to configure it so that other applications use the bb ipn but since I no longer have my hermes I don't recall if you can. Maybe someone that has bbconnect with their hermes can chime in.
most, if not all carriers seem to not like multiple APNs running although WM6 can handle it.
What is happening is you are not using ActiveSync to surf, rather your mobile network, which shuts down the BN APN for your standard internet
The only time I am able to use both BBConnect and IE is when I am connected to WiFi. Somehow, WM6 establishes connection to WiFi access point and yet BBConnect is still connected to the BB APN.
Strangely I suddenly cannot access the internet at all, is there a way to force the browser to use my Rogers GPRS connection to access the web instead of the BB apn? It is staying on now even when I try and access the internet. Thanks!
Actually I figured it out. If I use the default browser in WM6 it goes nowhere but if I use the Internet Browser in the blackberry program folders I'm fine on the BB apn.

[Q] Wi-Fi & Apps

Hi there,
I am using my friend's old HTC Touch Pro 2 as my phone decided to jump into a glass of water.
I have set everything up but my apps (facebook, marketplace, ...) don't seem to use my wifi. I have tested this by turning off my 3G connection and trying the apps. They report, that I have to check my internet connection.
Under Wireless controls > Menu > Connections > Advanced > Select Networks there is a choice of what connection should be used for programs that connect to the internet automatically. But as I go further into these settings it only allows changes for the 3G connection. I'm not sure if this is even the correct settings.
Can anyone shed any light on any kind of solution?
Thanks in advance.
In 2015 still no answer - and I have the same probleme on my HTC TOUCH PRO2 (RHODIUM100).
Hopefully there is a genius that can answer this now
JBJ
In connection manager - did you check if wifi is turned on?
Hi B-44, yes and i have no probleme connecting and surfing the net with opera or IE.
I looked further in to this, so when I go to settings>All Settings>Connections:
In advanced Network I have turned OFF both HSDPA and HSDPA/HSUPA by choosing disable - Don't like extra charges, since I don't have data plan on this number.
In Comm Manager, only Phone and Wi-Fi is ON
In Connections, there is only these options:
Add a new modem connection
Add a new VPN server connection
Set up my proxy server
Still in Connections>Advanced>Select Networks>Network Management> "Programs that automatically connect to the internet should be using:" The options are:
Lebara MMS
Lebara Internet
My Work Network
My ISP
Lebara is my phone company.
- Dailing rules
- Exceptions
-- None that I can see has anything to do with Wi-Fi. Its mostly modem or VPN. I can't add a Wi-Fi connection here unless its something cryptic as setting up an VPN or Proxy server.
Facebook, wAppstore, Windows Live, Youtube, twitter - can't connect.
Opera, IE, Bing, GetJar - can connect without trouble.
I can login to Facebook through Account Manager, but the App installed won't connect to the net.
I'm a bit lost here How is your phone set up?
JBJ
Will take a look.
btw- which system is your Rhodium running with?
WM 6.5 Professional - CE os 5.2.21887 (Build 21887.5.0.86)
I had asked just to be shure...
Now- i don't really have a solution.
As your browsers work using wifi it may be the apps.
On my wm phones i used to install SPB weather.
Some months ago on all of them SPB data update started to fail
and never ever worked again. No matter if on wm5, 6.0 or 6.5.
I couldn't find any hint or solution.
If you search the web "windows mobile facebook supported" you'll find
some entrys which won't please you.
I presume there's no solution to us using wm.
Hi again, actually I'm not so concerned about FB since I hardly use it - its more the other apps that concerns me. Like the Wappstore, Omarket, and so on, I just added FB because its built in. It would seem that there are programs that cannot, use Wi-Fi - but rather want to use 3G.
Is there someone in this forum who know how to make a registry fix or program(.exe or .cab) to re-direct programs to Wi-Fi instead of always going for the 3G net? I would be nice with a switch where you can flip between 3G and Wi-Fi, just like the Curvefish 3G On/Off widget for android http://curvefish.com/widgets/2g3g-onoff.htm
With kind regards
JBJ
I'm still searching When I have a solution I will post it here
Thanks for you effort
With kind regards
JBJ
Hi, I never found a solution - so I guess you need a data plan to use this phone with the FB and other apps that don't like to use wi-fi.
With kind regards
JBJ

Categories

Resources