我正在为我的Windows手机应用程序集成SkyDrive。每次登录signInButton_SessionChanged后,它都会给我e.Status = Unknown,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;
}
}
我也尝试更改App ID ond Live帐户,但没有任何帮助。请帮忙。