Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

Cannot instantiate the type XMPPconnection

$
0
0

   

Context context = getApplicationContext();

SmackAndroid smak = SmackAndroid.init(context);

 

private XMPPConnection connection;

ConnectionConfiguration config = new ConnectionConfiguration("localhost", 5222);

connection = new XMPPConnection(config);

connection = new XMPPConnection("jabber.at");

 

Above 2 lines give me the same error: "Cannot instantiate the type XMPPconnection"


Viewing all articles
Browse latest Browse all 10742

Trending Articles