I want to run the android application on my phone. So which IP address(like laptop IP address, localhost, mobile IP address) should I give in regURL variable??
Please, I want to know why my registration form is not being loaded to my wamp server. The first response is completed because it is showing connection successful but error in registration. So it is connecting to the php block, but not sending the data to the database. What might be the problem? Please I need your help.
Haerul Muttaqin gan mau nanya.kalau buat hak akses bia nggak??semisal di mysql web server buat middleware kayak admin dan pengguna nah ntar pas login di android langsung masuk ke menu yangsudah di middleware?terima kasih
Hello sir, so you are probably gonna tell me to check my code but I've watched the video twice i followed every steps and I've got no problems with the code. I'm not getting any errors but there is no response when i click "Register" and nothing on the database. But i think it has to do with the localhost thing that you mentioned (the numbers that you were inserting). So please, i kindly ask you....be more specific about it! (I can't clearly hear what you said) TNX😊
Gretting sir, Sir, 31:44 at that time when write inherited method in your ide it didn't show any error. why in my ide it shows error and not suggestion. it said that,"A Non-static method 'write(java.lang.string)' cannot be referenced from a static context". Can you please explain or solve it, sir. i will be honored if you help me. BufferedWriter.write(insert_data); from that .write shows an error.
@@RunCodes thank you sir. But i solve it already. I am fetching now another problem in php.May be it's for $_SERVER['REEQUEST_METHOD']=='POST'. Because this function is very old. Please if you have any update code. can you write it here. sir.
"import android.support.constraint.ConstraintLayout ". I get an error after using that on the BackgroudTask.java. It states that cannot resolve ConstraintLayout symbol. Am currently using android studio 3.5.1. Kindly help.
I do not understand English very well but everything is correct my only question is where did you get the ip that I did not understand and the app does not open it, it closes itself without notifying me of errors, help me, thanks for answering!
I have check my codes several times ,there is no mistake and hence I m getting no error but after filling form when I click on register nothing happens and the window just closed
iam getting error like....error: ')' expcted outputstreamwriter outputstreamwriter=new outputstreamwriter(outputstream, charsetName "UTF-8"); how to remove this ?
should i be using the same address 10.0.2.2 if im testing on my phone. im getting error->java.io.IOException: Cleartext HTTP traffic to 10.0.2.2 not permitted
The data that I have entered is not shown in the database and also when I click register "connection success" message doesnt appear. Can anyone help me out?
for spinner: stackoverflow.com/questions/25229247/add-chosen-option-in-spinner-into-database for radio button: ua-cam.com/video/9i8-64ZxSnk/v-deo.html have a look at these series you will understand
it says "error: non-static method append(String) cannot be referenced from a static context" please help me bro , ive followed every steps from your video and i cant run it.
Any chance for a tutorial on multi user login and registration with mysql and php using android studio. I've look into so many videos in youtube for that topic, still can't find any. How can I pm you personally.
As all the guys before, I have followed every steps from your video. When I run in emulator, nothing happen. When I click on the register button, no notification about connection and when I check the database, no data. Please help
You created folder inside www that is named Example and named your php file as andphpreg.php? If yes then check your URL inside the background task class in android studio
You have to change the ip address. To get your own ip address go to cmd if you are using windows then type ipconfig then look for the ipv4 address there beside that you will see your ip address then go copy it and replace the ip that you've watch
@@RunCodes I'm getting error on public class BackgroundTask extends AsyncTask and Toast.makeText(context, s, Toast LENGTH_LONG).show(); what is my mistake? My app crashes, automatically goes to homescreen. And when I write import android.support.constraint.ConstraintLayout; then it automatically remove from file.
wherever you get the red underline move your cursor to that line and from keyboard press ctrl+alt and couple of classes will display select the classes and press enter!
@@RunCodes sir mujhe notice sand karni h usmai title or description bhi aana chahiye or click krne pr notification open hone chahiye plz sir iska video banoo na...
I followed all steps from video and link from description and it nothing happened after I tested REGISTER and LOGIN. It appeared an empty circle space only and nothing is saved on the database from phpMyAdmin. Could you help me, TechSupportNep?
Try running in postman your php script if you can save data from there if it fails then you have a problem on your php script then if it works check your url link because you have your own ip address
I had faced the same error. In the php file, for the insert and select statement, there is no need of " ' " for the table and column names. ie: Change the below: $query="INSERT INTO member(name, address, email, username, password) VALUES ('$name', '$add', '$email', '$user', '$pass')"; (in register.php) $query="SELECT username, password FROM member WHERE username='$user_name' and password='$pass_word'"; (in login.php)
Thankyou very much. I liked your job. From Ethiopia, Oromia
You're the best teacher ever i seen in you youtute hats off bro.....keep on....uploading new android videos bro....
I want to run the android application on my phone. So which IP address(like laptop IP address, localhost, mobile IP address) should I give in regURL variable??
10.0.2.3
@@RunCodes ok thanks
Thank you brother it works awesone tutorial and explaining.
Please, I want to know why my registration form is not being loaded to my wamp server.
The first response is completed because it is showing connection successful but error in registration.
So it is connecting to the php block, but not sending the data to the database.
What might be the problem?
Please I need your help.
please help, Why am I following the source code steps. not saved in the database when running the emulator?
#help_me
Bro, i have a problem. When already fill the plain text and click button register. The app force close,how i can fix that?
see the error in stack trace by clicking the run at the left bottom of the android studio after your apps crashed!
Haerul Muttaqin gan mau nanya.kalau buat hak akses bia nggak??semisal di mysql web server buat middleware kayak admin dan pengguna nah ntar pas login di android langsung masuk ke menu yangsudah di middleware?terima kasih
Hello sir, so you are probably gonna tell me to check my code but I've watched the video twice i followed every steps and I've got no problems with the code.
I'm not getting any errors but there is no response when i click "Register" and nothing on the database.
But i think it has to do with the localhost thing that you mentioned (the numbers that you were inserting).
So please, i kindly ask you....be more specific about it! (I can't clearly hear what you said)
TNX😊
first you have to have internet connection and give permission to use internet in your app manifest!
@@RunCodes it's already done....
Still not working sir
Contact us on facebook!
you are the best teacher
Sir please guide me how to update sign up profile if user want to change his contact number or name
App is run but in datbase information not stored please fix this problem
Check your code again!
Sir where I can learn full android development courses
Gretting sir,
Sir, 31:44 at that time when write inherited method in your ide it didn't show any error. why in my ide it shows error and not suggestion. it said that,"A Non-static method 'write(java.lang.string)' cannot be referenced from a static context". Can you please explain or solve it, sir. i will be honored if you help me.
BufferedWriter.write(insert_data); from that .write shows an error.
Do not write your code inside the static method or define that variable as static inside the class before using it.
@@RunCodes thank you sir. But i solve it already. I am fetching now another problem in php.May be it's for $_SERVER['REEQUEST_METHOD']=='POST'. Because this function is very old. Please if you have any update code. can you write it here. sir.
Please make part 3 where after the login we can get access to the another activity
I tried this for the login and my app keeps stopping, when i cick on login button. my code is not showing any error ,I DONT UNDERSTAND.
See the stack trace to spot error!
"import android.support.constraint.ConstraintLayout ". I get an error after using that on the BackgroudTask.java. It states that cannot resolve ConstraintLayout symbol. Am currently using android studio 3.5.1. Kindly help.
Contact us on facebook
i got error when i clicked register and it said that connection success and Error request method.. please help me. Thank you
Use post method na!
@@RunCodes what do you mean by using post method?...
Contact us on facebook
how to run on a live device smartphone, any changes in reqURL?
Try to set your computer URL
for real devices10.10.2.3 for real devices!
I do not understand English very well but everything is correct my only question is where did you get the ip that I did not understand and the app does not open it, it closes itself without notifying me of errors, help me, thanks for answering!
see your code again, the ip for localhost!
i have an error
java.lang.IllegalStateException: You must either set a text or a view
some one please help me?
I have check my codes several times ,there is no mistake and hence I m getting no error but after filling form when I click on register nothing happens and the window just closed
Just see php code and mysql database and then control initialization!
iam getting error like....error: ')' expcted
outputstreamwriter outputstreamwriter=new outputstreamwriter(outputstream, charsetName "UTF-8");
how to remove this ?
have a look at your code, you may have error in outputstremwriter.
should i be using the same address 10.0.2.2 if im testing on my phone. im getting error->java.io.IOException: Cleartext HTTP traffic to 10.0.2.2 not permitted
Use emulator!
@@RunCodes no luck
same error . Error atoutputstreamwriter and d url
Check your code on streamwriter!
i am getting an error 302 found the doucument has moverhere
what to do????
i am using online server
give your online server IP.
Sorry, im just dont understand. Why u use underscore when u declarated the id?
Thank you.
you can use whatever you want considering the rule of variable declaration.
Sir file not found exception occurs while am using php file url
specify the file in exact location!
I am not be able to resolve 10.0.2.2 , my database isn't updating what should I do???
have a look at your php code!
The data that I have entered is not shown in the database and also when I click register "connection success" message doesnt appear. Can anyone help me out?
all we can say is check your code!
Thank you so much sir for the tutorial
you welcome 😊
what is the regURL? ("10.0.2.2/Example/andphpreg.php" ), is it where you save the database?
Watch video!
@@RunCodes I watched it but couldn't understand because of your bad mic quality (no offense)
Sir help me ! I'm getting an error : connection successful error in request method.
use post method both in android and php!
Sir thank you for this tutorial and the best in my registration form I have radiobutton and spinner how to add that values please provide the code
for spinner: stackoverflow.com/questions/25229247/add-chosen-option-in-spinner-into-database
for radio button: ua-cam.com/video/9i8-64ZxSnk/v-deo.html have a look at these series you will understand
it says "error: non-static method append(String) cannot be referenced from a static context"
please help me bro , ive followed every steps from your video and i cant run it.
Make that string variable both public and static while your are declaring it.
@@RunCodes and how's that ? can u show an example of coding ?. sorry im newbie
Any chance for a tutorial on multi user login and registration with mysql and php using android studio. I've look into so many videos in youtube for that topic, still can't find any. How can I pm you personally.
ua-cam.com/video/zSgrMVt_MFg/v-deo.html combine this video with this video!
Sir does this work in a non root? what i mean is I am currently using not rooted android device. does this work?
YES!
Hi! I have "error in request method" in registration.php .I have the same code.. Help me please:(
Use same request method on both end!
@@RunCodes THX for help!
0:35 sir plz send me the pic
I wrote same code but in my app when i click on register button , it returns nothing
watch video first and then write the code.
23:34 i dont understand about the ip? Where u get it?
it's localhost ip address!
hey where can i get the second part of this video?
Create Registraion and Login Form in Android Studio using MySQL Database [With Source Code][Part-2]
ua-cam.com/video/yUWuQTQw7tc/v-deo.html
I don't know why the localhost website is not opening for me can u help with that plz
There is 2 possibility to happen this
1. you do not start your apache
2. Try this (your_apache_port /localhost/myphpadmin)
Run your server!
Can you show the another activity after login success
use intent to show nother activist
socket failed: EPERM (Operation not permitted) Sir i am getting this error.plz can you help me
to solve this error.
stackoverflow.com/questions/56266801/java-net-socketexception-socket-failed-eperm-operation-not-permitted here you go!
Im using NOX emulator is there any code that i need to change ?
Nope!
I need to Create Multi User Login Apps in Android using Firebase. Can u help me?
hmm
Sir when I run my new file in android studio.. My previous fail is running... Plz help me 😫😫😫😓😓😓😓😓😪😪😪😪
Plz sir 🙏🙏🙏🙏🙏🙏
file>open your project.
how to stored gender value radiobutton value please solve my problem
stackoverflow.com/questions/36517777/how-to-store-radio-button-value-in-sqlite-database-in-android-im-using-radio-gr here you go!
I really tried everything but still not working. Maybe its outdated. Greetings
What?
how can I solve this? connection Successerror in request method
Check your code again!
@@RunCodes same problem. may its for old function
As all the guys before, I have followed every steps from your video. When I run in emulator, nothing happen. When I click on the register button, no notification about connection and when I check the database, no data. Please help
Have you check your php script? And change your url link? Because you have your own ip and php location folder or whatever.
@@tuffstuff8665 php is in folder - c:\wamp64\www\Example\andphpreg.php same as tutorial
You created folder inside www that is named Example and named your php file as andphpreg.php? If yes then check your URL inside the background task class in android studio
You have to change the ip address. To get your own ip address go to cmd if you are using windows then type ipconfig then look for the ipv4 address there beside that you will see your ip address then go copy it and replace the ip that you've watch
give internet permission in your manifest.xml file!
will it work for online too?
??
@@RunCodes i mean remotely. what if I transfer my app in another phone? I mean online database
Yes!
Sir i change but again 39:23 error what i do sir
See your apps log!
Sir, where's the other part of your video tutorial?
ua-cam.com/video/yUWuQTQw7tc/v-deo.html
sir where place for php?? and from where ip 10.0.2.2
Watch vid clearly! You will understand !
@@RunCodes OK
Can i use this in android studio?
Watch video!
It shows Connection Success and Error in Registration. What's my mistake? Thank you for answering!
check your code again!
@@RunCodes I'm getting error on public class BackgroundTask extends AsyncTask and Toast.makeText(context, s, Toast LENGTH_LONG).show(); what is my mistake? My app crashes, automatically goes to homescreen. And when I write import android.support.constraint.ConstraintLayout; then it automatically remove from file.
wherever you get the red underline move your cursor to that line and from keyboard press ctrl+alt and couple of classes will display select the classes and press enter!
@@RunCodes I didn't get red line. I get this two errors in logcat.
what's the error?
store in null value in my phpmyadmin page
Check your sql code!
Give a solution for connecting with android mobile not virtual device.
Watch video clearly I explained everything !
sir how to sand notice notification in Android studio...
ua-cam.com/video/KwmQeq7nrPI/v-deo.html Here you go!
@@RunCodes sir mujhe notice sand karni h usmai title or description bhi aana chahiye or click krne pr notification open hone chahiye plz sir iska video banoo na...
Watch that video! All thing what you need is in that video!
@@RunCodes but sir jab notification pr click kr rhe h to wo open nhi ho rhi h
Thanks!
I followed all steps from video and link from description and it nothing happened after I tested REGISTER and LOGIN. It appeared an empty circle space only and nothing is saved on the database from phpMyAdmin. Could you help me, TechSupportNep?
Try running in postman your php script if you can save data from there if it fails then you have a problem on your php script then if it works check your url link because you have your own ip address
I had faced the same error. In the php file, for the insert and select statement, there is no need of " ' " for the table and column names.
ie: Change the below:
$query="INSERT INTO member(name, address, email, username, password) VALUES ('$name', '$add', '$email', '$user', '$pass')"; (in register.php)
$query="SELECT username, password FROM member WHERE username='$user_name' and password='$pass_word'";
(in login.php)
I try but not working
Error??
Hello can I ask?
Sure!
It's not working. I mean when I click register in my emulator. It goes back to home screen.
Same as log in
You may have problem in your php code again check your android side code also! You have to have a internet connection while doing this project!
Sir I did So many errors plz suggested me 🙏🙏🙏🙏🙏🙏😰😰
Ok
@@RunCodes sir ji plz suggested me 😰😰
What is your error?
part 2?
ua-cam.com/video/yUWuQTQw7tc/v-deo.html
I FUCKING LOVE YOU ❤️❤️❤️❤️❤️❤️ THANK YOU SO MUCH BRO U HELP ME A LOT I LOVE YOU SO MUCH
Always welcome! Keep supporting us!
@@RunCodes Bro can u do how to update through the android studio?
do you like our work?
does this tutorial help you?
if so, you can support us at www.patreon.com/RunCodes
I'm having an error from the UTF-8, how do I solve it ????.The source code is not existing.
Encoding problem do you have internet connection?