Android Kotlin: Introduction to Android Studio and FizzBuzz
Вставка
- Опубліковано 25 сер 2017
- Android development is a lot of fun in my opinion. The Android Studio IDE along with the Kotlin language make it a very enjoyable experience. In today's video, let's go over some of the basics of the Android Studio Editor along with some simple Kotlin language syntax by implementing the FizzBuzz algorithm using a for loop. Enjoy.
Instagram Firebase Course
www.letsbuildthatapp.com/cour...
Facebook Group
/ 1240636442694543
iOS Basic Training Course
www.letsbuildthatapp.com/basi...
Follow me on Twitter: / buildthatapp
beta 3 got removed, is it okay to follow with beta 2?
:)
Yeah Beta 2 is fine, I was using that for the past 3 weeks.
Lets Build That App, thanks man love your stuff! :)
Beta 4 is out.
That's completely fine. You can even use the 2.3.3 version by installing the Kotlin plugin :P
Been waiting for this for soooooo long Brian you are a true gent ! Thank you for all the hard work you put into these videos 👍
Thanks for helping me out for Android. I'm new in Android and started straight with Kotlin. Many Many thanks to you Brian to help me out....
Hell yeah! Love your pace. You explain the very basics(which is really great!) with good pace. You're gonna rock on "Kotlin on Android" videos on UA-cam.
Excellent videos! Lots of in depth knowledge and your overall visuals are great!
Thanks Brian! I have been waiting for this series! Super awesome!!
Amazing! Waited for this video for so long! I recently got an internship in mobile development and I have spent most of the time in Android. Android Studio makes android development much more enjoyable than it would be. I cringe when I think some years ago people had to develop android apps in Eclipse :D
Finalllyyyy!!! Thanks for the android content, looking forward to future android related videos :)
Thanks, Brian - fantastic to have this!
thank you for this and I also like the fact that you were talking about the equivalent of swift during the video and I hope you keep on doing this :)
Really looking forward to the Kotlin series!
Brian you hit the spot ! I started to learn android week ago .
Hey , Im so glad that you have started the Android development tutorial. I know you gonna rock this development too. I have seen all you IOS tutorials. But Im an Android developer so I always wanted to watch all your logics regarding Android. Kotlin has made Android development more fun and interesting. Looking forward to watch some interesting series. Do teach us any social media app , e.g facebook or insta and do tell us the business logics to create custom view and threading etc. Best of luck
Everytime I hear you, I feel like I'm listening to a soothing late night show on a radio :)
Glad the investment in good microphones have helped.
Great as always! Looking forward for the next android stuff.
Welcome back. i hope to go fast to advanced topics. facebook feeds is excellent choice. thanks Brian.
We'll learn to build Android interfaces without XML (just programmatically)! Thank you, Brian!!!
It is very good that you started doing videos on Android.
always awesome stuff Brain. I wish your first project is a concurrent project to your iOS series like Twitter, Firebase Instagram or something like that....
I guess it is all good :) all the best and you got me hooked bro!
Awesome! Thanks! A good start!
Wow I was waiting for this for a long time .. Great Work
Very good video Brian, thanks.
Hey I love your iOS tutorial, and now you have Android ones! Keep up the great work!
this guy gonna rock the youtube 💪 👍
Rocking it hard.
Great was waiting and keep more coming.
I love how in your videos, whenever you make a mistake, you kinda just roll with it and make it sound like it's deliberate :P
Haha, there's only so much I can prepare. Luckily I've seen many of these silly Android Studio errors before so I can fix them somewhat easily.
Love the new format! It really helps to have an overview at the beginning. Thanks!
Indeed, getting everyone ramped up for a bunch of fun in the Facebook Feed series.
Lets Build That App By the way, I'm a Mobile Makers alum from Chicago. I think you mentioned you taught at Mobile Makers in San Fran.
Rafael Rincón yes sir I taught at the final cohort for mobile makers in SF
So excited to see you do Android! :D
Woohooo! Been waiting for this one
Brian brian Brian, You are the greatest man on earth. And I am willing to buy the paid course on Android similar to Kindle and Instagram if you create one.
Its great that we finally have some Android sweetness on here.
Yes Android! I have been waiting so long for this :)
Great, you moved to android. Keep doing it. Cheers.
finally android. Thank you 🎉🎉
Bro keep this one going!!! I'll make sure I like every video if that helps!!!
Thanks Brian for this!
Nice video! Enjoy the dark theme on Android Studio.
Amazing Brian
Hooray! 👏👏👏👏👏👏👏👏 Finally!
Cant wait for new android tutorials!!
Finally some Android. Thanks Brian 😁
Please please !!! .Making series video build 1 app android like series Swift. I'm so happy see u make video about android
Greetings from Portugal 🇵🇹
The best day of my year.
And it's not even your birthday.
Finally, the wait is over. Let's Build That App (Android)
Awesome!
cant wait for some more android videos
OMG! This is amazing. I just switched from iOS to android development and now you're doing tutorials for it!!!! Are you planning on using Kotlin for all of your android tutorials?
Hey Luke, for the most part I'll be using Kotlin to make these videos easier to follow. As you might already know, I don't go through extensive explanations of code and simply type it out for you guys to analyze on your own. Kotlin decreases the amount of typing and thus making it more straightforward to just "know whats going on"
The best in UA-cam, hence, on the Internet.
Thanks mr yang
How would you recommend getting into freelancing for Swift development? Any videos or resources you could recommend? Been developing swift for about 2yrs and have a app on the iOS Store.
I Love your videos. great voice, great flow.
is it possible for you to upload a complete android 3.0 tutorial that covers constraint layout and kotlin from scratch?
I think I'll be getting back to making more Android tutorials soon.
Does it make sense to make "age" parameter mutable using var keyword when you create a class constructor?
Brian you the best -:)
Java 11 has just been released, now Oracle charging for Java 11, but not JVM. I think this is the right time to start learning Kotlin now. It would be great if you have Android Development course in FULL Kotlin Brian
hello i enjoyed your kotlin videos and i need more
Thanks, how great are your needs?
Is it just me or is the audio out of sync with the video around 11:45?
Cool video
Emulator vs Simulator - In another OS environment, the Emulator was a machine environment that created a CPU environment that looked exactly like the hardware being emulated. A simulator was an application that read the application code and simulated the environment by interpreting the code and creating look-alike output results. Emulators are much faster since they are essentially running the machine code. Simulators are interpreters.
Finally :)
Im just starting with Swift and now this Kotlin comes. this is too much learning curve.haha.
+Totoy Bibo you're lucky Google is here for you in 2017. This info wasn't available 5 years ago
awsome
I am trying to learn android mobil development, would u tell me which combo is better ? kotlin with android studio or flutter with dart, ( or still the java with N studio)since they ALL created by google, thanks
For android dev, try them all and see which one you like.
finally
damn! Such good content. I really love this channel.. :O
Glad you're loving it. If you want more videos, make sure to check out the full Instagram Firebase course at www.letsbuildthatapp.com/course/instagram-firebase. Enjoy.
Hello bro . Do you have document about kotlin ?
Where have you lear Android? Can you suggest a book?
Hi, i love your videos. Could you do something with beacon?. Thanks a lot for the videos
Thank you Brian. I really appreciate the android tutorial. Are you live streaming tomorrow?
+Johan Albrectsen yeah most likely if I wake up for it
Lets Build That App I know the feeling
Yes!!!!
Thanls, when are paid courses coming?
It is recommended to use stable version than beta Android Studio IDE especially when you're making a tutorial videos, i mean who knows what might gone wrong during the recording.
Nice video though. but I'm not sure to start code in Kotlin because most of the APIs that I used is ni Java. Or is it easy to migrate?
Kotlin is simply a wrapper around the available Java APIs so no need to worry there. Regarding the stable version of Android Studio, because it doesn't come with the Kotlin plugin preinstalled, I'd just go ahead and use Beta 3. All of the things I'll be touching on is fairly straightforward and works perfectly on all versions from what I can tell.
Waiting for the huge Kotlin App Course
Are you switching over to android from iOS?
A took a lot less time for Kotlin to replace React(TM) than React(TM) to replace Java.
lets build that tutorial
Can you do some Flutter and Dart videos?
Brian, do you have paid course building android app using kotlin? I have tried to find but can’t find a good one, there are some courses on udemy but the accent of the instructor is not native english, and the app they build is just a dummy app.
It would be great if you build like instagram clone, but for Android using kotlin 😁
Yeah, let's see if I can release my kotlin instagram course by the end of this year.
Lets Build That App can’t wait 😁
count me in on the waiting list.It will be more awesome if it uses Firestore as the database. I am also an iOS developer who wants to learn about Android native using Kotlin because it seems very similar with Swift
@@LetsBuildThatApp same here, exactly what I need. please make Instagram clone on Android Kotlin, Briaaann!
I have a question which debugger form is better, from code or from pause process? 12:57
Not 100% sure what you mean, breakpoints are excellent, as well as print statements. They both have their use cases.
oh ok ok, thanks
Does that mean less iOS tutorials ? 🤔
any plans to have a course in kotlin?
I'll slowly put out more kotlin related videos, but it's pretty straightforward and similar to Swift. You'll see how easy it is to use once we get into some real projects.
architectures in swift please!
yeaaaaa
need a suggestion ? which language have more scope a kotlin or java ..
I am beginner want to start work on android .. thanks
Does it matter?
Lets Build That App no just for interest.
Learn whatever you find is fun.
Just found your channel, simply great. But one issue, its hard to stop our own little idiosyncrasies, however please try and stop saying "You guys". You'll be able to get through a lot more content. tyvm and again great vids and content.
+Alpine Womble yeah I really hate editing myself and watching all these strange little things as well
Hi Brian,
What do you think of ReactJs?
+Cons Bulaquena I love reactjs, I use it to build my website
But how about React Native ? I would love to see a video from you explaning in detail the scenerios when Native Development in iOS and Android is the way to go and when one can go for React native
10:40 AM Emulator: audio: Failed to create voice `goldfish_audio_in'
10:40 AM Emulator: qemu-system-i386.exe: warning: opening audio input failed
10:40 AM Emulator: audio: Failed to create voice `adc
can u give me a solution for this problem..... i did not find any solution in you tube..
"Ooo yes."
Brian is there a way to contact you privately over an issue i had
Hey Sal, you can reach me at www.savvy.is/profile/brianvoong
Kotlin is a fun language! Here's a way to do "FizzBuzz" using Int function extension and a nullable String -
fun Int.FizzBuzz() : String? = when {
this % 15 == 0 -> "FizzBuzz"
this % 3 == 0 -> "Fizz"
this % 5 == 0 -> "Buzz"
else -> null }
for (i in 0..30) i.FizzBuzz()?.let { Log.i(it, i.toString()) } // let? kinda like Swift!
Wow, thanks a lot for the syntax in Kotlin. I've gotta study up on the conventions of this new language.
Anyone else start to notice the audio didn't match vid t 14:50?
I think I was editing off of a Bluetooth headset at the time so the audio isn’t great.
man ilove u ilove what u dowin great effort but ineed ur help im so much learned how to make a one image fixed app on swift code which is very simple didnt learn much when im done and i watched ur videos ifelt lost didnt understand anything can u please direct me to the right direction or wat ijave to learn next im really lost thx love ya man
A lot of these videos are meant to act as a guide, you should just read the source code to see what it does and you should be good.
that means alot coming from u but what is the Source CODE
+Mohamed Kotp ummmmmmmmmmmmmmmmmm nvm
thx u for u effort any way sorry 4 disturbance
I understand your example of Swift and Obj-C but Swift is really seamless of Java.
I have no idea what "Swift is really seamless of Java" means.
@Simon Swift takes inspiration from many languages -- most notably C# and Python -- but not much from Java. Swift and Java are not related in any meaningful way. In fact, Swift is an obvious attempt to NOT replicate Java and its many mistakes.
I have a simple question for those of you guys who are more familiar with Android development than myself. Could someone please advise what is wrong with the FizzBuzz algorithm implementation below? Will it degrade performance a lot?
Thank you in advance!
====================
for (i in 0..300){
if ( ( i % 3 == 0 ) and ( i % 5 == 0 ) ) {
Log.i("FizzBuzz", i.toString())
}
if ( ( i % 3 == 0 ) and ( i % 5 != 0 ) ) {
Log.i("Fizz", i.toString())
}
if ( ( i % 5 == 0 ) and ( i % 3 != 0 ) ) {
Log.i("Buzz", i.toString())
}
}
====================
What iMac or Mac do you use ?
+Friendly CV old mbp, you can find a video on my channel about my setup
Can you give a link of this video?
It's in my stash of videos somewhere....happy hunting!
if ( i % 3 == 0 && i % 5 == 0 ){
Log.i("FizzBuzz", i.toString())
}
Wouldn't that work and be better ?
Better than what? You have two checks instead of one. The computer has to check for divisible of 3 and 5, vs just 15.
wow, Brian moves to Android family ~ cool, why Google or Microsoft don't make a iOS dev-tool ... either would do a much better job than Apple.
+Vg0x00 Apple doesn't even make xcode for other platforms such as GNU/Linux or Windows. You need Mac even for compiling hybrid WebView apps for iOS. Apple is doing everything to make you dependable on their products.
Also I don't think it is in Googles or Microsofts interest to make iOS a more dev friendly platform since they both compete against Apple on the same market.
dude i didnt find this video with keywords learn android development or androis studio i found it with learn kotlin you should change the description to match the keyword requirements explains the view count i guess
Good to hear, there's a lot more to the youtube algorithm though. Still learning the seo of this system.
Lets Build That App Happy to help, keep ip the gud work 😊
Bro please add retrofit viedio using kotlin
How do you use retrofit, I haven't used it before.
Lets Build That App it is a fastest JSON parsing method like string Request i am a beginner in Android app development so can u help me ?
Not bad)
First!
is onCreate similar to viewDidLoad?
Yes, onCreate is the method where you setup which UI file to load .
For more Read on Android Activity life Cycle.