我正在我的 Windows 手机应用程序中集成 SkyDrive。每次在 signInButton_SessionChanged 中登录屏幕后,它都会给我 e.Status = Unknown with e.Error = ""。我尝试下载一些 SkyDrive 集成示例 http://rabeb.wordpress.com/2012/01/07/using-skydrive-in-your-windows-phone-applications-part-1/ ,但结果相同。
private void signInButton1_SessionChanged(object sender, Microsoft.Live.Controls.LiveConnectSessionChangedEventArgs e)
{
if (e.Status == LiveConnectSessionStatus.Connected)
{
session = e.Session;
client = new LiveConnectClient(session);
infoTextBlock.Text = "Signed in.";
}
else
{
infoTextBlock.Text = "Not signed in.";
client = null;
}
}
我也尝试在 Live 帐户上更改 App ID,但没有任何帮助。请帮忙。