I downloaded the windows phone 8 sdk and the sharepoint windows phone sdk.
Both installed fine.
But whenever I try to create a clientcontext and connect to a sharepoint (on premise and online) I just get the message in the execute query failed: Unable to connect to the site 'my url'. Please check that the network is available and the url is correct.
I tried both sharepoint online and on premise. Has anybody experience with the windows phone sharepoint sdk and can tell me why i cannot get a connection?
here is my code:
ClientContext ctx = new ClientContext("https://url/");
Authenticator auth = new Authenticator();
ctx.Credentials = auth;
web = ctx.Web;
ctx.Load(web);
ctx.ExecuteQueryAsync(LoadOK, LoadFailed);