Question on Thu, 13 Dec 2012 19:18:41


It is related to another question, but I prefer to open a new one to be clear.

I'm moving an existing application from wp7 to wp8. This application downloads file from skydrive by using live api, and everything seems ok. I mean that I have application migrated and running. 

The fact is, live api between wp7 and wp8 seems to be changed because now (in wp8) downloading a file using BackgroundLoadAsync seems to create a BackgroundTransfer that waits for power and wifi.

I was trying to change these default values and to disable this limitation but I couldn't find any way to do it.

Any idea?


Dave Hunt (ProfEclipse) on Thu, 13 Dec 2012 20:40:24

This would appear to be a problem in the Live SDK. As far as I can tell, there is no way to set any options for the background transfers that it starts. It seems that they are defaulting the TransferPreferences to TransferPreferences.None, which requires power and wi-fi. I would suggest posting in the Live Connect Forum and see if you can get any help there. on Thu, 20 Dec 2012 12:55:50

see here

Dave Hunt (ProfEclipse) on Thu, 20 Dec 2012 15:39:59

That's kind of funny because there is no BackgroundTransferPreferences property mentioned in the API docs for the LiveConnectClient class. In fact, a search of the entire Live Connect Dev Center for BackgroundTransferPreferences returns a single result - the post you linked to.

Dave Hunt (ProfEclipse) on Thu, 20 Dec 2012 19:36:31

To put closure to this, I asked about the documentation in the thread you linked. They responded that this was a new feature and it appears they forgot to update the docs. They'll be taking care of that in a future doc update.