[android-developers] Re: XMPP through Smack

2009-01-05 Thread Add

I tried that update. it works with gtalk, but when I tried with my own
ejabberd server, it didn't work. the error was host-unknown.

Could anyone suggest me?

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[android-developers] Re: XMPP through Smack

2008-12-29 Thread Peter Parnes
The blog was just updated:
http://davanum.wordpress.com/2008/12/29/updated-xmpp-client-for-android/

-Peter


On Sun, Dec 28, 2008 at 10:52 PM, jman chunyen...@gmail.com wrote:



 That is one of the many references I have already read.
 Unfortunately, the zip file was not there.



 On Dec 28, 4:52 am, Peter Parnes peter.par...@gmail.com wrote:
  Hi
 
  Have you tried this ?
 http://davanum.wordpress.com/2007/12/31/android-just-use-smack-api-fo...
 
  -Peter
 
  On Sun, Dec 28, 2008 at 10:42 AM, Tez earlencefe...@gmail.com wrote:
 
   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
-~--~~~~--~~--~--~---



[android-developers] Re: XMPP through Smack

2008-12-28 Thread Tez

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
-~--~~~~--~~--~--~---



[android-developers] Re: XMPP through Smack

2008-12-28 Thread Peter Parnes
Hi

Have you tried this ?
http://davanum.wordpress.com/2007/12/31/android-just-use-smack-api-for-xmpp/

-Peter


On Sun, Dec 28, 2008 at 10:42 AM, Tez earlencefe...@gmail.com wrote:


 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
-~--~~~~--~~--~--~---



[android-developers] Re: XMPP through Smack

2008-12-28 Thread jman


That is one of the many references I have already read.
Unfortunately, the zip file was not there.



On Dec 28, 4:52 am, Peter Parnes peter.par...@gmail.com wrote:
 Hi

 Have you tried this 
 ?http://davanum.wordpress.com/2007/12/31/android-just-use-smack-api-fo...

 -Peter

 On Sun, Dec 28, 2008 at 10:42 AM, Tez earlencefe...@gmail.com wrote:

  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
-~--~~~~--~~--~--~---