Subject: example in the MatriX WP7 release: can't connect!
Trying to run the example in the MatriX package for Windows Phone 7. It deploys and starts on the emulator without any error. An Evaluation Dialog pops up when the Connect button clicked. Click the OK button on the Evaluation Dialog and then there's nothing going on! Then I traced it and find that xmppClient.Open() returned without error but after that we never get the _onLogin() event happen!
Anyone could show me some clue?
Thanks in advance.
private void cmdConnect_Click(object sender, RoutedEventArgs e)
{
xmppClient.Username = "danny"; // my user name
xmppClient.Password = "12345"; // danny's password
xmppClient.XmppDomain = "xxxxx.com"; // xxxxx.com is the domain of my Openfire 3.7.0 server
xmppClient.Uri = new Uri("http://xxxxx.com:7070"); // Http binding is enabled on Openfire and port set to 7070 by default
xmppClient.Show = Show.dnd;
xmppClient.Status = "Testing on Windows Phone 7";
xmppClient.Open();
}
{
xmppClient.Username = "danny"; // my user name
xmppClient.Password = "12345"; // danny's password
xmppClient.XmppDomain = "xxxxx.com"; // xxxxx.com is the domain of my Openfire 3.7.0 server
xmppClient.Uri = new Uri("http://xxxxx.com:7070"); // Http binding is enabled on Openfire and port set to 7070 by default
xmppClient.Show = Show.dnd;
xmppClient.Status = "Testing on Windows Phone 7";
xmppClient.Open();
}
Anyone could show me some clue?
Thanks in advance.