AndroidIM icon indicating copy to clipboard operation
AndroidIM copied to clipboard

Problem with adding friend and showing friend list

Open tanly opened this issue 11 years ago • 11 comments

Hi all, I am having some problem in adding friends using AndroidIM, I have setup mysql server using XAMPP and I can add user from the mysql database and login successfully, but after I logged in, and clicked menu button to add friends using username, the other users still cannot receive my add friend request. I tried to directly add friends from mysql database, but still no luck. Any idea on what can I do to solve this? I can't even send or see messages now, Thanks and good days

tanly avatar Nov 07 '13 09:11 tanly

It should work well..Once again Install properly and follow the steps, tips during installation https://code.google.com/p/simple-android-instant-messaging-application/ Check out the sample video how to use the Android IM: http://simple-android-instant-messaging-application.googlecode.com/files/simple_android_im_application_demo.avi

Dont add manual work in MySQL.. And if you using localHost change the AUTHENTICATION_SERVER_ADDRESS in SocketOperator class to http://10.0.2.2/android_im

ananthDev avatar Nov 07 '13 13:11 ananthDev

Please try to rebuild your setup with the github source and by following the setup tutorial on www.v-city.at

Please give us some feedback if this works for you!?

Thanks! Dominik

saligerdo avatar Nov 08 '13 07:11 saligerdo

I'm also having the same issue, how can this be fixed?

keepnone avatar Nov 11 '13 18:11 keepnone

@Postrr you have done the setup just along the setup-video?

saligerdo avatar Nov 11 '13 20:11 saligerdo

Yes, thank you I got it working now, good job on the app! :)

keepnone avatar Nov 12 '13 02:11 keepnone

I have the same issue on emulator and I can assure I have followed all the steps but I'm not sure about the port forwarding part. The users register fine. The friend request gets recorded on the database but never arrived at the receiver. What information should I provide anyone to help me figure out what's wrong?

JanithaR avatar Jan 13 '14 08:01 JanithaR

I have done setup but would u please guide me in port forwarding part because I am unable to sent message (communicate between two emulators). Please help.

smratashok avatar Mar 19 '14 11:03 smratashok

Hi. i'm trying to test Android application. i have set up correctly web api and database. At first run if i go to add new user and the users table is empty the app return an error,to workaround this i have inserted and user manually.after this i can add new user and login inside the app but now i have problem with friend list. If i add an existing user on logcat i get this friend list broadcast sent﹕ [ 07-18 11:33:59.308 24170:24183 I/friend list broadcast sent ] on database the ids are written,but in the activity doesn't show anything,i cant add friend and start a chat with it. anybody can help me to workaround this problem???Thanks..

i have webapi on an dedicated server and firewall accept all traffic

420GrayFox avatar Jul 18 '15 09:07 420GrayFox

I think you will make a test your SQL sentences or test your database connections 18 Tem 2015 12:52 tarihinde "420Gray Fox" [email protected] yazdı:

Hi. i'm trying to test Android application. i have set up correctly web api and database. At first run if i go to add new user and the users table is empty the app return an error,to workaround this i have inserted and user manually.after this i can add new user and login inside the app but now i have problem with friend list. If i add an existing user on logcat i get this friend list broadcast sent﹕ [ 07-18 11:33:59.308 24170:24183 I/friend list broadcast sent ] on database the ids are written,but in the activity doesn't show anything,i cant add friend and start a chat with it. anybody can help me to workaround this problem???Thanks..

i have webapi on an dedicated server and firewall accept all traffic

— Reply to this email directly or view it on GitHub https://github.com/Pirngruber/AndroidIM/issues/11#issuecomment-122523475 .

muhammed06 avatar Jul 18 '15 22:07 muhammed06

message not sending from one user to other user but data store in php server database if user send message to other user. pls help Thank you

ankit00731 avatar May 05 '17 07:05 ankit00731