Click here to Skip to main content
15,888,321 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello Guys, am working on android app project and I want to connect my app to PHP and MySQL for user login and registration I have done all things may be but I don't know about the path of localhost I am using ip4 HTTP:192.168.143.1 but I don't know which folder name I write after HTTP:192.168.143.1/ please help me see the screenshot Imgur: The magic of the Internet[^] of path of my project thanks.

What I have tried:

public class Register extends AppCompatActivity {
public static final String URL = "http:192.168.143.1/panel/UserRegistration.php";
AsyncHttpClient client = new AsyncHttpClient();
EditText parentName, emailAddress,password;
Button regBtn;
String name, email,pass;
EditText cnic;
ProgressBar progressBar;
SessionManager sessionManager;
Posted
Comments
David Crow 3-Jan-18 16:45pm    
"public static final String URL = "http:192.168.143.1/panel/UserRegistration.php";"

Shouldn't you have // holding the : and 192 apart?

Is /panel/UserRegistration.php a valid path on that server?

Can you open that URL in a browser?
Member 9983063 6-Jan-18 7:44am    
yes i can this url in browser and there is everything is fine and now am facing this issues please help me
Caused by: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x858b24c0: Failure in SSL library, usually a protocol error
W/System.err: error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER (external/boringssl/src/ssl/tls_record.c:192 0x9b17e196:0x00000000)
W/System.err: at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)
W/System.err: at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:357)
W/System.err: ... 21 more
W/System.err: Caused by: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x858b24c0: Failure in SSL library, usually a protocol error
W/System.err: error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER (external/boringssl/src/ssl/tls_record.c:192 0x9b17e196:0x00000000)
W/System.err: at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)
W/System.err: at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:357)
W/System.err: ... 21 more

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900