views:

1061

answers:

1

I am using standard 3G connection for video streaming. "Streaming Media" application works fine.

However after I connect my WinMo 6.1 device to my laptop, it uses Internet connection over ActiveSync. And my laptop is behind firewall, etc. The video streaming stops working correctly. However I need ActiveSync connection for debugging, file uploads.

How can I force my WinMo 6.1 (HTC) to use 3G / HSDPA for all Internet traffic when having ActiveSync connection open.

Update: "Streaming Media" application is configured to connect via my 3G network.

Update2: At least for my application, calls to ConnMgrMapConRef and ConnMgrEstablishConnectionSync (to choose required connection) solved the problem.

Update3: Some useful links to Connection Manager API.

A: 

I haven't tried that out myself, but have a look at Connection Manager. It seems that you can configure an application to use a specific network (link).

Have a look also at the Microsoft.WindowsMobile.Status Namespace that will allow you to get notifications, when ActiveSync is connected.

If it is only for debugging, I would first try to do it with configuring the phone. Try to change Internet Explorer's connection settings, not to automatically detect network.

kgiannakakis