Android OTP (Mobile) Verification Using Firebase | Part 1/2 | Layout Setup | Android Studio

  Рет қаралды 84,717

Chirag Kachhadiya

Chirag Kachhadiya

4 жыл бұрын

Android OTP (Mobile) Verification Using Firebase | Part 1/2 | Layout Setup | Android Studio
#androidprogramming #androiddevelopment #androidtutorial
In this tutorial, we will implement the facility to verify OTP (mobile) using firebase. In part 1, we will set up our layout and controls which includes,
1) Send OTP Screen Layout Design
2) Verify OTP Screen Layout Design
3) Setup Input Controls
Download Icons:
1) icons8.com/icon/82002/paper-p...
2) icons8.com/icon/91955/reading...
For more exciting android tutorials, please subscribe to my KZfaq channel and hit the bell icon for notifications.
Instagram:
/ chigs_kachhadiya
android otp verification, otp verification android, firebase otp verification, otp verification firebase, android otp verification using firebase, chirag kachhadiya, kachhadiya chirag android firebase otp verification, android mobile verification, android phone verification using firebase, android phone verification, android mobile verification using firebase

Пікірлер: 94
@SaurabhKumar-bv9gs
@SaurabhKumar-bv9gs 4 жыл бұрын
Simple and subtle. Waiting for part 2.
@xoxo
@xoxo 3 жыл бұрын
very nice video.... very nice... thank you
@riteshhon2442
@riteshhon2442 4 жыл бұрын
Hey Sir Love you a lot❤️ Sir waiting for part 2 please upload part 2 as soon as possible 😘💕
@chiragkachhadiya
@chiragkachhadiya 4 жыл бұрын
Working on part 2, expect it by tomorrow.
@syuharto7961
@syuharto7961 Жыл бұрын
awesome tutorials
@harshitsrivastava9903
@harshitsrivastava9903 3 жыл бұрын
Thanks👍
@janarthan_d
@janarthan_d 3 жыл бұрын
Brother once again a doubt, can i see the phone numbers which is registered if yes please tell how or if you wish make a video on it please reply...
@SarkarBLR
@SarkarBLR 3 жыл бұрын
Sir in this we don't need any bulk sms gateway ?
@sunilmahur9024
@sunilmahur9024 3 жыл бұрын
Dear Sir, How to send Serializable data from edit text in to MySQL database via Volley Lib.
@codeupgraded6208
@codeupgraded6208 4 жыл бұрын
Always Recommend your videos ♥. Please upload MVVM series.
@chiragkachhadiya
@chiragkachhadiya 4 жыл бұрын
Sure, on my list.
@codeupgraded6208
@codeupgraded6208 4 жыл бұрын
@@chiragkachhadiya Thank you very much bro ♥ ♥ ♥
@AvengerGamingYT.
@AvengerGamingYT. 2 жыл бұрын
@@chiragkachhadiya hello sir are u there
@techinnovatorsapp1584
@techinnovatorsapp1584 2 жыл бұрын
Hi, I am trying to do something simillar. I have six edittexts. While deleting text from edittext I want focus to be shifted to previous edittext. It does not work as intended and focus jumps to the previous+1 edittext instead of where it should be. Please help me if you have any suggestion to fix this.
@EyeXD
@EyeXD 2 жыл бұрын
If you did eactly as shown in the video, use an ELSE block after the IF like this etInputCode2.addTextChangedListener(new TextWatcher() { @Override public void beforeTextChanged(CharSequence charSequence, int i, int i1, int i2) { } @Override public void onTextChanged(CharSequence s, int i, int i1, int i2) { if (!s.toString().trim().isEmpty()){ etInputCode3.requestFocus(); } // add an else block like this here, in every edittext else { etInputCode1.requestFocus(); // } } @Override public void afterTextChanged(Editable editable) { } });
@iLochBolt
@iLochBolt 3 жыл бұрын
Is the code available on github?
@jai-niranjan
@jai-niranjan 3 жыл бұрын
3:13 how is the style.xml is created before???
@Vaithes
@Vaithes 2 жыл бұрын
Can anyone know how to add countdown for resend the otp code like (0.59second) ?
@NARANIYA_Vlog
@NARANIYA_Vlog 3 жыл бұрын
Are you available for freelancing ?
@lironcohen7153
@lironcohen7153 2 жыл бұрын
hi Chirag Kachhadiya , can u help me with a problem when i run this?
@rezaparvar8069
@rezaparvar8069 3 жыл бұрын
Can you give voice training?
@rupeshmandal1
@rupeshmandal1 4 жыл бұрын
Hello sir, can we make video player app like MxPlayer. Show video folder by folder in recyclerView. Please🙏
@anikettyagi4264
@anikettyagi4264 2 жыл бұрын
Sir plz tell how to move from one otp edit text to previous by pressing back space
@EyeXD
@EyeXD 2 жыл бұрын
Now, what if I want to AutoFill this?
@niteshpatel6112
@niteshpatel6112 4 жыл бұрын
sir please make tutorial on android
@48_tycm-i_girishpatil44
@48_tycm-i_girishpatil44 Жыл бұрын
21:09 line 37 can anyone retype and send please i didn't get what is taken before "s"
@pawantiwari1661
@pawantiwari1661 3 жыл бұрын
After running it gives an error sir
@priyadarsak
@priyadarsak 3 жыл бұрын
In this video at the time of 21:09, what you wrote in line number 37 inside if condition ?
@amrutakashikar8835
@amrutakashikar8835 3 жыл бұрын
if(!s.toString().trim().isEmpty())
@priyadarsak
@priyadarsak 3 жыл бұрын
@@amrutakashikar8835 ok thanks. It's working now
@diemmdung7427
@diemmdung7427 3 жыл бұрын
@@amrutakashikar8835 Thanks you
@CuteCatAgent
@CuteCatAgent 3 жыл бұрын
Hallo Admin, please make the Course Education application. Like Learning Java, Learning Kotlin made by ApkZube. Or another example: Master Coding by Leb Developer, and Solo Learn by Solo Learn. I really want to make an application to learn programming languages. 😁
@technotrak7077
@technotrak7077 3 жыл бұрын
Getting error caused by Inflate exception in , and NullPointerException. Please give solution.
@chiragkachhadiya
@chiragkachhadiya 3 жыл бұрын
It's "View" not "view", i mean capital 'V' in layout.
@technotrak7077
@technotrak7077 3 жыл бұрын
@@chiragkachhadiya Okk thanks, You solved my problem , Now it's working fine🙂
@janarthan_d
@janarthan_d 3 жыл бұрын
Brother will they ask Money for each OTP They receive from us. ( Developer )
@chiragkachhadiya
@chiragkachhadiya 3 жыл бұрын
Nope
@isweat5571
@isweat5571 3 жыл бұрын
21:09 Is it an exclamation mark or 1?
@21flame72
@21flame72 4 ай бұрын
if(s.toString().trim().length() != 0){ inputCode2.requestFocus(); }
@hitechpreethi9708
@hitechpreethi9708 3 жыл бұрын
What that language kotla
@luongcuong9655
@luongcuong9655 3 жыл бұрын
Please show code for me 🙁
@kannan3801
@kannan3801 3 жыл бұрын
Very useful tutorial..I have been copying the code from the video for 4 hrs..in the end, couldn't run due to scroll layout can only have one child error.I have checked with StackOverflow but no success.if you can provide the source code would be really helpful..Happy New Year
@sujalsingh2498
@sujalsingh2498 3 жыл бұрын
is it working now?
@-LutfiWirananda
@-LutfiWirananda 3 жыл бұрын
Hello bro, what word for minutes 21.09? Is l , i or what? Thanks
@rjzim2506
@rjzim2506 3 жыл бұрын
I also Don't understand this
@priyadarsak
@priyadarsak 3 жыл бұрын
Ignore all. Type "length()==1" replace of "isempty()"
@tuyenvokhac7943
@tuyenvokhac7943 3 жыл бұрын
Hi Chirag. My application doesnot work normally. After pressing OTP code, the app doesnot start Main activity. When I run debug the app works well. I am new and I am not familar with Android studio debugging, I just see app switch to MainActivity after I step out the Looper class. If you have any idea please help me :) Thank you very much
@sujalsingh2498
@sujalsingh2498 3 жыл бұрын
same problem. did u find solution.?
@tuyenvokhac7943
@tuyenvokhac7943 3 жыл бұрын
I forgot, seem like I didn't solve that problem. Sorry
@sujalsingh2498
@sujalsingh2498 3 жыл бұрын
@@tuyenvokhac7943 Np brother
@NareshKumar-uc3uz
@NareshKumar-uc3uz 4 жыл бұрын
without firebase it is possible another way login with phone number verification?
@chiragkachhadiya
@chiragkachhadiya 4 жыл бұрын
Yes, you can use your own back end for that and you need to purchase sms gateway and use it's APIs to send OTP.
@arbindsharma1423
@arbindsharma1423 3 жыл бұрын
SIr, Source code de dijye
@nijanthanc3046
@nijanthanc3046 Жыл бұрын
Bro resource error coming
@nnhaifree
@nnhaifree 3 жыл бұрын
please help me, error snippet inputCode1,2,3,4,5. line error "if (I s.toString (). trim (). isEmpty ())". let me ask what character "I" is
@nnhaifree
@nnhaifree 3 жыл бұрын
Can you give me that code
@-LutfiWirananda
@-LutfiWirananda 3 жыл бұрын
Yes i have same problem
@PerplexedCoder
@PerplexedCoder 3 жыл бұрын
Bro it's "!" sign try this and it should work
@sujalsingh2498
@sujalsingh2498 3 жыл бұрын
@@PerplexedCoder when i click on Get OTP then it goes to the home screen and nothing happens. Also--> buttonGetOTP.setOnClickListener(new View.OnClickListener() in the above code its says anonymous class and argument seems to be depreciated(not highlighted or appears in grey instead of color) please reply
@PerplexedCoder
@PerplexedCoder 3 жыл бұрын
@@sujalsingh2498 opsi, I didn't get that :/ you can try rebuilding the project (although I assume you must have done it) try changing the depreciated part with some other instance..idk much thought 🤷
@Shawn.o_
@Shawn.o_ 2 жыл бұрын
About 21:09 !s If you notice line 36 says "Charsequence s" so when going to line 37 just replace his 's' with whatever your line 36 says in my case "Charsequence charsequence" hence line 37 "!charsequence"
@felixespinosa7853
@felixespinosa7853 2 жыл бұрын
good thing I read this, thank you.
@shwetashilwant2990
@shwetashilwant2990 3 жыл бұрын
if(!s.toString().trim().isEmpty() ) in that line cannot resolve toString () is showing .. What to do?
@dataanalyst6195
@dataanalyst6195 Жыл бұрын
instead of s you can write your character sequence object
@riccoc.6507
@riccoc.6507 5 ай бұрын
Bro can you share the code with us?
@dishan9647
@dishan9647 2 жыл бұрын
21:15 Line 37 is it is
@StorySonger
@StorySonger 4 жыл бұрын
May I ask why the emulator is OPPO
@chiragkachhadiya
@chiragkachhadiya 4 жыл бұрын
It's not emulator, it's a physical device oppo.
@bangashkhan2211
@bangashkhan2211 4 жыл бұрын
Check your discription
@chiragkachhadiya
@chiragkachhadiya 4 жыл бұрын
I've added the download links, please check video description or refresh the video page or screen.
@bangashkhan2211
@bangashkhan2211 4 жыл бұрын
Icon link not present
@chiragkachhadiya
@chiragkachhadiya 4 жыл бұрын
Download links added in the description.
@potatofu5611
@potatofu5611 3 жыл бұрын
21:10 was that "!s" ??? or ls?
@rjzim2506
@rjzim2506 3 жыл бұрын
I also stuck here
@potatofu5611
@potatofu5611 3 жыл бұрын
@@rjzim2506 its !
@rjzim2506
@rjzim2506 3 жыл бұрын
App dont run, what to do
@potatofu5611
@potatofu5611 3 жыл бұрын
@@rjzim2506 check firebase documentation about Phone Authentication.
@rjzim2506
@rjzim2506 3 жыл бұрын
I complete just 1st part,
@afreensworld786
@afreensworld786 3 жыл бұрын
OTP received but it back register activity
@sujalsingh2498
@sujalsingh2498 3 жыл бұрын
its !(not)
@sujalsingh2498
@sujalsingh2498 3 жыл бұрын
when i click on Get OTP then it goes to the home screen and nothing happens. Also--> buttonGetOTP.setOnClickListener(new View.OnClickListener() in the above code its says anonymous class and argument seems to be depreciated(not highlighted or appears in grey instead of color) do u know why?
@afreensworld786
@afreensworld786 3 жыл бұрын
@@sujalsingh2498 can you sent your code I'll test for you?
@SmartIndian412001
@SmartIndian412001 3 жыл бұрын
MOST IMPORTANT THING 🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏 AGAR KISI NE YEH SAB STEP COMPLETE KIYA HAI PHIR JAB VOH BANDA APP OPEN KRNE KI KOSIS KRTA HO AUR APP RESPOND NA KRE TO MUJHE BATAYE
@abondutta
@abondutta 3 жыл бұрын
bro , apna whatsapp no de do please. if in case...
Secret Experiment Toothpaste Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 38 МЛН
Nastya and SeanDoesMagic
00:16
Nastya
Рет қаралды 44 МЛН
Stay on your way 🛤️✨
00:34
A4
Рет қаралды 27 МЛН
Design Custom EditText - Android Studio Tutorial
6:13
Stevdza-San
Рет қаралды 180 М.
CardView UI Design Android Studio | Using Grid Layout
6:51
Coding Adventure
Рет қаралды 245 М.
RecyclerView | Everything You Need to Know
25:07
Practical Coding
Рет қаралды 132 М.
Angular vs React in 2024 - Make a RIGHT Choice (Difference Explained)
9:51
Daniel Dan | Tech & Data
Рет қаралды 44 М.
MVVM vs. MVI - Understand the Difference Once and for All
18:40
Philipp Lackner
Рет қаралды 36 М.
Secret Experiment Toothpaste Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 38 МЛН