1

I am developing a Windows RT app. I require the wifi to maintain it's connection state regardless of it's power saving preference since I'm implementing Qualcomm's Alljoyn library.
If the connection state changes, the p2p connection will be terminated.

How can I keep a certain state like Android's WIFI_MODE_FULL. I browsed through the MSDN but couldn't find any enlightment.

Any help is appreciated.

Satinder singh
  • 10,100
  • 16
  • 60
  • 102
EmFeld
  • 227
  • 4
  • 14

1 Answers1

0

Currently there's no direct way to do this, but you may do a workaround. The same that was made for WP7: stream an empty mp3 file from a server. That way the mediaplayer will take care of keeping the Wi-Fi on, but it drains some more battery.

danielrozo
  • 1,442
  • 1
  • 10
  • 22