Open in app

Sign In

Write

Sign In

Hossain Khan
Hossain Khan

157 Followers

Home

About

Pinned

Using custom domain for GitHub pages

Recently I decided to host my personal portfolio site using GitHub pages. Even though they have very detailed instruction on how to setup a custom domain, I found it cumbersome to get to the right information. 🙄 Here are 2 key steps to setup your GitHub pages enabled project to…

Github

2 min read

Using custom domain for GitHub pages
Using custom domain for GitHub pages
Github

2 min read


Pinned

How to take your beginner Android skills to the next level by studying open-source Android Apps

This list of open-source Android apps may come in handy if you have grasped all necessary concepts to develop Android application and you think you are ready to work on an application that follows industry standards. …

Android

6 min read

How to take your beginner Android skills to the next level by studying open-source Android Apps
How to take your beginner Android skills to the next level by studying open-source Android Apps
Android

6 min read


Sep 6

Using SQLDelight 2.0 with PostgreSQL for JVM

Recently I wanted to do some experiments with saving JSON data into a database and found out that PostgreSQL supports JSON as a data type. I also wanted to use the fantastic SQLDelight library that creates type-safe models and queries for any database (it’s also multi-platform supported). While trying to…

Postgresql

2 min read

Using SQLDelight 2.0 with PostgreSQL for JVM
Using SQLDelight 2.0 with PostgreSQL for JVM
Postgresql

2 min read


May 2, 2021

Kotlin coroutines error handling strategy — `runCatching` and `Result` class

I am trying to learn Kotlin coroutines, and was trying to learn more about how to handle errors from suspended functions. One of the recommended way by Google is to create a “Result” class like the following: sealed class Result<out R> { data class Success<out T>(val data…

Kotlin

3 min read

Kotlin coroutines error handling strategy — `runCatching` and `Result` class
Kotlin coroutines error handling strategy — `runCatching` and `Result` class
Kotlin

3 min read


Aug 6, 2020

Quick Trick — Use Android’s Animated Vector Drawable as ProgressBar

Android’s ProgressBar widget comes with lot of customization controls and flexibility to set custom animated drawable. However, setting AnimatedVectorDrawable is not one of the option. So, this is a quick trick on how to use custom ImageView to create indeterminate progress indicator using Animated Vector Drawable (AVD). class AvdLoadingProgressBar @JvmOverloads…

Android

2 min read

Quick Trick — Use Android’s Animated Vector Drawable as ProgressBar
Quick Trick — Use Android’s Animated Vector Drawable as ProgressBar
Android

2 min read


Jul 18, 2020

Source code syntax highlighting on Android — Taking full control

Android and it’s community has evolved a lot over past decade. Now a days we can find open-source libraries to do almost anything — Zoomable ImageView, CameraX, RecyclerView Sticky Header, Tooltip, and many more. Syntax highlighting is one of them and there are few libraries for that too. …

Android

4 min read

Source code syntax highlighting on Android — Taking full control
Source code syntax highlighting on Android — Taking full control
Android

4 min read


Jul 5, 2020

Dark mode for medium.com — why doesn’t it exist (yet)?

I have love and hate relationship with Medium with a much higher percentage towards love 🥰. I have been craving for 🌗 dark/night-mode support for the web site for a long time. Thankfully they already support dark-mode on the Android & iOS app 😍.

Dark Mode

3 min read

Dark mode for medium.com — why doesn’t it exist (yet)?
Dark mode for medium.com — why doesn’t it exist (yet)?
Dark Mode

3 min read


Jun 16, 2020

Setup Android Gradle based Firebase App Distribution with Github Actions CI

This is a quick guide on how you can easily set up Github Actions CI workflow to automatically post APK to Firebase App Distribution on merge to release or master (or soon to be known as main) branch. Firebase already has an excellent guide 🏆 on how to set up…

Android

3 min read

Setup Android Gradle based Firebase App Distribution with GitHub Actions CI
Setup Android Gradle based Firebase App Distribution with GitHub Actions CI
Android

3 min read


May 24, 2020

Hackathon: Creating the simplest Muzei Wallpaper plugin for Android

I have a hobby of taking a lot of pictures, and some of the pictures do turn out nice (at least to me 😊). So, I’ve also created a web portal to showcase those pictures 🖼️. As an Android engineer, I was aware of Muzei Live Wallpaper app created by…

Android

2 min read

Hackathon: Creating the simplest Muzei Wallpaper plugin for Android
Hackathon: Creating the simplest Muzei Wallpaper plugin for Android
Android

2 min read


May 23, 2020

Use node.js tools on GitHub actions CI workflow

On April 14th, 2020 GitHub announced a major change in their plans to allow free private repositories. It’s a good time to make use of their free CI/CD known as “Actions”. Private repositories have 2000mins/month and public repositories have unlimited minutes (see pricing). This is a quick write-up on how…

Github

2 min read

Use node.js tools on GitHub actions CI workflow
Use node.js tools on GitHub actions CI workflow
Github

2 min read

Hossain Khan

Hossain Khan

157 Followers

Passionate Android developer and curious tinkerer!🤖 Knowledge is power🦸! Share freely!📚 https://hossainkhan.com/

Following
  • Manuel Vivo

    Manuel Vivo

  • Chet Haase

    Chet Haase

  • Daniel Vassallo

    Daniel Vassallo

  • Joe Birch

    Joe Birch

  • Shah Galeeb Ahmed

    Shah Galeeb Ahmed

See all (49)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams