Building a Step Counter App in Android Studio

Поділитися
Вставка
  • Опубліковано 3 лис 2024
  • Building a Step Counter App in Android Studio. In this video, we will create a step counter app using Android Studio using a Java programming language.

КОМЕНТАРІ • 20

  • @prosto_scrooge
    @prosto_scrooge Рік тому +2

    Thank you, good friend. You are the best!

  • @charliemarotista3972
    @charliemarotista3972 Рік тому +2

    Thank you very much for the video, it has helped me a lot. Do you have the project code? I would like to test with it and learn.

  • @Dad-Seven
    @Dad-Seven 11 місяців тому

    Thanks a lot, you're a day saver

  • @worshipandpraise8037
    @worshipandpraise8037 Рік тому +1

    Great video bro

  • @tora3492
    @tora3492 Рік тому

    Does this app work in background or does the app needs to be open to count the steps ?

  • @AngeloPerera015
    @AngeloPerera015 Рік тому

    Thank you, you have saved my day.

  • @charliemarotista3972
    @charliemarotista3972 Рік тому +2

    It works perfectly on a real device, but I have a problem when I close the app and remove it from the background, because when I try to open it again it closes automatically. Any solution?

    • @itsitwala93
      @itsitwala93  Рік тому

      I will try to find the solution

    • @AngeloPerera015
      @AngeloPerera015 Рік тому +1

      @@itsitwala93 if found please post a video.

    • @berkeyoutube
      @berkeyoutube Рік тому

      The problem is in load data you need to tweak it a little bit

    • @berkeyoutube
      @berkeyoutube Рік тому

      private void loadData() {
      SharedPreferences sharedPreferences = getSharedPreferences("myPref", Context.MODE_PRIVATE);
      previewsTotal = sharedPreferences.getInt("key1",-1);
      }

  • @ShubhamKumar-pv8pj
    @ShubhamKumar-pv8pj Рік тому

    If your app does not start while reopening it manually.
    The error is in savedata method instead of editor.putstring to editor.putInt("key1, previous Steps)

  • @carlospineda5217
    @carlospineda5217 Рік тому +1

    NO SOURCE CODE BRO? DOWNVOTE!!!

  • @NileshKumar-mk2ze
    @NileshKumar-mk2ze Рік тому

    Can you share code github link

  • @ddsview4884
    @ddsview4884 Рік тому

    👍