Hi, Even i am having problems in getting the Smack API to work on Android. I heard that u need to use a patched version of the original smack.jar, however, i've had no luck in getting that file also. I am trying to use JSO(Jabber Stream Objects). Hopefully that won't have as many problems. :)
Cheers, Earlence Fernandes On Dec 28, 7:45 am, jman <chunyen...@gmail.com> wrote: > After reading many previous posts about XMPP, I am still not sure if > anyone actually got XMPP to work for the official SDK 1.0. > > I had trouble receiving any message. From the logs, I saw this: > > 12-27 19:43:14.866: WARN/System.err(225): > java.security.KeyStoreException: KeyStore jks implementation not found > > This origin is from Smack's PacketReader and I read a post about > installing the "cacerts" fiel as follows: > > String javaHome = System.getProperty("java.home"); > StringBuffer buffer = new StringBuffer(); > buffer.append(javaHome).append(File.separator).append("lib"); > buffer.append(File.separator).append("security"); > buffer.append(File.separator).append("cacerts"); > config.setTruststorePath(buffer.toString()); > config.setTruststoreType("jks"); > config.setTruststorePassword("changeit"); > > This didn't seem to solve the problem on Windows while it could help > those on Linux. Can anyone provide any ideas to proceed? > > Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---