Build a chat application using XMPP

Problems with WiFi, SQLite ,Bluetooth, WiMax, Proxies, etc...

Build a chat application using XMPP

Postby inter » Sat Mar 08, 2008 5:11 pm

I see an video on YouTube about Android .Its has a chat application between two mobile phone,its great !!Anyone ,show me how to build that application using XMPP

[youtube]http://www.youtube.com/watch?v=1FJHYqE0RDg&feature=related[/youtube]
inter
Junior Developer
Junior Developer
 
Posts: 23
Joined: Thu Feb 21, 2008 10:13 am

Top

Postby res » Mon Mar 10, 2008 3:55 pm

XMPP was removed from the SDK m5 onwards, you need to look into GTalk.

http://code.google.com/android/referenc ... mmary.html
res
Senior Developer
Senior Developer
 
Posts: 146
Joined: Tue Nov 20, 2007 8:14 pm
Location: United States

Postby com2usprav » Mon Apr 28, 2008 9:16 am

Can Any send Me some Sample Codes For GTalk Communication . In which one can send and Recieve Messages

Rewgards
Pravin Kumar
User avatar
com2usprav
Developer
Developer
 
Posts: 26
Joined: Sat Mar 29, 2008 3:28 pm
Location: Bangalore

Postby atkt_forever » Mon May 19, 2008 4:53 am

atkt_forever
Freshman
Freshman
 
Posts: 4
Joined: Thu Apr 24, 2008 4:41 am

Postby glory » Fri Sep 05, 2008 10:14 am

Hi ,

I am using XMPP using SMACK API as given here

http://davanum.wordpress.com/2007/12/31 ... -for-xmpp/

but i am getting the folowing Error :

09-05 14:24:54.964: WARN/System.err(2403): Could not connect to talk.google.com:5222.: remote-server-timeout(504) Could not connect to talk.google.com:5222.
09-05 14:24:54.974: WARN/System.err(2403): -- caused by: java.net.UnknownHostException: talk.google.com - talk.google.com
09-05 14:24:54.994: WARN/System.err(2403): at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:823)
09-05 14:24:54.994: WARN/System.err(2403): at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:1276)

I using the unpached version of smack jar

I am new in programming and dont know how to apply patch or where will I get the patched version of the smack jar that work in Android

Thanks in advance
Deepak Kumar Singh
glory
Freshman
Freshman
 
Posts: 5
Joined: Fri Feb 08, 2008 1:49 pm
Location: India

Postby Roboid » Mon Sep 08, 2008 8:44 am

Hi,
sorry had to delete my previous post, since I was wrong ;)

the patched Smack API works with the new Android SDK, you just have to patch it the right way. Maybe I#m writing a tutorial about using Smack API, incl. patching it.

@glory: your problem rather looks like that you don't have internet connection. Have you set permission to access Internet from android in your AndroidManifest.xml?
try putting
Code: Select all
<uses-permission android:name="android.permission.INTERNET" />

in your AndroidManifest.xml, before the <applications>-Tag


greetings,
Rob
Roboid
Once Poster
Once Poster
 
Posts: 1
Joined: Sun Aug 03, 2008 8:30 pm
Location: Dresden

Top

Postby glory » Wed Sep 10, 2008 11:31 am

hi,

Can u please give me the patched Smack.Jar

Thanks in advance
Deepak Kumar Singh
glory
Freshman
Freshman
 
Posts: 5
Joined: Fri Feb 08, 2008 1:49 pm
Location: India

Top

Return to Networking & Database Problems

Who is online

Users browsing this forum: No registered users and 3 guests