[android-beginners] XMPP Connection error
Hi Everybody I am trying to build an XMPP client for android. I'm using Smack API i installed OpenFire Server on my computer ConnectionConfiguration config = new ConnectionConfiguration(localhost, 5222); config.setCompressionEnabled(true); config.setSASLAuthenticationEnabled(true); XMPPConnection xmppcon = new XMPPConnection(config); try { xmppcon.connect(); Log.v(TAG, CONNECTED TO SERVER); } catch (XMPPException e) { Log.v(TAG, NOT CONNECTED. + e.fillInStackTrace()); Log.v(TAG, NOT CONNECTED MESSAGE. + e.getMessage()); e.printStackTrace(); i got a this error V/JABBER---( 268): NOT CONNECTED. XMPPError connecting to 127.0.0.1:5222.: remote-server-error(502) XMPPError connecting to 127.0.0.1:5222. V/JABBER---( 268): -- caused by: java.net.ConnectException: / 127.0.0.1:5222 - Connection refused Help me pls Regards Tsolmon -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] XMPP
Hello everyone I am trying to build a small *XMPP* client in *android*. Any ideas on what library i can use? -- Regards Tsolmon -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] XMPP service, Jabber
Hi, I am currently working on a project which requires a server to request data from the devices which are currently connected to the server. Meaning, first the server finds out which devices are connected to the server and then sends an application specific message to the client device which should wake certain functionality present on the client, like for example send out its current location. I was looking into XMPP service which looked promising since it works as a PUSH notification. The presence in XMPP can be used to check if the device is currently connected and has subscribed to the server. Since every android user has a gmail account, I was thinking of using the gmail xmpp service to connect /subscribe to the server. Then send specific message to the client, i.e x...@gmail.com. But if a message is sent this way the client app gets the message as well as the native gtalk client. So how do I go about intercepting this so that it doesn't show up on the gtalk client but my app still gets it. I want the PUSH notification to work, not PUSH. Please do comment on the above approach. If there is another way to do this, please do suggest. - SLY -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] XMPP Services
Hello All, I went through the Android introduction videos and in them an engineer from Google spoke of an open XMPP/gtalk service provided by Android, that developers could use to push messages out from a server to Android devices. I googled the forums and dug through the SDK samples, but could not find any code for these XMPP services. Also my search results only returned entries logged in the Jan 2008 time frame an earlier (I found this to be somewhat odd). Anyway, there was mention of a SMACK API that handles xmpp messaging, but I'm assuming that android has their own libraries for this. Would someone please point me in the right direction please? I'd like to know which library I'm suppose to use for xmpp/gtalk and see some sample code on this topic. Thanks so much, Kaman -- You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] XMPP with a non-GTalk account
Hi is it possible to connect to an XMPP server with an account different from Gtalk? -- Luca Bedogni --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---