I've finally got DNS/SRV lookup working XMPPConnection.getHost will return the hostname inside the srv record.
So the remaining feature drawbacks are: - no SASL/External (mandatory for SASL+TLS) - No fallback server selection (in case of multiple SRV servers with various priorities (Smack lacks the feature)) Beside that Smack(x) should work, so just about every xep supported by smack(x) should work (given you register components for the correct stanzas, see http://svn.igniterealtime.org/svn/repos/smack/trunk/build/resources/META-INF/smack.providers for a reference) Have fun, Rene On 7 Dez., 21:08, rtreffer <[email protected]> wrote: > Hi, > > thanks for the feedback. > > I've just got MD5-Digest working (due to another request). > This should make the lib working with just about every jabber server, > I'll push it as soon as I'm online with my laptop. > > I'll try DNS later today. > > Regards, > Rene > > On 7 Dez., 10:39, Simon Tennant <[email protected]> wrote:I > > > On Dec 7, 10:28 am, rtreffer <[email protected]> wrote: > > > > Hi, > > > > I've hacked together a workingsmack3.1.0 lib for Android. > > > >http://github.com/rtreffer/asmack > > > > Here's what's inside: > > > - apache harmony spec for javax.security.sasl > > > - qpid and novell openldap/jldap for SaslClient impl. (Plain & Digest- > > > MD5) > > > -smack(x) > > > - various patches & shell scripts to glue that > > > - some minor glue code (fake Sasl.java, AndroidDebugger.java (so > > > you'll get all stanzas on the logcat when debug is enabled)) > > > Great work Rene! This finally makes more complicated XMPP projects > > that include pub-sub and PEP possible in a clean way. I am looking > > forward to the DNS SRV support so that Android xmpp projects can > > simply ask for a JID and resolve the right server to use. > > > Woot! > > > S. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

