Ahfaz321 / simple-android-instant-messaging-application

Automatically exported from code.google.com/p/simple-android-instant-messaging-application
0 stars 0 forks source link

Sign-up intent force closes #23

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Click Sign-up
2. Enter form fields
3. Click Sign up button

What is the expected output? What do you see instead?
I expected a new user creation

What version of the product are you using? On what operating system?
Android 2.3.3 (Eclipse) on Ubuntu 12.04

Please provide any additional information below.
I believe the error is the "java.net.exception: 192.168.1.5/192.168.1.5:80 - 
Connection refused" because my IP address is 192.168.1.6 (dynamic IP).

However, I already changed the value in AUTHENTICATION_ADDRESS in the socket 
operator which is "http://192.168.1.6/android_im/index.php". I also changed the 
value in the $dbHost in index.php which is my "192.168.1.6". 

The problem is I don't know where the error got the ip address 192.168.1.5 in 
the Eclipse logcat.

Original issue reported on code.google.com by jorryl_j...@yahoo.com on 7 Jul 2013 at 11:09

GoogleCodeExporter commented 8 years ago
Please, I'm begging for someone to address my problem. I need this project to 
run immediately in order to understand how instant messaging works and 
implement it on my Senior project called GPS Group tracking with messaging.

Original comment by jorryl_j...@yahoo.com on 7 Jul 2013 at 11:11

GoogleCodeExporter commented 8 years ago
Hi Jorryl,

at first you can check your webservice is ok by calling the url 
"http://192.168.1.6/android_im/index.php?action=testWebAPI

if this doesnt give you a error message instead of "1" you should be fine with 
that.

second check the AUTHENTICATION_SERVER_ADDRESS in your 
src/at.vcity.androidim/communication/SocketOperator.java it has to be 
"http://192.168.1.6/android_im/" in you case.

please give us a feedback ;)

Original comment by d.pirngruber@gmail.com on 9 Jul 2013 at 11:31

GoogleCodeExporter commented 8 years ago

Original comment by d.pirngruber@gmail.com on 14 Jul 2013 at 3:39