StudySmart Android App || #15 Timer Service || Jetpack Compose || Room || Kotlin

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ต.ค. 2024
  • 📚Premium Course: www.udemy.com/...
    🛠️ In this video, we will add the study session timer using android services to our Session screen in our StudySmart Android App.
    📂 𝗥𝗲𝘀𝗼𝘂𝗿𝗰𝗲𝘀
    github.com/Cod...
    🔗 𝗣𝗹𝗮𝘆𝗹𝗶𝘀𝘁
    • StudySmart Android App...
    ☕ If you find the course valuable, support me through Buy Me a Coffee.
    ko-fi.com/moha...
    📣 𝑪𝒉𝒆𝒄𝒌𝒐𝒖𝒕 𝒎𝒚 𝒐𝒕𝒉𝒆𝒓 𝒗𝒊𝒅𝒆𝒐𝒔
    -) Mastering Material 3 Components with Jetpack Compose
    • Exploring Material Des...
    -) Layouts in Jetpack Compose
    • Layouts in Jetpack Com...
    -) CoinSwap Currency Convertor Android App using Jetpack Compose
    • CoinSwap Currency Conv...
    -) Newsroom Android App using Jetpack Compose
    • Newsroom Android App u...
    -) Patient Tracker Android App using Jetpack Compose
    • Patient Tracker Androi...
    -) Tic Tac Toe Game in Jetpack Compose
    • Tic Tac Toe in Jetpack...
    -) BMI Calculator in Jetpack Compose
    • BMI Calculator in Jetp...
    -) Number Guessing Game in Jetpack Compose
    • Number Guessing Game i...

ความคิดเห็น • 19

  • @kotlang
    @kotlang  4 หลายเดือนก่อน +2

    I'd love to hear your thoughts and any questions you have! Let me know by leaving a comment below, or simply comment "Commenting for better reach".
    Your comments really help the video get discovered by more people who could benefit from it.
    Thank you for your support!👨‍💻👩‍💻

    • @gojoopop
      @gojoopop 9 วันที่ผ่านมา

      Hello i am having a problem in my app even in the same github code when i open the app and then add a subject and time then when i go to start study session and start the timer it didnt start the app just crashes plz help and provide solution

    • @kotlang
      @kotlang  8 วันที่ผ่านมา

      @@gojoopop check the other comments of this video, someone has provided the solution related to permission.

  • @ubersticks
    @ubersticks 11 หลายเดือนก่อน +2

    You packed a lot of interesting things in this video. The use of a service is quite complicated, but it all worked out fine and it seems pretty clean.

    • @kotlang
      @kotlang  10 หลายเดือนก่อน +2

      Great to hear!

  • @BHARATGARANDE
    @BHARATGARANDE 6 หลายเดือนก่อน

    One of better series for Jetpack compose.. please sir be continued...

  • @tanishamangla7205
    @tanishamangla7205 10 หลายเดือนก่อน +2

    Why it showing error in 'toCompontes' in updateTimerUnit ..
    And Showing error in "duration.plus(1.seconds)

    • @kotlang
      @kotlang  10 หลายเดือนก่อน +2

      Make sure, you are importing the correct 'seconds' value.
      You should match the code from GitHub Repo.

    • @madansharma6660
      @madansharma6660 หลายเดือนก่อน

      @@kotlang i am getting the sane error

    • @madansharma6660
      @madansharma6660 หลายเดือนก่อน

      did you find any solution brother?

    • @madansharma6660
      @madansharma6660 หลายเดือนก่อน

      ok, I found the solution , just use the imports as it is from the gitHub repository. I was importing by my self and must have made a wrong import

  • @priyanshukumar2606
    @priyanshukumar2606 3 หลายเดือนก่อน

    Hello bhaiya, the app is crashing when im starting the timer in android 14, please help

    • @kotlang
      @kotlang  3 หลายเดือนก่อน

      Check the log error causing the app crash and search the web with the log message. If you don't find a solution, share the log error here, and I'll try to help.

    • @sandralsmxx
      @sandralsmxx 2 หลายเดือนก่อน

      @@kotlang hii, im having the same problem also.
      The problem description is : To call `Service.startForeground()`, the `` element of manifest file must have the `foregroundServiceType` attribute specified

    • @sandralsmxx
      @sandralsmxx 2 หลายเดือนก่อน +2

      hello i figured out how to fix this. You have to add a foregroundServiceType and the user permission for it in the manifest file.

    • @gojoopop
      @gojoopop 9 วันที่ผ่านมา

      @@sandralsmxx Hello i am having a problem in my app even in the same github code when i open the app and then add a subject and time then when i go to start study session and start the timer it didnt start the app just crashes plz help and provide solution