Android Question I need a step by step or line by line explanation on how to connect to a MySql Server.

Dogbonesix

Active Member
Licensed User
Longtime User
HttpUtils2 is suppose to be simple but Http I could figure out. Is there a newer tutorial that includes HttpUtils2 similar to the Http one for 2011?
 

Dogbonesix

Active Member
Licensed User
Longtime User
Ah, I have HttpUtils2 working but only for a select query. How does one submit as Update,Insert and Delete query using HttpUtils2. Or just use HttpUtils because those actions affect only one record. But I thought one of the benefits of HttpUtils2 was to use spaces and such. Help and clarification greatly appreciated.
 
Upvote 0

Dogbonesix

Active Member
Licensed User
Longtime User
Somehow this works...
Private Contact_List = "contact_list",Phone_Number = "phone_number" As String
Private Q_UPDATE = "q_update" As String
Private Q_INSERT = "q_insert" As String
Private Q_DELETE = "q_delete" As String

Got it to work by trial and error - Little needs to done for Update, Insert, Delete queries except they become Strings as opposed to Integers (not sure why there is any difference). The Select Query seems a bit more specific but might work just as well as "Private Q_SELECT = "q_select". But, as each Select Query will then have a Name it makes it easier to populate a ListView when using more then one Query.

B4A Rocks
 
Upvote 0
Top