Not logged in. · Lost password · Register
Forum: MatriX RSS
New Universal App for Windows Phone
Avatar
ardonjr #1
Member since Oct 2015 · 5 posts
Group memberships: Members
Show profile · Link to this post
Subject: Phone Universal NotImplementedException on Open()
Hi all,

I followed the short manual on how to connect to a service but I get a NotImplementedException when calling the 'Open()' function.
(see attached screenshot)

Here's what I did:
1: I created a new Universal App (Phone and Tablet) in Visual Studio 2013.
2: Add the Matrix (for universal app) library via Nuget
3: Copied the code from the 'how to' to connect.
4: Set the license before I call the Open() function with:
  1. Matrix.License.LicenseManager.SetLicense(lic);

When I now run the code it throws me the NotImplementedException.

  1. Client _xmppClient = new Client(); //new XmppClient();
  2.  
  3. Matrix.License.LicenseManager.SetLicense(lic);
  4.  
  5. _xmppClient.SetUsername("myusername");
  6. _xmppClient.SetXmppDomain("chat.mydomain.net");
  7. _xmppClient.Password = "qwerty";
  8. _xmppClient.Status = "I'm chatty";
  9. _xmppClient.Show = Show.Chat;
  10.  
  11. _xmppClient.OnLogin += _xmppClient_OnLogin;
  12. _xmppClient.Open();
(obviously I modified the username,domain and password)

Love to hear if someone can help me out here.

Greetings and thanks in advance,

Don Heuvelman
The author has attached one file to this post:
XMPP_FOUT.png 70.2 kBytes
You have no permission to open this file.
This post was edited on 2015-10-15, 10:13 by Alex.
Avatar
Alex #2
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
sorry, there was a bug with SRV record resolving functionality which we just added to the WinRT builds.
We have uploaded 2.0.0.9 for WinRT Universal and WinRT.
https://www.nuget.org/packages/MatriX.WinRT.Uni/

Can you please update and try it again?

Thanks,
Alex
Avatar
ardonjr #3
Member since Oct 2015 · 5 posts
Group memberships: Members
Show profile · Link to this post
Superb! Updating the package via Nuget fixed the issue!  :-)
Avatar
Alex #4
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
thanks for the Update. Great to hear that its working now.

Alex
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: MatriX RSS