Note that there are some explanatory texts on larger screens.

plurals
  1. POskydrive api windows phone 8
    primarykey
    data
    text
    <p>Has anyone else had an issue with the SkyDrive API for Windows Phone 8? I am upgrading my Windows Phone 7 code to Windows Phone 8. When I click on the Login button (SkyDrive) I get the following screen:</p> <p><img src="https://i.stack.imgur.com/mP5M7.png" alt="enter image description here"></p> <p>This code (unchanged from WP7) used to work in VS2010. Is anyone else having this issue? Is there a newer version that I should use (current ver. v2.0.50727)?</p> <p>Current XAML:</p> <pre><code> HorizontalAlignment="Left" Margin="308,71,0,0" Name="signInButton1" VerticalAlignment="Top" Width="160" ClientId="[myID]" Scopes="wl.skydrive_update" TextType="SignIn" SessionChanged="btnSignin_SessionChanged" Branding="Windows"/&gt; </code></pre> <p>Login code-behind:</p> <pre><code> private void btnSignin_SessionChanged(object sender, LiveConnectSessionChangedEventArgs e) { if (e.Status == LiveConnectSessionStatus.Connected) { client = new LiveConnectClient(e.Session); infoTextBlock.Text = "Signed in."; client.GetCompleted += new EventHandler&lt;LiveOperationCompletedEventArgs&gt;(OnGetCompleted); client.GetAsync("me", null); for (var i = 0; i &lt; this.ApplicationBar.Buttons.Count; i++) { var button = this.ApplicationBar.Buttons[i] as ApplicationBarIconButton; if (button != null) { if (button.Text == "Upload") { button.IsEnabled = true; } } } } else { infoTextBlock.Text = "Not signed in."; client = null; } } </code></pre> <p><strong>UPDATE!</strong></p> <p>I kept on trying and I was still getting this white screen. However, I clicked on the magnifying glass and then hit the back arrow (it resumed) then tried to login again and it worked. So is this just wonky or what?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload