AnsweredAssumed Answered

4.1 alpha4 issues and questions.

Question asked by nsaoly on Oct 25, 2014
Latest reply on Nov 3, 2014 by nsaoly

I started using 4.1 alpha4 and facing few issues

 

I am using this code

 

         AndroidSmackInitializer androidSmackInitializer = new AndroidSmackInitializer();

        androidSmackInitializer.initialize();

        SmackTcpSmackInitalizer smackTcpSmackInitalizer = new SmackTcpSmackInitalizer();

        smackTcpSmackInitalizer.initialize();

        ExtensionsInitializer extensionsInitializer= new ExtensionsInitializer();

        extensionsInitializer.initialize();

 

 

instead of SmackAndroid.init(getApplicationContext());

 

Later i do

                 xmpptcpConnection.setUseStreamManagement(true);

                xmpptcpConnection.setUseStreamManagementResumption(true);

                xmpptcpConnection.connect();

 

But still when i run

 

                 FileLog.b(log_tag, xmpptcpConnection.isSmEnabled());

                FileLog.b(log_tag, xmpptcpConnection.isSmAvailable());

                FileLog.b(log_tag, xmpptcpConnection.isSmResumptionPossible());

                FileLog.b(log_tag, xmpptcpConnection.isDisconnectedButSmResumptionPossible()

 

i get all of them False on all the above steps any ideas on that ?I did enable the stream manangement on my ejabberd server.

 

setReconnectionAllowed(boolean isAllowed) is not available anymore or i am looking at something wrong ?

how do we handle reconnection in 4.1

 

What is roster Store ?

 

How do i bulild the 4.1 from sources for android ?

 

Thanks

Jeet

Outcomes