Connect MySQL database from Android

后端 未结 1 516
遇见更好的自我
遇见更好的自我 2020-12-29 17:43

well this is the code snippet i use to access the getUser.php to retrive user details from a MySQL database in my application:

String result = \"\";

    //t         


        
1条回答
  •  一整个雨季
    2020-12-29 18:05

    You are using the HttpPost Object, which means that are you are initiating a post-request! Are you sure you dont want to do a HttpGet Request? I ran into the same issue and switching to HttpGet solved my problem!

    0 讨论(0)
提交回复
热议问题