Click here to Skip to main content
15,888,521 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
here am creating a chat app in wp8.1 using openfire and ags xmpp
i cant create connection and object y?

my code..




using System;
using System.Collections.ObjectModel;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Navigation;
using Matrix.Xmpp;
using System.Net.XMPP;
using Matrix.Xmpp.Client;
using Matrix.Xmpp.Sasl;
using agsXMPP;
using agsXMPP.protocol.client;
using agsXMPP.protocol.iq.roster;
using agsXMPP.protocol.iq.vcard;
using agsXMPP.Collections;

// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=391641

namespace agsxmpp_demo
{
  
    public sealed partial class MainPage : Page
    {

        public string Jid_Sender = "sree1";
        public string pw = "sree2";
        string uname = "aps";
        string server = "taurus";



        Jid obj_jid = new Jid();  //here i cant pass jid_sender

        agsXMPP.XmppClientConnection con = new agsXMPP.XmppClientConnection();

        // con is not coming here why? what mistake i made?/?


        public MainPage()
        {
            this.InitializeComponent();

            this.NavigationCacheMode = NavigationCacheMode.Required;
        }



       
     



        

        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            
        }

        private void Button_Click(object sender, RoutedEventArgs e)
        {

        }
    }
}
Posted

1 solution

You already posted this at Help !!!!Me Openfire Server Connection Using Xmpp Showing Error!! I Cant Fix Pls Help[^]. Please do not repost the same question.
 
Share this answer
 
Comments
[no name] 28-Sep-15 7:57am    
i didnt get any solution thats why
Richard MacCutchan 28-Sep-15 8:26am    
Maybe there is no answer, or maybe your question is not clear. Please read http://www.codeproject.com/KB/FAQs/QuickAnswersFAQ.aspx. And if you have further information to add then please edit your original question, do not repost the same one.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900