I give you 3C score for this video: Concise, Complete, Clear. Really good explanation. Thank you
@DebugWithAdam2 жыл бұрын
I have been looking for something like this to complete our 5 months flutter project, finally I got the solution from your content. Thank you so much, looking forward to seeing more contents
@roman717172 жыл бұрын
This is one of the best-explained tutorials I have watched!! Thank you :)
@lubuntumleto5052 Жыл бұрын
Good example how simple it could be, when guide is so clear and opened step by step, thank you sir.
@itallstartedwhen2 жыл бұрын
Best video on the topic on KZbin, so well explained 😍😍😍😍😍😍😍😍
@truthonly_2 жыл бұрын
Ultimate content. I never understood services that easily ever before. Thank you 🤟
@okeuwechue9238 Жыл бұрын
Very clear and direct explanation of the different service types. 👍 However you mention that multiple instances of the service will get created if started multiple times, but this isn't so; there will only be one instance of the service object but its onStartCommand() function will be invoked those multiple times.
@strawberryinc.22752 жыл бұрын
i really needed this, @Codeible, thank you big time.
@teladoum9 Жыл бұрын
Thank you. I'm looking for this video longtime. Be blessed. Soyez béni mon frère.
@myhealthobs5290 Жыл бұрын
I wonder who organised the naming if foreground vs background. Unbelievable, thanks for clearing it up
@drygordspellweaver8761 Жыл бұрын
lol it was Larry Ellison, the Devil himself.
@Somerandomnessvvv3 жыл бұрын
Come onnn this gotta be one of the best practical service tuts. Can’t wait to see you work with kotlin.
@mohdfaris90542 жыл бұрын
Yesss good job baby..setan kocak bini orang sampai dsana ..party sex u setan...
@satwikkar77612 жыл бұрын
Best video on utube regarding services in android... 👍👍👍👍
@involved1984 Жыл бұрын
Amazing and simple explaination. Thanks. Keep up the good work 👍
2 жыл бұрын
Thank you for clear and worked practice even on API 28. Great work. More android tutorials please.
@abunaser35252 жыл бұрын
I left java 3 years ago .and start using kotlin . But your explanation is So good that I end up subscribing to your channel. Hope you start using compose multiplatform 🙂 this is the very first video from you that I watched .so don't you if you are already using kotlin . Anyway nice video ..
@drakohgaming51319 ай бұрын
you're salve my life bro, i have weeks searching this info. Thanksh! like and new sub
@hassanesilverlight15502 жыл бұрын
Thank you. Best Service tutorial ever.
@mohdfaris90542 жыл бұрын
Terbaik servies dia..tapi home Macan setan dia...malu.out site..setan bertanduk lima..celaka
@mdrashid60024 ай бұрын
Great Thanks boss for such a clear explanation, What about the Bound Services??
@ravindrashekhar44192 жыл бұрын
Clear Cut simple and Illustrative video, good for starters.
@georgenady73752 жыл бұрын
man ! thank you very much for your awsom explaination for that topic
@alokeshnath42692 жыл бұрын
I have tested this on real device when I restart the device I didn't see the notification that you got...? Is there anything to add more?
@joshuantw2 жыл бұрын
Awesome video my dude. Really clear.
@asimjmi20102 жыл бұрын
Nice explanation.... you're awesome man 👍🏻
@MauricioSouza-935 ай бұрын
Great explanation!! Thanks!!
@darklaker2 жыл бұрын
The best explanation for services I've found and it's just what I needed. I would add a handler to show a toast message from the service. Handler mainHandler = new Handler(getMainLooper()); mainHandler.post(new Runnable() { @Override public void run() { // Do your stuff here related to UI, e.g. show toast Toast.makeText(getApplicationContext(), "Message from Service", Toast.LENGTH_SHORT).show(); } });
@explorer1125 Жыл бұрын
Very good explanation..!!👏
@onwodoh Жыл бұрын
This was a good video. I learned so much in a short amount of time!
@D-Coder4402 ай бұрын
Osm! Thank you bro for this helpful video
@codingfeed92062 жыл бұрын
Im your new Subscriber because of your video i easily understand some coding stuff
@codingfeed92062 жыл бұрын
Thank you
@vr_connoisseur Жыл бұрын
nice video, helped me so much!
@TupolevSlaVTuber Жыл бұрын
nice tut crystal clear and spot on
@shubhm_agarwal2 жыл бұрын
Great explanation helped me a lot. Hence subscribed.
@habibmalim61783 жыл бұрын
so helpful thank you very much 😊 does it work with all android versions specially oreo or higher ?
@Codeible3 жыл бұрын
Hello it should work for API 26 or higher.
@hamsakumar45352 жыл бұрын
@@Codeible Any alternate service to run for below 26.
@llothar6811 ай бұрын
If i use NDK to run a C++ library, which service should i use to run the code out of process? Sometimes C++ crashs and i want them to take a service down but not the whole app. So i need to do the same as all webbrowsers do it.
@hrishikeshpator3853 Жыл бұрын
Thank you❤
@suche_cz2 жыл бұрын
Thank you, this video was really usefull
@LasWegas Жыл бұрын
Great!
@petermolnar601710 ай бұрын
Thanks for this great video!
@قناةالرياضيات-ن7ر2 жыл бұрын
I hope to learn how to play the list view of music through the service by Raw or Assest folder to work in background long time ... thanks for this video
@marwenhammami95752 жыл бұрын
Thanks
@kemaldeveli81953 жыл бұрын
I like your videos a lot please share more videos with us
@Hanna-ir6te2 жыл бұрын
Thanks for this tutorial. May I know how how to create second application which will run in the background service when first application is processing without interacting of first app?
@derkeks8142 жыл бұрын
Great Video! Is there a way to stop the Service by code?
@Hanna-zj1gk2 жыл бұрын
This tutorial is very helpful. May I know how how to create second application which will run in the background service when first application is processing without interacting of first app?
@musicjagot1632 Жыл бұрын
Android 12 & 13 How long will it be running Foreground service??
@yacoubasylla73582 жыл бұрын
Thank you very much
@maliksoft36752 жыл бұрын
very nice thanks for this video.
@NghiaNguyen-hn5st2 жыл бұрын
its amazingg thanks you
@lucasmontec Жыл бұрын
I believe from what I read on google documentation, that there is no need to check if the service is running. Apparently, that was a bug.
@moe_shah_0078 Жыл бұрын
How would you stop the foreground service?
@alexmercerind9 ай бұрын
Very useful!!!
@yusufmustari2 жыл бұрын
Thanks bro... very helpfull
@pietrolanuti25712 ай бұрын
in android 14 sdk version 34, when the app closes the foregroundservice also closes. Are there any solutions for this? Thanks
@sumitkumar-bz2vvАй бұрын
I dont think so, where you read this?
@NielAclag2 жыл бұрын
thank you!!
@mychannel-jb3zk Жыл бұрын
I understand that telegram had an unlimited open service in background, how it is posible?
@AshooOffice Жыл бұрын
Thnks a lot
@jeremyheng85732 жыл бұрын
Thank you for the sharing! Any idea we can get Firestore document update if our app is terminated?
@Codeible2 жыл бұрын
Hello, Yes you can.
@jeremyheng85732 жыл бұрын
@@Codeiblewhat method should we implement to update client document if app is terminated
@Codeible2 жыл бұрын
@@jeremyheng8573 What do you mean? You can just update the document like normal using the Firebase API for Android.
@mohdfaris90542 жыл бұрын
Hello good job.....nerka u all setan...nice...tqqqq
@avigneswaranwaran2 жыл бұрын
Awesome
@sandeepchauhan79182 жыл бұрын
Very good explanation.
@sandeepchauhan79182 жыл бұрын
@instagram I cant answer It. I have limited knowledge and experiance.
@samiulalim12302 жыл бұрын
Normally the codes working fine but when i add a webview in main activity then foground service stopped when apk closed. Is there any solution for it. I want to keep webview in my project and also want the foreground service
@Codeible2 жыл бұрын
Hi, should still work.
@samiulalim12302 жыл бұрын
@@Codeible not working after adding webview 😭😭
@gunturdarmawan15132 жыл бұрын
U have udemy courses?
@67Diadem2 жыл бұрын
After restarting the app background service is not displaying in the notification area. I have tested on my mobile. Please help 🥺
@androidlearners91632 жыл бұрын
Thanks alot bro
@cloner_88522 жыл бұрын
I have created an alarm app in Android 11, but it does not work when the app is closed. Does anyone know where the problem is ??
@AnuragSingh-eb6of2 жыл бұрын
How I can block wifi internet from using to a specific app in aops /os
@tanmaysinghal83702 жыл бұрын
For me only one notification was being created even without checking if the service is running already or not....
@mohdfaris90542 жыл бұрын
Ready....hahahhah...manpussss
@jaimitkumarpanchal76032 жыл бұрын
if service stops after few seconds then what to do?
@Codeible2 жыл бұрын
If the service stops, it could mean that the task is finished. If you want to keep it alive, you need to do something to keep the service alive like a while loop.
@harleenkaurarora18172 жыл бұрын
If phone is idle mode background service is not working. How to do this??
@Codeible2 жыл бұрын
You need to use foreground service.
@harleenarora51892 жыл бұрын
@@Codeible Example you have provided is with foreground service only right?
@Codeible2 жыл бұрын
@@harleenarora5189 Both Foreground and Background.
@cosovic142 жыл бұрын
Is there a way to have a foreground service without a notification ?
@Codeible2 жыл бұрын
No, you need ir.
@aymaneme962 жыл бұрын
waaaaaaaaaaaaaaaaaaaaaaaaaw ma bro its amazing
@hometv84462 жыл бұрын
Very helpful
@mediaatech79922 жыл бұрын
so thanks you bro
@gianmarioorru18082 жыл бұрын
the app works fine in the background, but if I want to use it in the foreground it crashes after about 7 seconds. I don't know why
@onuralagoz65312 жыл бұрын
Use wake lock with no time limit to make foreground service work infinitely. But never forget that unnecessary amount of foreground service usage is a real battery killer
@virgile84532 жыл бұрын
amazing
@sedatdemirtas99552 жыл бұрын
Thanks
@nikhilsachan_cse7144 Жыл бұрын
There is no code for stopping foreground service
@slcsb1162 жыл бұрын
Can you make this in kotlin ?
@alisheykhi96492 жыл бұрын
great bro , but im looking for Bound service impl 🙂
@adnananik7586 Жыл бұрын
thanks
@priyanshusahu80242 жыл бұрын
i cant able to receive broadcast after my app has been killed
@pankajlagad32912 жыл бұрын
How to keep running the service even we kill the app ?
@Codeible2 жыл бұрын
Create a foreground service - 3:43 If you want to restart the service automatically, create a broadcast receiver - 11:12
@ArturoDevA2 жыл бұрын
fail when stop service and after 10 seconds enable
@Nick-cx4rs Жыл бұрын
Yo how this receiver working really we didnt even set registerReceiver()
@Hong-Mu2 жыл бұрын
useful
@dfged9654 Жыл бұрын
kzbin.info/www/bejne/mHKap2SLl8-fsNk Here, the service is stopped. But the service is not explicitly stopped by calling stopService() or stopSelf() from within the service itself or by another component such as an activity or a broadcast receiver. I wonder why? Thx :)
@yeongshyhhaw93742 жыл бұрын
how to stop..
@pewienktos12922 жыл бұрын
n1
@VoxLott Жыл бұрын
Why so many ads dude? I watched sum of 1.5 mins ads whole through this video