Wifi Control Windows Phone 8 - c#

I'm building a Windows Phone ( and 8.1 App, which uses a Wifi connection to syncronize some data with a database.
My problem is that I have several hotspots. Can I force my application to use a predefined hotspot?

No, you have no control over WiFi with the current API.

Related

Can windows phone store apps run in tablet?

I am developing new windows phone 8.1
[RT] application working fine , but now my client want to give support to tablet also . Does my application work in tablet or I have to create a universal project ?
Please help me out for this .
Windows Phone 7.x or 8.x apps do not run on Windows 8/8.1/10 "out of the box" - you need to either have a universal app, or share your code (for example as a portable class library) to allow it to also run on the desktop variant of the OS.
If you want your app to run on over vendors tablets (such as Android or iOS) there are solutions that allow some code sharing, but again, you're looking at supporting another codebase to achieve this.

Connect to WPA/WPA2 wireless network with password in Windows Phone 8/8.1 SDK

I have read the Connect to a wireless network in C# question, and I want to do the same thing on Window Phone 8.1 SDK. Could I connect to WPA2 wireless network with password by using wireless profile on Window Phone? And Which methods correspond to wlanIface.SetProfile and wlanIface.Connect
Thanks.
No. Windows Phone generally does not let applications change system settings. The best you can do is open the WiFi Settings page. See Turn Windows Phone Settings On/Off

Get mobile operator in Windows Phone XAML app

My application responds to mobile operator information that I used to be able to get through
DeviceNetworkInformation.CellularMobileOperator;
It seems that this property is not available anymore for the new WP XAML and universal apps.
This information is critical since my application content depends on what mobile operator provider is the user connected to.
Is there some kind of a workaround for this?
Since Universal apps run off the Windows RT platform the DeviceNetworkInformation class is not available.
To use the class DeviceNetworkInformation in your code you'll need to build a Windows Phone Silverlight 8.0/8.1 app instead.

Communication between Windows phone and a desktop application

I want to have a WPF application running on my desktop to communicate with the windows phone. For instance my WPF application should bring all the contacts/messages from Windows phone to local disk. Then I have to store it somehow. But it is the data fetching part which I have to go through first.
Phone would be connected to PC via USB cable. Is there any library available for c# which can give me methods to extract such phone specific data when phone is USB-connected to the PC?

Detect WP7 phone like Zune software

When I connhect my Windows Phone 7 device to my desktop, Zune automatically starts.
I need to develop an application that have the same behavior.
How can I do that?
Thanks.
See this post Start program on usb hardware plugin
So, you need to create a windows service which will polling connected usb-devices and starts your application.

Categories