Android Tutorial 2.18 C - Connect to MySQL Database with Config PHP Script

preview_player
Показать описание
In this Android tutorial, we will be configuring a PHP script that will allow all other scripts to make changes to our mysql database. We will just have to include this script when we need to communicate with our database, such as when our android app needs to register a new user, check if the user's login credentials are correct, or read some comments stored in our MySQL database.

Рекомендации по теме
Комментарии
Автор

hey. thanks. please don't apologise. you are not boring at all! i am comfortable with java and am watching just to learn how to connect to remote db for android - so i know the stuff you have spoken about so far - if you were boring i couldn't have watched it all.

rascubulous
Автор

excellent tutorial! i'm looking forward the part with actual android code to see how to interact with sql :)

seblog_appinventor
Автор

Great work dude! Can't wait the rest of the tutorial.

AleksandarTeodorovic
Автор

cool tutorials, can't wait for the next installment..any idea of when that will be? :)

MyBrian
Автор

Are there any tuts on using pure java to connect mysql for android apps?

goonie
Автор

it runs and connects to local database on emulator but mysql stops running on real server in final code although you are using AsynTask code to run thread in background. I tried domain url :80 and without :80. What is the reason database stop running.

emptg
Автор

Friend install a rom and my androi me not reconose neither wifi or sd and erro no ice pass me the bakup not come to the phone recoveri lights ocea memory but has not read it and do not have access to wifi much less to recoveri, when I try to access the recoveri me a bed with a red triangle where the data is going to bace accedder achievement recoveri e3 android but appears

eldrogo
Автор

please finish this series i need so much to learn all of it

MRCDF
Автор

code works on emulator and connects to localhost database but when changed to login_url website I get prompt unfortunately mysql test stop working. What is wrong here although your code uses AsynTask code

emptg
Автор

hi! mrbringback.
I would like to ask where is your next video "Setting up a remote database on your hosting plan! We will also config a mysql database connection php script! Let the fun times begin."

because i dont know how to connect from my apps to mysql database.

dicfan
Автор

does not work with hosted php page and MySQL database

MajorTom
Автор

hello mybringback isnt android like linux? or isnt the code similar to linux atleast?

ESTD
Автор

how to write the LOGIN_URL? i want to test the app using mobile phone....but don't know how to write the LOGIN_URL for mobile phone~~~eg using emulator, the LOGIN_URL is "10.0.2.2:1234/webservice/login.php", how about using mobile phone? need help :(

lemonzchuan
Автор

nice series ...code works on emulator and connects to localhost database but when i rn this code in real device its given an error ...what is the reason behind this ....and error is this JSONPaser error parsing data string cannot be converted to JSONObject" plzzz help 

vpriyadarshi
Автор

I'm using wamp on Windows. Where should I store the PHP files?

icefreezer
Автор

damn. i want faster to go to university to learn java and C++ so i could make apps and games for iOS and android :/ i`m still in highschool in 11th :/

TheMorningshade