WAZUMBi Well-Known Member Licensed User Longtime User Jul 13, 2012 #1 I wish that one of those 'object should first be initialized' errors were generated if someone forgets to initialize an httpClient. I just spent a great deal of time trying to figure out why my request was not working. :sign0161: The funny thing is that this is not the first time I have spent lots of time on this same thing for an httpClient. I always forget to initialize those darn things. I should've known better.
I wish that one of those 'object should first be initialized' errors were generated if someone forgets to initialize an httpClient. I just spent a great deal of time trying to figure out why my request was not working. :sign0161: The funny thing is that this is not the first time I have spent lots of time on this same thing for an httpClient. I always forget to initialize those darn things. I should've known better.
Erel B4X founder Staff member Licensed User Longtime User Jul 13, 2012 #2 I recommend you to use HttpUtils2 instead of interacting with HttpClient directly.
WAZUMBi Well-Known Member Licensed User Longtime User Jul 13, 2012 #3 I based my code on the Connect Android to MySQL Database Tutorial I have not tried HttpUtils2 yet. Will give it a shot. Thanks.
I based my code on the Connect Android to MySQL Database Tutorial I have not tried HttpUtils2 yet. Will give it a shot. Thanks.