This project is read-only.

SharpBox doesn't work on WP7

Dec 30, 2011 at 9:06 PM
Edited Dec 30, 2011 at 9:08 PM

Hi.

You announced WP7 DropBox experimental support but your code doesn't work with DropBox on WP7 (device or emulator). How do you test it???

Actually, current code just completely blocks current thread execution and thats all.

I think you should remove the false announcement or at least fix SharpBox code (actually, seems like you need a complete code refactoring 'cause you are using synchronous http calls but WP7 requires asynchronous work.

Thanks.

Jan 31, 2012 at 10:07 AM

You must run this code in backend thread, like this:

Thread thread = new Thread(() =>
{
  //example DropBoxStorageProviderTools.GetDropBoxRequestToken(...
  //...
});
thread.Start();

but there are other problem with Token serialization, it cannot be serialized to isolatedstorage