Home / Videos / Tutorial zur Android-Entwicklung – Barber Booking App Teil 20 Staff App Check out Services

Tutorial zur Android-Entwicklung – Barber Booking App Teil 20 Staff App Check out Services



#EDMTDev #AndroidDevelopment #AndroidEDMT

Link spenden:
Facebook :
Assets verknüpfen:

Hallo ! In diesem Teil erstellen wir einen DoneServices-Schritt für Mitarbeiter. Dieser Schritt beendet einen Dienst zwischen Barber und dem Kunden, bevor die Abrechnung freigegeben wird

Android-Entwicklungs-Tutorial, Android-Programmier-Tutorial, Android-App-Entwicklungs-Tutorial, Android-Tutorial für Anfänger, Android-App-Tutorial, Android-Studio-Tutorial, Android-Programmierung lernen, Android-Entwicklung, Android-Studio-Tutorial für Anfänger, Android-Kurs, Android ausbildung, android entwicklungskurs, android app entwicklungskurs, android friseurbuchung, friseurbuchungs-app, friseurbuchungsprojekt

About AndroidWeltEditor

Check Also

So erhalten Sie 60 fps auf jedem mobilen Gerät (Staffel 9 – aktualisiert)

Schritte: 1. Starten Sie Fortnite neu. 2. Warten Sie, bis der blaue Ladebildschirm angezeigt wird, …

8 comments

  1. Encina da criar um app simples para web rádio

  2. What keeps you motivated to share your knowledge?

  3. Hi guys, How can see the rest of private video?

  4. In the logcat i get this NOTIFICATION_ERROR: HTTP 401
    is this what i should be looking for ?

    Cannot find local variable 'send' or is it that ?

    I have made test with advances rest client and there i do recieve notifications manually :/ what can be the problem , when i attach debug to funcyion sendnotification i get the send error and in the logcat i get the notification error i think it is an exception

    what am i doing wrong? by any chance do you have 10 min that you can give me to check my project via skype or teamviewer? when you go out of work?

    this is my code for client for the send notification:

    //FIRST, GET TOKEN BASE ON BARBER ID
    FirebaseFirestore.getInstance()
    .collection("Tokens")
    .whereEqualTo("userPhone",Common.currentBarber.getUsername())
    .limit(1)
    .get()
    .addOnCompleteListener(new OnCompleteListener<QuerySnapshot>() {
    @Override
    public void onComplete(@NonNull Task<QuerySnapshot> task) {
    if (task.isSuccessful() && task.getResult().size() > 0)
    {
    MyToken myToken = new MyToken();
    for (DocumentSnapshot tokenSnapShot : task.getResult())
    myToken = tokenSnapShot.toObject(MyToken.class);

    //CREATE DATA TO SEND
    FCMSendData sendRequest = new FCMSendData();
    Map<String,String> dataSend = new HashMap<>();
    dataSend.put(Common.TITLE_KEY,"New Booking");
    dataSend.put(Common.CONTENT_KEY, "You have new booking from user "+Common.currentUser.getName());

    sendRequest.setTo(myToken.getToken());
    sendRequest.setData(dataSend);

    compositeDisposable.add(ifcmApi.sendNotification(sendRequest)
    .subscribeOn(Schedulers.io())
    .observeOn(AndroidSchedulers.mainThread())
    .subscribe(new Consumer<FCMResponse>() {
    @Override
    public void accept(FCMResponse fcmResponse) throws Exception {
    dialog.dismiss();

    addToCalendar(Common.bookingDate,
    Common.convertTimeSlotToString(Common.currentTimeSlot));
    resetStaticData();
    getActivity().finish(); //CLOSE ACTIVITY
    Toast.makeText(getContext(), "EXITOSO", Toast.LENGTH_SHORT).show();

    }
    }, new Consumer<Throwable>() {
    @Override
    public void accept(Throwable throwable) throws Exception {
    Log.d("NOTIFICATION_ERROR",throwable.getMessage());
    addToCalendar(Common.bookingDate,
    Common.convertTimeSlotToString(Common.currentTimeSlot));
    resetStaticData();
    getActivity().finish(); //CLOSE ACTIVITY
    Toast.makeText(getContext(), "EXITOSO", Toast.LENGTH_SHORT).show();
    }
    }));

  5. Hi eddy, if possible start a series on Netflix clone app in android studio

  6. Hi sir, I am creating an firebase photo gallery app in which, I want to add favourite button. Which allow user to mark, there favorite photos. But there is a problem. I didn't want to save the user favorite list in firebase database because for that, I want to add sign up method, which didn't make sense. So, I want to know that, if there is another method for saving user favorite list?? Please help me..Thank you in advance😊😊

Leave a Reply

Your email address will not be published. Required fields are marked *