#EDMTDev #AndroidDevelopment #AndroidEDMT Donación a través del enlace: Facebook: Recursos del enlace: ¡Hola! En esta parte, cambiaremos nuestro sistema de autenticación de Facebook Account Kit a Firebase Authentication Tutorial de desarrollo de Android, tutorial de programación de Android, tutorial de desarrollo de aplicaciones de Android, tutorial de Android para principiantes, tutorial de aplicaciones de Android, tutorial de estudio de Android, aprender programación de Android , tutorial para desarrolladores de Android, programación de Android, desarrollo de Android, tutorial de Android Studio para principiantes, curso de Android, formación de Android, curso de desarrollo de Android, curso de desarrollo de aplicaciones de Android, reserva de peluqueros de Android, aplicación de reservas de peluqueros, proyecto de reservas de peluqueros.

//Get token
FirebaseInstanceId.getInstance()
.getInstanceId()
.addOnCompleteListener((OnCompleteListener<InstanceIdResult>) task -> {
if (task.isSuccessful())
{
Common.updateToken(getBaseContext(),task.getResult().getToken());
Log.d("EMTTOKEN",task.getResult().getToken());
Intent intent = new Intent(MainActivity.this,HomeActivity.class);
intent.putExtra(Common.IS_LOGIN,true);
startActivity(intent);
finish();
}
}).addOnFailureListener(new OnFailureListener(){
@Override
public void onFailure(@NonNull Exception e){
Toast.makeText(MainActivity.this, e.getMessage(), Toast.LENGTH_SHORT).show();
Intent intent = new Intent(MainActivity.this,HomeActivity.class);
intent.putExtra(Common.IS_LOGIN,true);
startActivity(intent);
finish();
}
});
}
.getInstanceId() is deprecated now NOW WHAT SIR PELASE I NEED YOUR HELP
Sir . How is it possible to have different shopping cart for different salon? And can each salon have its own login without the other salon accessing it?
Sir can you help me as FirebaseInstanceId has been depreciated so how to work with FirebaseMessaging to get tokens.
Your Projects help me a lot in learning.
""FirebaseInstanceId "" is deprecated by android studio.
can you kindly guide me sir !!
sir this is error what i do now
android resource linking failed
Dear Sir,
Thanks for such tutorial.
I am just modified a little bit in timeslot fragment. Just I retrieve a value from data base like 0 or 1 or 2 the according to that value I am trying to set start and end date in calender.
Which means I need to set different t date range in horizontal calender for different barber.
Data retrieved successfully from database, the start and end date load successfully at first time which means when opening booking activity. And if I press previous button to go back and select another barber then press next, then the same date which is for the another baber is displaying…
Could you please guide me to set specific start and end date for different barber.?
I am too close to finish my project.
Looking forward for your kind advice.
Thanks
sir plz reply when i run project it is giving error <item> inner element must either be a resource reference or empty.
Hi brother you are amazing
love your job
I learn a lot from you, Although I'm still stuck with code.
I would like to know if you plan to add more stuff to the app like payment
Dear Eddy, I would like to confirm that, in order to complete the Project, the best way to follow the series will be:
1. Complete Part 1 as if Facebook Account Kit still works
2. Complete this video (Part 32) so that we can change the Facebook Coding to Firebase New Code
3. Move on from Part 2 to 31.
This project can run for android and ios or android only?
Amazing tutorials. Appreciated !!!
Is this the last video of this app tutorial?
Is this app completely build?
Kindly answer. It is very important for me.
Hello friend, when running the app the first time it works fine with the first number that I registered, then when installing in another emulator or real phone it tells me the following error (I'm already working with firebase authentication) Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.google.firebase.auth.FirebaseUser.getPhoneNumber()' on a null object reference
at com.nave.androidbarberbooking.HomeActivity.onCreate(HomeActivity.java:66) Can u help me? Gracias 😀
Hey, your tutorial is awesome..
Can you please tell me if i do whole tutorial now after 10 months this code will still work?
and have these error in logcat when i use ligon(enter phone + code )
2020-07-07 15:01:04.143 1945-1981/system_process E/BatteryExternalStatsWorker: no controller energy info supplied for wifi
2020-07-07 15:01:04.162 1731-1903/? E/SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
2020-07-07 15:01:04.333 1731-2436/? E/SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
2020-07-07 15:01:13.359 1945-1974/system_process E/memtrack: Couldn't load memtrack module
2020-07-07 15:01:13.606 1945-2721/system_process E/memtrack: Couldn't load memtrack module
2020-07-07 15:01:31.095 1945-1974/system_process E/memtrack: Couldn't load memtrack module
2020-07-07 15:01:43.585 1945-1981/system_process E/BatteryExternalStatsWorker: no controller energy info supplied for wifi
2020-07-07 15:01:51.859 1744-1788/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
2020-07-07 15:01:52.324 1811-1811/? E/netmgr: Failed to open QEMU pipe 'qemud:network': Invalid argument
2020-07-07 15:01:52.324 1811-1811/? E/netmgr: WifiForwarder unable to open QEMU pipe: Invalid argument
2020-07-07 15:01:56.875 1945-1981/system_process E/BatteryExternalStatsWorker: no controller energy info supplied for wifi
2020-07-07 15:02:13.728 1945-3130/system_process E/memtrack: Couldn't load memtrack module
2020-07-07 15:02:11.964 1945-1981/system_process E/BatteryExternalStatsWorker: no controller energy info supplied for wifi
2020-07-07 15:02:26.790 1945-1981/system_process E/BatteryExternalStatsWorker: no controller energy info supplied for wifi
2020-07-07 15:02:41.883 1945-1981/system_process E/BatteryExternalStatsWorker: no controller energy info supplied for wifi
2020-07-07 15:02:51.860 1744-1788/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
2020-07-07 15:02:52.334 1811-1811/? E/netmgr: Failed to open QEMU pipe 'qemud:network': Invalid argument
2020-07-07 15:02:52.334 1811-1811/? E/netmgr: WifiForwarder unable to open QEMU pipe: Invalid argument
2020-07-07 15:03:00.004 1945-1974/system_process E/memtrack: Couldn't load memtrack module
I have these logs when i try to open Just skip (without logginig into app)
2020-07-07 14:46:58.928 1614-10742/? E/AudioPolicyIntefaceImpl: getInputForAttr permission denied: recording not allowed for uid 10039 pid 2783
2020-07-07 14:46:58.928 1614-10742/? E/AudioFlinger: createRecord() checkRecordThread_l failed
2020-07-07 14:46:58.928 2783-3011/com.google.android.googlequicksearchbox E/IAudioFlinger: createRecord returned error -22
2020-07-07 14:46:58.929 2783-3011/com.google.android.googlequicksearchbox E/AudioRecord: AudioFlinger could not create record track, status: -22
2020-07-07 14:46:58.930 2783-3011/com.google.android.googlequicksearchbox E/AudioRecord-JNI: Error creating AudioRecord instance: initialization check failed with status -22.
2020-07-07 14:46:58.931 2783-3011/com.google.android.googlequicksearchbox E/android.media.AudioRecord: Error code -20 when initializing native AudioRecord object.
2020-07-07 14:46:58.937 2783-3011/com.google.android.googlequicksearchbox E/ActivityThread: Failed to find provider info for com.google.android.apps.gsa.testing.ui.audio.recorded
2020-07-07 14:46:58.996 1945-1981/system_process E/BatteryExternalStatsWorker: no controller energy info supplied for wifi
2020-07-07 14:47:00.005 1945-1974/system_process E/memtrack: Couldn't load memtrack module
2020-07-07 14:47:01.733 1731-1903/? E/SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
2020-07-07 14:47:01.912 1731-2436/? E/SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
2020-07-07 14:47:06.385 1945-1981/system_process E/BatteryExternalStatsWorker: no controller energy info supplied for wifi
2020-07-07 14:47:10.967 3451-3451/com.example.barsber E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.barsber, PID: 3451
java.lang.NullPointerException: Attempt to invoke virtual method 'int ss.com.bannerslider.adapters.PositionController.getNextSlide(int)' on a null object reference
at ss.com.bannerslider.Slider$SliderTimerTask$1.run(Slider.java:291)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6669)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
2020-07-07 14:47:11.003 1945-1974/system_process E/memtrack: Couldn't load memtrack module
2020-07-07 14:47:11.051 1945-2048/system_process E/InputDispatcher: channel '54fd6ee com.example.barsber/com.example.barsber.HomeActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
2020-07-07 14:47:11.058 1945-2048/system_process E/InputDispatcher: channel '7d3a278 com.example.barsber/com.example.barsber.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
2020-07-07 14:47:11.866 1945-5658/system_process E/memtrack: Couldn't load memtrack module
2020-07-07 14:47:12.004 1731-1754/? E/SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
2020-07-07 14:47:12.093 1731-1754/? E/SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
2020-07-07 14:47:26.125 1945-1981/system_process E/BatteryExternalStatsWorker: no controller energy info supplied for wifi
2020-07-07 14:47:27.451 1945-1974/system_process E/memtrack: Couldn't load memtrack module
This error i have when i try open Home activity with slider and recycler view
2020-07-06 11:56:55.956 1945-1981/system_process E/BatteryExternalStatsWorker: no controller energy info supplied for wifi
2020-07-06 11:57:02.121 1945-2048/system_process E/InputDispatcher: channel '81269c1 com.example.barsber/com.example.barsber.HomeActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
2020-07-06 11:57:02.132 1945-2048/system_process E/InputDispatcher: channel '80982b6 com.example.barsber/com.example.barsber.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
2020-07-06 11:57:12.783 1945-4506/system_process E/ActivityManager: Found activity ActivityRecord{c06dc15 u0 com.example.barsber/.MainActivity t-1 f} in proc activity list using null instead of expected ProcessRecord{d37d04f 26535:com.example.barsber/u0a93}
2020-07-06 11:57:13.262 1945-2048/system_process E/InputDispatcher: channel 'c58d5d1 com.example.barsber/com.example.barsber.HomeActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
2020-07-06 11:57:13.270 1945-2048/system_process E/InputDispatcher: channel 'e8ae274 com.example.barsber/com.example.barsber.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
first programs open Home activity, than 3-5 sec and it reloads automaticly to home activity, and than crash with log (up)
Hi thank you very much , i dont have mamy money, i can bot donate you , but i open your video in fone from first and they shows again and again ,i hope this will help you a bit )
I wrote you idea about reservation place from the staff app, i hope you dont forgets it xd , i want give you one more ideas ( idea is about possible time for reservation , i mean if i have 23.04.2020 12:00 i can not to reserve time before i have (23.04.2020 9:00–9:30…. 11:30–12:00) these parts of time should became "black" not clicable
Think I'm the one among who went through all your videos, lots of love from India sir….. we are so passionate to work for improving android experience thanks for this series 🙂 also if you can provide gidhub repository of this then it can help to fix some issues in our code, if you think you want to keep it private thotayogeshwarreddy@gmail.com please send to my mail sir. Anyhow wonderful series, Hope you are doing great ^ ^
Do you plan do new video from "zero" with firebase? (barbeshop)
Should I set all replace with lambda???…
Hi , what have i do , i have no firebaseAuth1 method ( (now i start 1 lesson)
Hi i have a guestion, is it possible to do video about "reserving place " from the staff account ? It means if somebody dont use your app , and reserve place in barbershop by phone , and the staff have to reserve this man in app
Hi sir!
Where I can get the whole code for the app?
This is good but I want to ask you, how to change this FirebaseUI Auth with my custom design OTP verification, because when I use custom verify otp, my app saving the User documents with UID and app crash because can't found phone number but when I use FirebaseUI Auth Build User document is save with phone numbe,r not with UID and application working without any issue.
Bro I really apreciate your work but why just u share the main activity in a file so we can copy and paste and the start from part 1
I got a bit confused about firebaseAuth1 Public method, Mine didn't appear. Have you got any solution?