Quantcast
Channel: Ignite Realtime : Unanswered Discussions - Support
Viewing all articles
Browse latest Browse all 4979

XMPP cannot be instantiated (Begginer's questions)

$
0
0

So I'm following this tutorial (http://developer.samsung.com/android/technical-docs/Building-a-Chat-Application) to make a ver basic app using aSmack. I downloaded the latest version of asmack but I'm getting the error "XMPPConnection is abstract; cannot be instantiated" in the last line of this, at the new XMPPConnection part:

 

ConnectionConfiguration connConfig = new ConnectionConfiguration(HOST, PORT, SERVICE);
XMPPConnection connection = new XMPPConnection(connConfig); 

 

I tried using XMPPTCPConnection instead, and I get "Unhandled exception" errors when using the XMPPConection elements.


Viewing all articles
Browse latest Browse all 4979

Trending Articles