Android Question small Db hosting

micp

Member
Licensed User
Longtime User
Hi everyone, i am learning to use the http client exemple connection with mysql and php. The one that is populating a list with contry's and populations. I would like to have a server hosting a small db to practice the use of this functions. What could be the best and easy way? Do you have some place at anywhere software or something to suggest?

Thank you?
 

micp

Member
Licensed User
Longtime User
My small db is done but i am trying to connect. I need to know how to add a password and user info's in the http request.
 
Upvote 0

micp

Member
Licensed User
Longtime User
It seems like there is no parameter available to do that with Intializations of the request.
 
Upvote 0

udg

Expert
Licensed User
Longtime User
Hi micp

I guess you need something like the following

B4X:
Dim jobtxt As HttpJob
  'Send GET request 
  jobtxt.Initialize("JobTxt", Me)
  jobtxt.Username = sUserName       'string var holding user name
  jobtxt.Password = sUserPassword  'same for password

Regards,

Umberto
 
Upvote 0
Top