Services in Android - Part 16, Foreground Services

  Рет қаралды 13,493

Codetutor

Codetutor

Күн бұрын

Пікірлер: 51
@bytescraft4504
@bytescraft4504 4 жыл бұрын
I think this is the most underrated channel, I have been working as an Android Developer for years now and I came for a refresher on the concepts and ended up watching the whole series. Great job man do not stop.
@Codetutor-DemystifyCoding
@Codetutor-DemystifyCoding 4 жыл бұрын
Thanks for the kind words. Feel free to explore other content on channel. Hope you have subscribed.
@antoneltonij8362
@antoneltonij8362 4 жыл бұрын
You are a great teacher. I like your method, when you ask questions. Something like "What if ..... ?"
@BhardwajHackology
@BhardwajHackology 2 жыл бұрын
sir ab services ki jgah Work Manager use hota hai to, ab direct WorkManager mein code krna chaiye ? foreground services ko work manager k sath use krna chaiye? and sir Android mein Threads vs RxAndroid vs Asynctask or Executor Service k upr ek video bna k clear krdo please, konsi best practice hoti hai kisko kb use krna chaiye please
@niktube4896
@niktube4896 3 жыл бұрын
can we use foreground service without notification
@davidmoran4623
@davidmoran4623 4 жыл бұрын
Hola, un saludo desde Panamá. I like your video. They are helping me a lot to understand how Android works and the different components, you explain very well, do not stop adding the subtitles to the videos, since as I still do not speak English very well, that is how I can understand your explanations.
@Codetutor-DemystifyCoding
@Codetutor-DemystifyCoding 4 жыл бұрын
hey thanks. Glad that you liked the content. Feel free to share it with your friends and peers, they might also find it useful. I actually have not been adding subtitles. I think they are auto-generated. Hopefully they are correct. Thanks for commenting.
@personalexperiences8665
@personalexperiences8665 4 ай бұрын
Sir, Can we use JobService with Foreground Service. If it is possible then how pls explain?
@akshaykhurana4152
@akshaykhurana4152 2 жыл бұрын
Nice Content Sir. It is helping me a lot to understand concepts. My question: Avoiding data loss due to interruption when saving files while using service. If we use a background service using job scheduler to download a file and somehow our service gets killed, How to resume downloading from same data packet? What kind of service should one prefer background or foreground to download a file? Thanks! for this very informative content. Great work.
@kruthiksai2372
@kruthiksai2372 3 жыл бұрын
Sir it's been 2 months you made a video please make videos ,the way you dive deep into a concept helped me in understanding concepts clearly.
@Codetutor-DemystifyCoding
@Codetutor-DemystifyCoding 3 жыл бұрын
I will be coming back soon. Thanks for commenting. Happy new year by the way!!!
@kruthiksai2372
@kruthiksai2372 3 жыл бұрын
@@Codetutor-DemystifyCoding thank you sir same to u
@mithuns8410
@mithuns8410 3 жыл бұрын
Does WhatsApp Video call Activity working based on this? Could you just cover that like how it identifies the incoming call even though the App is closed.
@anishekchoubey
@anishekchoubey 4 жыл бұрын
I want to know how to make changes in a textview which is child of a fragment' s view.
@kumarbharani2718
@kumarbharani2718 4 жыл бұрын
sir if app is removed from tasklist and few minutes later intent service want to send the data to acitvity what should happen is it memory leak or activity get the data.
@Codetutor-DemystifyCoding
@Codetutor-DemystifyCoding 4 жыл бұрын
It would be a new call to the activity right? through a Pending Intent and Notification. You should never directly launch an Activity from a Service, it's not recommended.
@saravanamurali5168
@saravanamurali5168 2 жыл бұрын
You are making such a wonderful content video. Thank you so much
@luckykatariya2900
@luckykatariya2900 3 жыл бұрын
When we kill app the foreground service is also killed in android pie and 10 .. Plz make a video on it or we should use workmanager in any condition..??
@Codetutor-DemystifyCoding
@Codetutor-DemystifyCoding 3 жыл бұрын
Exactly right, That's the reason why I have been discussing about Work Manager as well. Feel free to explore these topics in this video playlist kzbin.info/www/bejne/boPZeml5gJmnf6s
@anishekchoubey
@anishekchoubey 4 жыл бұрын
Sir I am your subscriber I am 14 Years old and programming is my hobby. I face many problems whenever I start new topic.
@Codetutor-DemystifyCoding
@Codetutor-DemystifyCoding 4 жыл бұрын
I feel you need just a bit of handholding in the initial part. Persist with your effort. It will be difficult only initially. As you spend more time with it, you will become more natural at it.
@pranaychakraborty4866
@pranaychakraborty4866 2 жыл бұрын
Hellow sir. I am working in a project where I have to track the incoming sms amd send some specific sms to a web url. This process needs to be run even app is killed by the system or user. In that case do I need this foreground service?
@Codetutor-DemystifyCoding
@Codetutor-DemystifyCoding 2 жыл бұрын
You need use WorkManager for these kind of scenarios. Go through this - kzbin.info/www/bejne/boPZeml5gJmnf6s
@pranaychakraborty4866
@pranaychakraborty4866 2 жыл бұрын
@@Codetutor-DemystifyCoding Thanks a lot sir 😍
@mouradouddah5934
@mouradouddah5934 4 жыл бұрын
Gooood
@Codetutor-DemystifyCoding
@Codetutor-DemystifyCoding 4 жыл бұрын
Thanks.. Feel free to explore other content on Codetutor. Hope you have subscribed.
@mouradouddah5934
@mouradouddah5934 4 жыл бұрын
@@Codetutor-DemystifyCoding yes I have been a subscriber for a long time
@demian1552
@demian1552 3 жыл бұрын
Great video and very good explanation of the process!. I see you are using IntentService in the Demo but this class will be deprecated with Android 11 (30), Am I correct?, Do you know if the IntentService will keep running on sdk 30 if we keep using the Notification class? Thanks!
@Codetutor-DemystifyCoding
@Codetutor-DemystifyCoding 3 жыл бұрын
Yes, You are right. Going forward they are planning to replace all of these classes with WorkManager. I will be covering that topic in next couple of videos as part of this series. I hope that you have subscribed so that you will get notified when I publish next video.
@kruthiksai2372
@kruthiksai2372 4 жыл бұрын
Sir if I bind the service to other activity for sharing data if the activity is closed does it leads to memory leak
@Codetutor-DemystifyCoding
@Codetutor-DemystifyCoding 4 жыл бұрын
I think so, if you are not careful enough not to unbind.
@h.r.60
@h.r.60 4 жыл бұрын
Keep posting great vids please 😁
@Codetutor-DemystifyCoding
@Codetutor-DemystifyCoding 4 жыл бұрын
hey.. sure.. feel free to explore other Android related content on Codetutor. Hope you have subscribed.
@sri6751
@sri6751 4 жыл бұрын
Hi Sir,Do you provide android online training for non coding background professionals.
@Codetutor-DemystifyCoding
@Codetutor-DemystifyCoding 4 жыл бұрын
never thought about it. Not sure about it.
@sri6751
@sri6751 4 жыл бұрын
@@Codetutor-DemystifyCoding I have gone through your profile on Quora which brings me here. Please let me know if you have plans to start online training, near future. It would be appreciated, If you don't have any plans then please suggest me some online (Paid or free : Both works for me) courses where I can start my journey towards android development as I don't have programming knowledge at all.
@HyperActive94
@HyperActive94 4 жыл бұрын
you are a good teacher sir thanks 🙏
@Codetutor-DemystifyCoding
@Codetutor-DemystifyCoding 4 жыл бұрын
Glad that it was helpful. Feel free to explore other content on the channel. Hope you have subscribed.
@bilalsimsek7306
@bilalsimsek7306 3 жыл бұрын
Thank you for great tutorial.
@OussamaELAHMAR
@OussamaELAHMAR 4 жыл бұрын
You make great video. Thank You
@Codetutor-DemystifyCoding
@Codetutor-DemystifyCoding 4 жыл бұрын
Hey thanks.. Glad that you liked it. Feel free to explore other content on channel. Hope you have subscribed.
@bibekanandanayak8839
@bibekanandanayak8839 Жыл бұрын
Sir is there any notes for all the services
@Codetutor-DemystifyCoding
@Codetutor-DemystifyCoding Жыл бұрын
Sorry no notes... every thing is here in videos and Github repos as codes, link to which is provided in the description section of the video.
@bibekanandanayak8839
@bibekanandanayak8839 Жыл бұрын
@@Codetutor-DemystifyCoding thank you so much sir
@shaikshaheera5569
@shaikshaheera5569 6 ай бұрын
I have created same app which is crashing, help me
@Codetutor-DemystifyCoding
@Codetutor-DemystifyCoding 6 ай бұрын
Have you tried debugging? What is the error? Have you tried co-pilot to understand the issue.
@darckphenix
@darckphenix 3 жыл бұрын
Good evening. Great class. Professor worked fine in version 8.1! But when I test on the cell phone with version 10, it generates an error. Bad notification for startForeground
@Codetutor-DemystifyCoding
@Codetutor-DemystifyCoding 3 жыл бұрын
Probably got something to to do with notification channel. Did you do a google it?
@bibekanandanayak8839
@bibekanandanayak8839 Жыл бұрын
Please provide us
Perfect Pitch Challenge? Easy! 🎤😎| Free Fire Official
00:13
Garena Free Fire Global
Рет қаралды 90 МЛН
Trapped by the Machine, Saved by Kind Strangers! #shorts
00:21
Fabiosa Best Lifehacks
Рет қаралды 39 МЛН
Disrespect or Respect 💔❤️
00:27
Thiago Productions
Рет қаралды 39 МЛН
Foreground Services in Android Explained
23:25
Ahmed Guedmioui
Рет қаралды 3,5 М.
Foreground Services with Notification Channel in Android Kotlin
18:27
Bound Services on Android
43:00
CodingWithMitch
Рет қаралды 62 М.
#s24ultra _vs_ #iphone16promax #iphone16promax #s24ultra #foryou
0:58
Connect Mobile
Рет қаралды 22 МЛН
«Осень». Самая большая загадка Windows XP
14:36
Девять десятых
Рет қаралды 1,3 МЛН
ТОП 5 САМЫХ КРОШЕЧНЫХ ГАДЖЕТОВ В МИРЕ? А ты знал, что такое вообще бывает?
0:57
Wishmaster — кибербуллинг и технологический абьюз
Рет қаралды 679 М.
IPHONE OR XIAOMI OR NOKIA?!!😂📱
0:33
Kan Andrey
Рет қаралды 3,2 МЛН