Splash screen | Launcher Activity | Android

Поделиться
HTML-код
  • Опубликовано: 18 сен 2024
  • In this video we will be looking at how to make a Splash screen for an Android application. Its a simple tutorial but very useful for making app look professional.
    ⭐ Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. I've been using Kite for 6 months and I love it! www.kite.com/g...
    FREE $100 credit @Digital Ocean: m.do.co/c/3208...
    Patreon: / trulymittal
    Subscribe: www.youtube.co...
    Github (Tutorial): github.com/tru...
    ---------------
    What I use
    ---------------
    Mouse: amzn.to/2O9RJtu
    Keyboard: amzn.to/2qxajCU
    Keyboard 2: amzn.to/2XDWH4X
    Monitor: amzn.to/2pDg7dH
    Processor: amzn.to/347WWIb
    RAM: amzn.to/2QEkUqw
    Graphics: amzn.to/33aBrF4
    Microphone: amzn.to/2DabdI9
    #yoursTruly #splashscreen #android #java #programming #tutorial #howto

Комментарии • 57

  • @gurubhai4918
    @gurubhai4918 Год назад

    i've seen so many of your android tutorials, amazing proper way of coding and design, pls post more android firebase firestore videos, thanks Mittal

  • @mutianzhu5128
    @mutianzhu5128 3 года назад +2

    I've watched so many tutorials and this is the best implementation so far.

    • @AlonS0o
      @AlonS0o 3 года назад +1

      100% Right! I've struggled around a lot until I found it. Thank you!

    • @mafiacodes
      @mafiacodes  3 года назад

      Subscribe like share

    • @AlonS0o
      @AlonS0o 3 года назад +1

      @@mafiacodes Just did! You are a great teacher thank you!

  • @mobiusgrey9522
    @mobiusgrey9522 4 года назад +1

    Thanks so much man, I've watched so many of these tutorials and none are as simple to follow as yours, I've been trying for hours to get a splash screen, wish I'd seen this vid first :)

  • @jaredr3020
    @jaredr3020 3 года назад +1

    Loved the tutorial. One problem I had was the splashscreen image flickering. I fixed this by calling finish() after starting the activity from the splash screen activity.

  • @julianrenteria1962
    @julianrenteria1962 4 года назад

    I have seen more than 15 tutorials and none worked for me. Until by chance I found yours, although I don't understand your language just by doing what you do, it worked perfectly for me ..... THANK YOU BROTHER PS...No hablo ingles lo anterior lo traduje con google así que si no se entiende me disculpo

    • @mafiacodes
      @mafiacodes  4 года назад

      me alegra que te haya gustado mi tutorial, un video tiene más de mil palabras, gracias 😊, suscríbete como compartir

  • @redpaw1234
    @redpaw1234 3 года назад +1

    thx btw how do i add text on the splash screen? is it possible

  • @julianmrts7414
    @julianmrts7414 2 года назад +1

    perfect

  • @bikkikumarsha
    @bikkikumarsha 4 года назад +1

    flawless

  • @yahyafati
    @yahyafati 3 года назад

    Loved It

  • @codingvalley9905
    @codingvalley9905 5 лет назад

    Very well explained

  • @andrewdavies5722
    @andrewdavies5722 4 года назад +1

    Great tutorial. Why is using a layout file considered _the wrong way_ though?

    • @mafiacodes
      @mafiacodes  4 года назад +3

      Because layout files need to be inflated before it is displayed. Whereas the splash screen should appear asap, therefore we should not use layout files or dummy activity, in case you wanna show off ur splash screen then u cn use a dummy activity to pause for a second or so.
      Subscribe like share

    • @MrSupervillin
      @MrSupervillin 4 года назад

      yoursTRULY yes but then there goes that hated white flash before the logo display.

  • @shalinikannan3716
    @shalinikannan3716 4 года назад +1

    Thanku so much

    • @mafiacodes
      @mafiacodes  4 года назад

      Most welcome, Subscribe like share

  • @abdelazizfathallah3198
    @abdelazizfathallah3198 3 года назад

    thanks alot

  • @dimitrikravtsov4798
    @dimitrikravtsov4798 2 года назад

    Hi, I can't set the logo, what may be the problem?

  • @shubham_mane0
    @shubham_mane0 4 года назад

    Very good tutorial..but can i add name when our icon show in accent color..
    Means to add developed by text at the bottom..help

    • @mafiacodes
      @mafiacodes  4 года назад

      Yup u can

    • @shubham_mane0
      @shubham_mane0 4 года назад

      @@mafiacodes but how..?
      I don't hv that knowledge..
      Can u make an video ?

  • @themoddermods6097
    @themoddermods6097 3 года назад +1

    wow

  • @moazelsawaf2000
    @moazelsawaf2000 4 года назад +1

    Thanks

    • @mafiacodes
      @mafiacodes  4 года назад

      Subscribe like share😊

  • @prathiv5203
    @prathiv5203 4 года назад

    Lv u bro , nice video ...can you please make firebase push notifications plzzzz ... Reply please

    • @mafiacodes
      @mafiacodes  4 года назад

      Will make bro, have stuff lined up

    • @prathiv5203
      @prathiv5203 4 года назад

      @@mafiacodes thanks bro ...waiting for ur video ...l

  • @msopheak3371
    @msopheak3371 4 года назад

    thank you so much, and how to set duration for this launch screen (example i want it shows only 2 or 3 second) before loading to App????

    • @josephmota358
      @josephmota358 4 года назад +2

      Put this on SplashActivity.onCreate: Thread.sleep(3000);

    • @msopheak3371
      @msopheak3371 4 года назад

      Joseph Mota I am a beginner so I cannot do it, please kindly show me. Thanks

    • @therebeliant3969
      @therebeliant3969 4 года назад +1

      @@msopheak3371 Imo it is not good idea, splash screen should be visible only when your application ui is being created. It is annoying when you always have to wait needlessly

    • @mafiacodes
      @mafiacodes  4 года назад +2

      Never let the use wait unnecessarily

    • @msopheak3371
      @msopheak3371 4 года назад

      @@therebeliant3969 thaks for your advice, but i need an example or video for example.

  • @Info-dj7qs
    @Info-dj7qs 3 года назад

    sir I have a app which takes sometime in loading images . using splash screen in this app is a good idea or it irritates the user or there is another way that i can replace loading time with a splash screen .

  • @vinitadeepak6319
    @vinitadeepak6319 3 года назад

    Hello my app doesnt show splash screen but pressed back it do goes in splash screen.

    • @mafiacodes
      @mafiacodes  3 года назад

      Haven’t u used this.finish

    • @vinitadeepak6319
      @vinitadeepak6319 3 года назад

      @@mafiacodes i have used nohistory in manifest,where do I need to use this.finish?

  • @vipindutt3468
    @vipindutt3468 4 года назад

    How to hold splash for couple of seconds

    • @mafiacodes
      @mafiacodes  4 года назад

      U shud not!
      But if u want u can go to main activity after sleeping the thread or using a timer

  • @Manikandan-qc7ei
    @Manikandan-qc7ei 5 лет назад

    How to hold the splash screen for 2 seconds.?

    • @mafiacodes
      @mafiacodes  5 лет назад

      You should not hold, but incase you want thn you can start mainactivity after 2 seconds
      SUBSCRIBE LIKE SHARE

    • @joycedasilvapinheiro6606
      @joycedasilvapinheiro6606 5 лет назад +3

      I made the splash screen two seconds on the screen using Handler. I hope to help you with this. Sorry for english. dontpad.com/2seconds

    • @cuddy5958
      @cuddy5958 4 года назад +1

      Joyce Pinheiro Thanks ❤️🥵

    • @arunachalamk1145
      @arunachalamk1145 4 года назад

      Use handler.postDelayed(new Runnable (){
      Start your activity
      },2000);

    • @tarekhusam
      @tarekhusam 4 года назад +1

      @@joycedasilvapinheiro6606 thank you dear !

  • @AbhishekSingh-gb6ku
    @AbhishekSingh-gb6ku 4 года назад

    App is crashing frequently

  • @MrSupervillin
    @MrSupervillin 4 года назад

    The splash screen is too fast

    • @mafiacodes
      @mafiacodes  4 года назад

      It has to be, it’s not something to show off the logo, it’s the time app takes to load

    • @innovativeduniya
      @innovativeduniya 3 года назад +1

      @@mafiacodes you give true knowledge, because it's the time to load app , example: youtube sometimes take longer time , sometimes in few milliseconds. Thanks😀👍