I'm Learning Kotlin By Creating Apps - This is my journey so far. [Part 1/2]

I'm Learning Kotlin By Creating Apps - This is my journey so far. [Part 1/2]

šŸ§ Objective: Learn Kotlin by creating apps

šŸ¤“Help: Android App Development Masterclass using Kotlin

šŸ“šTechnologies: Kotlin, MaterialUI (& Github)

šŸ’»Editor: Android Studio

āŒ›ļøDuration: About 4 weeks

ā–ŗ In this post you'll find 4 apps.

ā–ŗ To create these apps I followed the tutorial "Android App Development Masterclass using Kotlin" from Udemy, instructed by Tim Buchalka and Jean-Paul Roberts.

ā–ŗ In every application, I tried to learn and create something different. These apps are far from perfect, but it's a sample of my work and learning progress.

ā–ŗ In the future, better apps are going to be added.

1. Calculator App

Calculator App

About the calculator: It is a very basic calculator where you enter numbers using the apps buttons. It performs the calculation when any of the operation keys are pressed (plus, minus, multiple and divide). It works both in landscape and in portrait view.

I worked with:

  • Group widgets, to see how I can do things like constraining them to be positioned as a group, as well as common properties for multiple widgets at the same time.

  • OnClickListener: so that the same method can be used by multiple buttons

code | demo

2. Top 10 Downloader

Top 10 Downloader

About the To 10 Calculator app: You can find the top 10 most famous apps currently on app store! Or you can see the same list with 25 results and even change it to show songs, paid, or free apps.

I worked with:

  • Downloading data over the internet, running task in the background using AsyncTask (which although in java works well in kotlin it is not recommended)

  • Parsing XML to extract data from a download feed

  • The list ListView widget for displaying a scrollable list of items (which is not a very modern method, but for simple projects, it works fine)

  • Adapters for providing data to ListViews

  • Creating a menu/sub-menu for the app

code | demo

3. Simple YouTube Player

Simple YouTube Player

About the simple youtube player: With this app you can see a particular video or a playlist from youtube. There are also small hints while the actions that are being performed, such as "video paused" or "video stopped".

I worked with:

  • Youtube android player API and Google API key
  • Adding widgets dynamically
  • Intents

code | demo

4. Flickr Browser

Flickr Browser

About the Flickr browser: It allows us to query and download a list of recent photos from the hugely popular Flickr website.

I worked with:

  • Material Design: Google introduced material design in android5, Lillipop (API 21) to encourage good design and allow a consistent user experience across different platforms and device sizes
  • Making an app compatible with previous versions
  • Downloading JSON data from the web (using AsuncTask)
  • Callback functions and interfaces
  • RecyclerView and RecyclerViewAdapter (which like a younger brother of the ListView)
  • Listening for taps on a RecyclerView, and the purpose of a GestureDetector
  • Themes and styles, and a look at how they work for different versions of Android
  • Searching with multiple tags

code | demo


šŸ‘‹Hello, I' m Eleftheria, an app developer, master student, freelancer, public speaker, and chocolate lover.

šŸ©Would you care about buying me a coffee? You can do it here: paypal.me/eleftheriabatsou but If you can't that's ok too!

šŸŒˆYoutube | Codepen | GitHub | Twitter | Site | Instagram

Did you find this article valuable?

Support Eleftheria Batsou's Blog by becoming a sponsor. Any amount is appreciated!

Ā