Make Your First Simple Android App with Kotlin (Android Kotlin Tutorial for Beginners)

Поділитися
Вставка
  • Опубліковано 4 жов 2024
  • Start saving time now by planning weekly with Week Sweep: bit.ly/2Jf3QA0
    In this tutorial you will learn how to make android apps in Kotlin.
    Kotlin is a new official language for Android development. It's certainly a step towards safer, readable and quicker to write code.
    Kotlin supports properties, you don't have to call "findViewById()", and it also tries to get rid of the dreaded null reference exception.
    Whether you are a complete beginner who is just starting out in Android app development or you are a Java Android developer looking for something new, you cannot go wrong with Kotlin in Android.
    Get the code from this tutorial: wp.me/p8jOJP-5y
    Go to my website for more information, code examples and articles:
    ● resocoder.com
    Follow me on social media:
    ● / resocoder
    ● / resocoder

КОМЕНТАРІ • 141

  • @nayviler
    @nayviler 4 роки тому +14

    Thank you for this tutorial! So many videos are aimed at people with absolutely zero development experience, which is very frustrating as they often go way too slow. I'm new to mobile development, but I have a fair amount of programming experience, so this video is just about the right pace for me.

  • @ghrasko
    @ghrasko 4 роки тому +3

    I just made it 2 years after the creation of this tutorial and though versions changed since then, it worked like a charm. I am an absolute beginner in Android development and Kotlin (just completed two Linkedin courses), but i could follow it easily. In two or three cases I checked the Android development documentation so that I really understand what is going on, but that's all. It was very usefull as we had started from scratch and used even some advanced features as lambda functions.
    Thanks very much!

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

    Too quick. Not used to either xml,java, or kotlin.

  • @warTag68
    @warTag68 6 років тому +259

    Too fast for a beginner. Not enough details described. Basically this tutorial is "write down what I write and hurry the hell up" .

    • @ResoCoder
      @ResoCoder  6 років тому +19

      I think the pace of this tutorial is good. Thanks for your feedback.

    • @warTag68
      @warTag68 6 років тому +39

      Pace is ok, but you are skipping lots of details. I think lots of ppl would agree for a 5min longer video at same pace but you just including more details. Now it's just "Do a b c d and it will work"

    • @matiasgutierrez5752
      @matiasgutierrez5752 6 років тому +1

      That's a more valid opinion, the last one was a simplistic critic of someone else's work for nothing. But either way, everyone else in the comments thinks otherwise so...

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

      Yes it seemed very frantic. It was a good tutorial, but would be nice if it went at a more relaxed pace so I actually have time to follow along.

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

      I personally think the video does a great job of producing something simple while at the same time avoiding specific details that might discourage beginners. Although it would be nice to have a separate video that goes more into depth of what's going on. Anyways, keep up the good work! Loved the video!

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

    Great video. Perfect speed for me. I'm coming from iOS so I do have some background on how mobile dev works in general. I could see how a complete beginner might be lost though.

  • @abiodunoyetomi2126
    @abiodunoyetomi2126 6 років тому +27

    Please do a full kotlin programming tutorial.

  • @kylehoff1506
    @kylehoff1506 3 роки тому +5

    Need to watch these videos in 0.5X speed , mans is motoring through everything , what the heck

  • @seanotoole7267
    @seanotoole7267 4 роки тому +2

    Very informative, I've only just learned the fundamentals of kotlin, watching a few videos just to see code being written, as I know variables, arrays, boolean ect ect but writing code is quite daunting 😄👌

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

    Even coming from web development with HTML, CSS and Javascript, this tutorial was a little fast to follow as it was my first time developing in such an unfamiliar environment. You may want to break down the key components and tools of Android Studio first before diving into the tutorial.

  • @manuelos94
    @manuelos94 6 років тому +18

    it sounds like a tts talking but also like a human
    your voice is in between them

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

      Thanks, I guess 😂

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

    It is a fast tutorial but if you change the speed to 75.0 or 50.0
    It is much easier
    Also this version works on the latest android studio versions like 3.6

  • @muralidharanv.s2294
    @muralidharanv.s2294 4 роки тому

    Nicely explained. was able to get it going in about half hour. Thanks so much. Looking to more

  • @laylaonlyandonly
    @laylaonlyandonly 3 роки тому +1

    Thank you. This is what i find

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

    I also added a ValueAnimator so the textView counts down as it flips:
    button_reset.setOnClickListener{v ->
    //creates a animator object that decreases number
    val animator = ValueAnimator.ofInt(seekBar.progress, 0)
    animator.setDuration(1000)
    animator.addUpdateListener {
    textView_progress.setText(animator.getAnimatedValue().toString())
    }
    animator.start()
    textView_progress.animate().rotationBy(360f).setDuration(1000)
    .translationY(initialTextViewTranslationY)
    seekBar.progress=0
    }

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

    I can'T run app luncher in android studio. What missing from my instalation?

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

    This is completely not for beginner in kotlin. I am coming from ios and only because of that got most, but still there were parts that were unfamiliar. No explanations are given, in fact why touch animations at all for the first app? or methods. with no explanations.

  • @iZoom-xo5eb
    @iZoom-xo5eb 4 роки тому

    Thanks for the hand-on video.
    Just mark it the day I "built" my firs Mobil app :-)

  • @kazumak.1542
    @kazumak.1542 2 роки тому

    The pace is super sonic style. please slow down if its for beginners

  • @AnthonyPrechtl
    @AnthonyPrechtl 4 роки тому +2

    I want my find view by id back and I want to type it every time.

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

    the val you create initialTextViewY is not a call in my version, the latest version as of 1/5/20. Where is there documentation to look stuff up like this, and don't say Google, 'cause I did that... but for real?

  • @lshomedesign
    @lshomedesign 3 роки тому +1

    Thank you so much 💐💐💐💐💐

  • @Averagesasquatch
    @Averagesasquatch 6 років тому +1

    Definitely like the format. I want to get some momentum going and just copy things at first. Then I can worry about learning in depth later. Thanks for the video. Gotta try it when I get home!

  • @vaibhavjadhav4405
    @vaibhavjadhav4405 6 років тому +1

    Really nice app for beginner and for me also. All the best

  • @supreemmdb2
    @supreemmdb2 4 роки тому +2

    It's a bit too fast for this Novice guy... New to programming in an IDE, as well as Kotlin.

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

    Thanks for the tutorial, coming from vue nativescript and looking to implement some native features so I try them out first native before adding the complexity of plattform independence. Therefore the speed was good, had to pause and rewind a few times though, could not find the implement members feature, I am using Android Studio 3.5.

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

    You mention how to do it but do not why to do it. Like "anchoring", we should anchor this and that. But what does it even do? This tutorial is for sheep and not humans...

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

    How is that code running ?
    R.dimen doesn't exist, it's R.dimens

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

    Very informative, Thanks man... Could you make deeper topics about c# for example : about serial ports ..

  • @thenickstrikebetter
    @thenickstrikebetter 3 роки тому +1

    Is there a way to code this on a phone since i want to code things but i cant get a pc as of now

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

      You would have to use dynamically type languages like python or javescript as I don't think you would be able to compile and run the files, without modification and 3d party emulators

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

    \build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:307: error: invalid dimen.
    Getting this error... can't understand why.
    Can you help me?
    5db

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

    My flip animation only works on the first button press

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

      I figured it out. I put .rotation() instead of .rotationBy().

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

    instead of using android studio can i use vs code

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

    i receive error at the step 4:30 progress.tostring()

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

    Thanks buddy, you got a new subscriber

  • @TamimProduction
    @TamimProduction 6 років тому +1

    Hey man ! nice video , very informative as usual...Thank you..
    i'm kinda confused between Xamarin or AnroidStudio... what do u think ? should we switch to the NewBorn language (Kotlin) Java based , or let's just stick on the Microsoft .NET based Language(C#)?

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

      Thanks! If you want to make only Android apps, I would go with Android Studio and Kotlin (or Java).
      If, however, you intend to also make apps for iOS or Windows, I'd choose Xamarin - you can write the main chunk of code only once and then use it for all the platforms.
      Actually, I'm releasing a video about whether you should choose Xamarin or Android Studio this Friday!

    • @TamimProduction
      @TamimProduction 6 років тому +3

      i heard that kotlin is a cross-platform language as well ! i've just downloaded and setup my android studio! and it so much easier and helpful than xamarin for visual studio ( like working with the designer and the code preview doesn't require u to rebuild or wait too much as in VS2017) also the auto complete text is awesome and so much easier... i'm thinking to buy a mac soon, i guess xamarin studio will be a great choice!

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

      @@TamimProduction hello how's is ur progress in android dev

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

    Nice tutorial; However, I have a problem.
    When I press the "Reset" button the seekBar and the textView reset but it doesn't do any rotation animation.
    I am testing the app directly on my phone which have the Oreo (8.1) version. Any help?
    Thank you so much
    BTW: I tested on the Android emulator and it works but not on my phone with Oreo (8.1) version

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

    what is your ide theme and font name and size ? thank you

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

    Yeah but why not make the seekbar go to 11?

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

    What font are you using for the editor in Android studio?

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

    reso coder help me please. I can't simulate the app. The app isn't shown in the emulator. I did all the code you said. I'm withe the newest version. Please help me thanks

  • @FaizKhan-mu4dt
    @FaizKhan-mu4dt 6 років тому

    Build a temperature convertor app from Celsius to Fahrenheit vice versa in kotlin

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

    Mine was already at 10. I guess someone saw this tutorial and updated android default seeker settings to match lol

  • @sharifulislam-pd3sj
    @sharifulislam-pd3sj 5 років тому

    It's awesome. Thank you.

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

    Great Content keep it up bro!

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

    Hi, thank you for your videos they're very helpful. I was trying to figure out how to change the speed of the upward animation of the text view, but couldn't do it. I noticed it started slow then sped up Can shed some light on that please?

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

      It sped up because instead of 1-100 he set the max to 10 (less numbers to go through = faster animation in this case)

  • @عبداللهاحمد-ذ1ش3ش
    @عبداللهاحمد-ذ1ش3ش 6 років тому

    Thanks for the Tut Appreciate that 😊

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

    I cant refer on mainactivity from view!

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

    "for beginners"? ha.ha.ha. Beginners all that can get is to follow steps without understanding what's going on. Nothing really explained, just telling write this or that... but why? what this means? what it does? not really. This is not for beginners. This is for people who have advanced java skills and want to switch to a new language. For true beginners this doesn't make any sense.

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

    awesomeee, love it please moree

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

    Got a stupid question... is this human voice ? It doesn't sound like a human, but is there such thing as computer voice with foreign accent ?

    • @ResoCoder
      @ResoCoder  6 років тому +1

      I am a robot 🤖 Nice to meet you.

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

      I hear some Russian (:

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

      Нет, but close enough. I'm Slovak 🇸🇰

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

    how do i get the app into my phone?

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

    No findviewbyId? Awesome.

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

    Guys why am I getting this when trying to implement members:
    public abstract fun onProgressChanged(p0: seekBar!, p1: int, p2: Boolean)
    I've done exactly the same as he did. Literally 2 lines of code. I don't understand what is wrong.

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

      Just move on and try to find proper intro. I'm giving up and moving on. Language (kotlin) has been changed and this "tutorial" no longer valid. And it's not really a tutorial anyway, just one-time show-off, now abandoned.

  • @MrSerozka
    @MrSerozka 6 років тому +1

    what font do u use in Android Studio?

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

    Good video.

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

    Very good tutorial .. thank you

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

    Thanks!

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

    thanks man for the tutor

  • @matuskurjak5090
    @matuskurjak5090 6 років тому +3

    pecka braško 👌👍

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

    Hey man, great way for beginners to get started on Android dev't.. question, how do you get your emulator to load almost instantly? takes no less than 15mins for me to start the emulator. using i5 4gb RAM. i know its not so much but i get 20-30mins to load

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

      Install intel haxm

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

      With using the emulator, Android Studio seems to use between 8 and 10GB all up in Windows 10.
      So, with only 4 GB Total RAM, your going to be swapping badly.
      Translation: Massive slowdown due to not enough RAM.

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

    No FindViewByID in Kotlin? Awesome :D

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

    great video bro, how can I see user name and password on a save pokemon go backup apk? I lost my password and user name to login

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

    What emulator do you use? It's SO FAST!!!

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

      LOL. He is cutting the waiting time. Watch carefully, you can see it when your looking for it.
      If you hook up your actual phone, it runs much faster

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

    Can you share you awesome theme please.

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

    how to get "Design" tab in Android Studio??

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

      you have it in activity_main.xml at the left bottom , next to the "Text" .

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

    How in the world is this for beginners !?

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

    After 2:00 my android studio doesn't have any of that

  • @Peradaban-et5bx
    @Peradaban-et5bx 6 років тому +2

    What a great Tutorial! it's very detail. That's what i looking for.

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

      I'm glad you like it!

    • @Peradaban-et5bx
      @Peradaban-et5bx 6 років тому

      Can you make tutorial how to create apps in Kotlin with a database file (*.db) next time? I need read the database but not include create, update and delete with navigation drawer and list view. Because i wanna learn it more.

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

    Too slow, I set the speed to 2x then recorded it on my phone then uploaded it back to YT and set it to 2x again and I can just about follow along without falling asleep.

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

      calm down m8 , get off ya high horse ya wee egotistical geek

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

      That's too slow mate, I just used UA-cam's seekbar and went straight to the end. Took me less than 2 seconds

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

    This is an AI teaching us human. I am seeing the future of education.

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

    This looks outdated, if you are running a newer version of kotling move on

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

      Actually I am getting a dimen error... can it be related with Kotlin version or no?

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

    This tutorial is "simple" if you already know JAVA

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

    ⚠️WARNING⚠️ do not use this tutorial it's outdated and doesn't work

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

    Flutter is better

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

    How to make a WhatsApp status downloader app please help me I don't mind paying $10 for this I know its little but please help

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

    too fast, this is not for beginners

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

    More pls

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

      I have more tutorials on Kotlin Android development. Check out this tutorial course: ua-cam.com/video/xtElLuzjA0U/v-deo.html

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

    This dude sounds like iddubz's european accent lmao.

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

      Oh come on! It's not that bad 😂

  • @akramakram-fr7xy
    @akramakram-fr7xy 5 років тому

    hi i have an app idea can you develop it for me and .

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

    Thears no designer

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

    1:12

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

    Java and Kotlin are so cofusing to program. We can do that in HTML in 5 line of code. To meny fucking stuff you must use to bring one fucking zero to roll over! Nov emagine you must to paint your house every time before you want to enter on the door!

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

    Please help! It just won't work even when I copy the code from your website... "android.support.constraint.ConstraintLayout" is always underlines red stating that xmlns:android="......."has to start with , but even when I do that, It simply won't work

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

    Thank You!