How do I disable my Internet connection via ActiveSync?

I am using a standard 3G connection for video streaming. The Streaming Media app works fine.

However, after connecting my WinMo 6.1 device to my laptop, it uses the Internet connection via ActiveSync. And my laptop is behind a firewall etc. Video streaming stops working correctly. However, I need an ActiveSync connection to debug, download files.

How to force WinMo 6.1 (HTC) to use 3G / HSDPA for all internet traffic when opening an ActiveSync connection.

Update: The Streaming Media app is configured to connect over my 3G network.

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

Update3: Several helpful links in the Connection Manager API.

+1


source to share


1 answer


I haven't tried it myself, but take a look at the connection manager . It seems that you can configure the application to use a specific network ( link ).

Look also at the Microsoft.WindowsMobile.Status namespace , which will allow you to receive notifications when ActiveSync connects.



If it's just for debugging, I'll try it with my phone setup first. Try changing your Internet Explorer connection settings rather than automatically detecting the network.

0


source







All Articles