Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

HF Rulez the UniverseHF Rulez the Universe
FractumSeraph
I will save you, I swear.
Android Programming Coding Kotlin Beginner

My Android Development Journey - Part One

Posted May 22, 2020 12:47 PM
Learning To Build Android Apps

I've attempted to learn how to make android apps in the past, but something would always get in my way so I wouldn't have time.  Now with the Covid-19 crisis going on, I find I have a lot more time on my hands. I've decided to give this another shot, and my goal for this blog is to use it for accountability.

I'm going to try to make my journey as easy to follow as possible, so if anyone else want's to learn they can follow my path.  I will provide links to whatever resources I'm using and be as transparent about my process as I can be. Any time I make something that's actually usable as a self-contained app, I'll try to make a github repo for it and provide access to that as well.

That being said, this is NOT a tutorial series. Seeing as I don't even know it myself, I can't teach you. For example, most tutorials walk you through how to set-up and install Android Studio. I will not do that.  I will tell you that I am using Android Studio 3.6.3 downloadable from here.

So let's get started.

To start, I've done the very basic "First App" documentation you can find here.  I've done this before, but I  went ahead and restarted everything from scratch.  Honestly this one isn't very in depth anyways.  
Here is what I've learned so far:
  • First it introduces the Constraint Layout, which is new enough that a lot of other tutorials start with Relative layout instead. (Even though it's not actually that new.)
  • Next we get a quick Introduction to the string resource file. The file that contains all the strings present in your apps UI.
  • Then it went into more detail about how the constrain layout works. I'll admit that I don't fully understand this yet, but most of it seems to making sense.
  • Moving on to the Kotlin side of things, we not make some code to run when the user taps a button.
  • We get a very short introduction to Intents, which I was pretty confused about for a while when I tried this last time.
  • Lastly, we use an intent to send a message to a second activity.

At the conclusion of this basic walkthrough, we are left with a basic app with a textview and a button.  Clicking the button will open a new activity that displayes that text.

[Image: YFPfoCd.jpg]

[Image: OqDPetN.jpg]
Aug 19, 2020 02:23 AM
Nice mate, I'm also interested in this field.