Це відео не доступне.
Перепрошуємо.

Activity Lifecycle in Android

Поділитися
Вставка
  • Опубліковано 17 бер 2016
  • Activity is basically a page or a form.It has its own life.
    It passes through various stages
    onCreate,
    onStart
    ,onResume,
    onPause,
    onStop,
    onDesroy
    are the staeges of android activity's lifecycle.
    Check out our website: www.telusko.com
    Follow Telusko on Twitter: / navinreddy20
    Follow on Facebook:
    Telusko : / teluskolearnings
    Navin Reddy : / navintelusko
    Follow Navin Reddy on Instagram: / navinreddy20
    Subscribe to our other channel:
    Navin Reddy : / @navinreddy
    Telusko Hindi :
    / @teluskohindi

КОМЕНТАРІ • 127

  • @abhisheksengupta4159
    @abhisheksengupta4159 6 років тому +35

    When a activity is partially visible, it goes to onPause() only,and then when fully visible it directly calls onResume()... Thats the case where onStop() is not called.

  • @phani564
    @phani564 6 років тому +20

    Short and simple to understand... Please add more Tutorials on Recycler view and latest android updates

  • @deeproy7292
    @deeproy7292 6 років тому +50

    echo sound

  • @ntigirishari
    @ntigirishari 4 роки тому +13

    You're a good teacher!!!!! :-)

  • @vikramdeshmukh6373
    @vikramdeshmukh6373 7 років тому +2

    Thanks ... I was just one minute into listening this concept & I have realized my conceptual mistake by looking at the board behind.

  • @wynnylim5594
    @wynnylim5594 2 роки тому +3

    It's crystal clear! Great example and easy to catch up. Thank you!

  • @prashikganer4820
    @prashikganer4820 5 років тому +5

    Sir, what does that arrow from onStop() to onPause() mean?

  • @riyahabeeba
    @riyahabeeba 9 місяців тому

    very good class,thank you sir for making it simple and understandable

  • @Yuvraj-fv1gv
    @Yuvraj-fv1gv 2 роки тому

    Have exam within 2 hours and this video helped me ! Thank you sir⚡

  • @Vamp007
    @Vamp007 4 роки тому +1

    Thanks a lot sir. You explained in a very simple way with beautiful example ...Very helpful

  • @sahenliyanage3688
    @sahenliyanage3688 5 років тому +2

    Thanks for the short and sweet explanation!

  • @jaygokhru
    @jaygokhru 4 роки тому

    Thanks a lot sir. Came here after watching 4 other videos still confused, but you explained them very clearly. Also the good old days when we use to think 2 GB RAM is a lot. 😂😂

  • @matthiasmuller8847
    @matthiasmuller8847 7 років тому +12

    More android tutorials please :)!

  • @nijatullahmansoor4686
    @nijatullahmansoor4686 4 роки тому +1

    sir you did't explain properly between the onResume() and onPause(). in which case it will go back from onPause() to the onResume()
    and how the app killed the process directly by itself

  • @GuitarreroDaniel
    @GuitarreroDaniel 4 роки тому +1

    Terrific explanation as always, Mr. Navin. Thank you very much :)

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

    Superb explanation sir keep on uploading videos

  • @jonaskromwell4464
    @jonaskromwell4464 6 років тому

    Very clear and concise. Great overview of lifecycle!

  • @explorer2283
    @explorer2283 7 років тому

    Thank you Sir. I am new to this . but the way u teach is very helpful.

  • @beatbox777master
    @beatbox777master 5 років тому +2

    Felt like I'm in a game where a global Robot who controls the world talks to me and tells me that I can't defeat it.

  • @puck2011
    @puck2011 5 років тому

    Thanks for the video. Would be great if you could stand to the side of the diagram so that it is always visible while you are explaining.

  • @jatinkhanna6681
    @jatinkhanna6681 3 роки тому

    Thank you sir for all videos, god bless you

  • @Sumit-ri9qi
    @Sumit-ri9qi Місяць тому

    AMAZING ! FINE CONTENT

  • @fordfiveohh
    @fordfiveohh 7 років тому

    Sounds great. Good explanation. 1 question, just to be sure, when someone would like to call logoff when a user closes the app, would the practice be to override the onDestroy() method, call their sign off method, then call super.onDestroy(), this is what I'm thinking. Is this a good practice?

  • @divyangshah99
    @divyangshah99 7 років тому +4

    u have made an arrow from pause() to resume() , when will that happen ? Also, if we minimize the app and kill it , what are the repucursions?

    • @RakeshSharma-yh1mn
      @RakeshSharma-yh1mn 7 років тому +13

      When a small activity like whatsapp popup message comes in front of your own activity automatically "onPause()" method will be called and after closing that whatsapp message window automatically "onResume()" method will be called. Remember your activity should not completely covered by any another activity..

    • @yashmirashi2956
      @yashmirashi2956 6 років тому

      same doubt here!

  • @motivation8238
    @motivation8238 2 роки тому

    Nicely explained

  • @hamidsiddiqui6452
    @hamidsiddiqui6452 8 років тому

    thanks for tutorial
    which is best for android beginners sir

  • @03329307679
    @03329307679 7 років тому

    My question : when we destroying the application ON PAUSE , ONSTOP , AND ONDESTROY WILL work one after another or not? #Telusko_Learning

  • @sureshprajapati2797
    @sureshprajapati2797 5 років тому

    Very nice video easy to understand👍👍

  • @MyBoxer96
    @MyBoxer96 4 роки тому

    This was superb explaination

  • @demir
    @demir 4 роки тому

    Thank you for this video. I understood the issue...

  • @sandrok14
    @sandrok14 4 роки тому

    Good explanation! But for example I want to save a serialized array, so logically I do it in onDestroy(). So I save it before app closes, no need to serialize it every time (ex. Shared Preferences). But does it mean that if OS frees up memory and calls onCreate() again all my data will be lost?

  • @lokkeshss7024
    @lokkeshss7024 3 роки тому

    awesome brother

  • @heenamalek6001
    @heenamalek6001 3 роки тому

    Great explanation 👍🏻

  • @robertobaldizon8206
    @robertobaldizon8206 5 років тому

    Nice tutorial. Thank you very much.

  • @miteshjain56
    @miteshjain56 7 років тому

    very nice expalnation ...plz upload more video

  • @pratikthacker
    @pratikthacker 7 років тому

    I am using Navigation Drawer in my android app,so when i click on the items inside the list it goes to other fragment..
    should i continue with this or i should create a new activity for every click? whihc is better and why??

  • @alvincassar1828
    @alvincassar1828 3 роки тому

    THANK YOU MY INDIAN FRIEND

  • @mayankmaurya8028
    @mayankmaurya8028 8 років тому

    now fragment had been introduced into android do we need activity now??what are the advantages of activites over fragments?/

  • @wraithbackup4286
    @wraithbackup4286 7 років тому

    Very good explanation

  • @akshata4092
    @akshata4092 3 роки тому

    Thank you sir.

  • @hdang1997
    @hdang1997 6 років тому

    these methods are called. Accepted. My question is "How are these methods called? Who is calling them since there is no main?"

  • @JesusisAlive_33
    @JesusisAlive_33 4 роки тому

    Thanks alot bro

  • @malaak1h
    @malaak1h 7 років тому

    Thanks sir.. appreciate ur efforts

  • @kallathiyanmuthumalai4854
    @kallathiyanmuthumalai4854 4 роки тому

    best exam step by step sir

  • @SureshKumar-kd3fx
    @SureshKumar-kd3fx 5 років тому

    Super explanation thank u sor

  • @realfacts4214
    @realfacts4214 5 років тому

    how to develop an app which share schedule live location in social media apps like WhatsApp

  • @ankitakadam8991
    @ankitakadam8991 3 роки тому

    thank you sir

  • @networkmarketingandfun2712
    @networkmarketingandfun2712 4 роки тому

    Thanks

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

    thank you!

  • @avkexpress8029
    @avkexpress8029 4 роки тому

    THANK YOU

  • @BEYONDComfort
    @BEYONDComfort 5 років тому

    great teacher!

  • @rutujagaikwad1586
    @rutujagaikwad1586 3 роки тому

    This was good

  • @ganeshaguru2187
    @ganeshaguru2187 4 роки тому

    Sir in Android studio, None of the tags will show the autocomplete popup, like when I start typing "android:layout_width" no popup appears .Sir, how to clear this problem.

  • @foodtok6852
    @foodtok6852 7 років тому +1

    Thanks, It's helping me ! :D

  • @saimonikapolavarapu690
    @saimonikapolavarapu690 5 років тому

    sir i undersand what is activity life cycle but waht is activity life cycle with customize toast.

  • @atkuriajaykumar3701
    @atkuriajaykumar3701 4 роки тому

    thankyou sir .

  • @AjaySingh-yp6sv
    @AjaySingh-yp6sv 4 роки тому

    very good but can you explain in hindi

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

    Do one video for activity life cycle coding

  • @ledleyquintas3647
    @ledleyquintas3647 5 років тому

    Hi.....I´ve created an app with many activity , and sometimes when I call one activity it opens two times.....what can be cousing this?...please help me.

  • @cecilmathew3763
    @cecilmathew3763 5 років тому

    good video thank you

  • @niranjanvaity3656
    @niranjanvaity3656 8 років тому

    Sir can ask a career question ?

  • @decebaltrandafir
    @decebaltrandafir 7 років тому

    It is ok to swipe apps from recent app?

  • @2space23
    @2space23 6 років тому

    Thank you so much

  • @ammaamalraj2513
    @ammaamalraj2513 3 роки тому

    good

  • @SpreadPeaceLove
    @SpreadPeaceLove 4 роки тому

    Thanku sir

  • @mangeshdhasade8384
    @mangeshdhasade8384 2 роки тому

    What when we receive a call

  • @milindsutar8008
    @milindsutar8008 5 років тому

    How to kill an app on ,leaving app by pressing home button or recent key.?

  • @learnfromthisthat4428
    @learnfromthisthat4428 6 років тому

    Please demo in android studio or app!

  • @bytler4518
    @bytler4518 7 років тому

    Waiting for more

  • @smtusharibnesalam8688
    @smtusharibnesalam8688 4 роки тому

    Sir in my android the back button doesn’t close the app rather i can see it in my recent apps.

  • @alexlau3973
    @alexlau3973 7 років тому

    6.02 isn't it from onDestroy() to onCreate()?

  • @shivamsingh-tx7rc
    @shivamsingh-tx7rc 6 років тому

    Nice....

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

    Hello
    In which Phone or camera you have shoot the video

  • @scargomez9437
    @scargomez9437 8 років тому

    thank you

  • @harikrishnankn2405
    @harikrishnankn2405 4 роки тому

    annan pwoliallle mass karinkal the kodumkat

  • @Sejal.Yadav_88
    @Sejal.Yadav_88 4 роки тому

    thanks !!!!!!!!!!

  • @khadarshaik3087
    @khadarshaik3087 7 років тому

    Respected sir,
    iam very thnakfull to you sir, this video is so helpful and i want the videos of service,broadcast and content provider ....iam a self learner please upload the explanation with a video
    thanks and regards
    KHADAR VALI

  • @nehangpatel7949
    @nehangpatel7949 5 років тому

    Please post a video for fragment life cycle

  • @BilalBilal-gg7ys
    @BilalBilal-gg7ys 4 роки тому

    Sir fragments ke lifecycle ko activity lifecycle se compare kr ke video bna de ,me Google se kaafi search Kia lakin smj nai rhi

  • @subashchandru8683
    @subashchandru8683 3 роки тому

    You didnt explain that sir how on pause() is related to on resume()

  • @akhilaunnikrishnan8188
    @akhilaunnikrishnan8188 6 років тому

    sir ,can you please explain super.bundle in oncreate ()

  • @sudharsankarra951
    @sudharsankarra951 6 років тому

    sir i need a practical example for this with coding

  • @mouraddahmani6663
    @mouraddahmani6663 2 роки тому

    I'm sorry sir but the video's voice is not clear , there is some echo sound

  • @xyz-xr1qc
    @xyz-xr1qc 6 років тому

    Thankyouu

  • @akshaymukesh9498
    @akshaymukesh9498 6 років тому

    can you explain the life cycle of an iOS application

  • @saranyajkarthi1589
    @saranyajkarthi1589 6 років тому

    tks

  • @KUNDANKUMAR718
    @KUNDANKUMAR718 8 років тому

    what about the arrow from pause to resume ? When will that happen ?

    • @mayankmaurya8028
      @mayankmaurya8028 8 років тому

      when you switch app your app pauses and then when you again come back(your app should not be closed) then that case happens from pause to resume

  • @dineshm8181
    @dineshm8181 7 років тому

    what will happen if we go to previous activity whether it calls resume() or restart()?

    • @tellvivk
      @tellvivk 6 років тому

      It calls onResume()

  • @LMETFY
    @LMETFY 5 років тому +1

    good people go back, back ,back!
    bad people minimize!

  • @mayankmaurya8028
    @mayankmaurya8028 8 років тому

    how do app which run in background like downloading or listing music make there activities??

  • @AnkitGupta-cf6mg
    @AnkitGupta-cf6mg 5 років тому

    Last oncreate() part in last minute video is not clear .

  • @Paint0nBrush
    @Paint0nBrush 7 років тому

    coolb3ans video bro

  • @jamespal8480
    @jamespal8480 6 років тому

    how to work android activity in application????

  • @naveenmehra8926
    @naveenmehra8926 5 років тому

    how to use it

  • @balaram9135
    @balaram9135 6 років тому

    Sir, my code was not showing error but in the emulator blank screen is displayed
    Can tell me the reason

    • @user-le6ts6ci7h
      @user-le6ts6ci7h 6 років тому

      Balaram kalva try running on your phone... or try buliding gradle again

  • @rajasekharbhupathi4598
    @rajasekharbhupathi4598 7 років тому

    Someone please tel me
    Have made an arrow from pause() to resume() ,what happens there?

    • @saroasahamed
      @saroasahamed 7 років тому +11

      When a small activity like whatsapp popup message comes in front of your own activity automatically "onPause()" method will be called and after closing that whatsapp message window automatically "onResume()" method will be called

  • @AmmarRai
    @AmmarRai 6 років тому

    Welcome back "Aliens???" Hain??

  • @amtechsolutions6921
    @amtechsolutions6921 3 роки тому

    So he is teaching the aliens to code so they can take over the world... Love his tutorials..

  • @090-jellabharath2
    @090-jellabharath2 4 роки тому

    Some what you have to improve somewhat not clear

  • @ayushman_sr
    @ayushman_sr 6 років тому

    why start() and resume() different.
    when we go pause() to resume()?