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...
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!👨💻👩💻
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
@@gojoopop check the other comments of this video, someone has provided the solution related to permission.
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.
Great to hear!
One of better series for Jetpack compose.. please sir be continued...
Why it showing error in 'toCompontes' in updateTimerUnit ..
And Showing error in "duration.plus(1.seconds)
Make sure, you are importing the correct 'seconds' value.
You should match the code from GitHub Repo.
@@kotlang i am getting the sane error
did you find any solution brother?
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
Hello bhaiya, the app is crashing when im starting the timer in android 14, please help
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.
@@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
hello i figured out how to fix this. You have to add a foregroundServiceType and the user permission for it in the manifest file.
@@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