saligerdo / AndroidIM

Android Instant Messaging Application
Other
451 stars 351 forks source link

Problem with adding friend and showing friend list #11

Open tanly opened 10 years ago

tanly commented 10 years ago

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

ananthDev commented 10 years ago

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

saligerdo commented 10 years ago

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

keepnone commented 10 years ago

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

saligerdo commented 10 years ago

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

keepnone commented 10 years ago

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

JanithaR commented 10 years ago

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?

smratashok commented 10 years ago

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.

420GrayFox commented 9 years ago

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

muhammed06 commented 9 years ago

I think you will make a test your SQL sentences or test your database connections 18 Tem 2015 12:52 tarihinde "420Gray Fox" notifications@github.com 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 .

ankit00731 commented 7 years ago

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