Sign in

Hossain Khan

@hossain.dev
99 followers 106 following 635 posts

Passionate Android engineer and curious tinkerer. 🇨🇦🍁📱🏞️🍔📸🏖️🎧

PostsRepliesMedia
Hossain Khan @hossain.dev · 24/09/2026
I miss GitHub's deep integration with Copilot! 🤖 Using different harness in isolation is not as fun as seeing copilot work directly in PR!
000
Hossain Khan @hossain.dev · 23/09/2026
Google Play review cycle time has reduced significantly! Not sure if review time depend on app that is submitted 🤔 However, I will take the gain! thanks :-)
000
Hossain Khan @hossain.dev · 19/09/2026
@cloudflare.social I could not find any on-going incident about this - basically I can't login to my account as it fails to validate 2FA. First, it fails on API and then it keeps saying email is worng.
100
Hossain Khan @hossain.dev · 18/09/2026
Mind blown! Amazing tool! colorflow.ls.graphics
colorflow.ls.graphics
ColorFlow - Advanced Mesh Gradient Generator & Editor
Create stunning mesh gradients with ColorFlow. Professional gradient editor with real-time preview, customizable control points, and export options.
000
Hossain Khan @hossain.dev · 16/09/2026
Create app button in Google Play console is the least visible item! I understand app is not created monthly, or yearly - however it should not be as buried as it is now 👀
000
Hossain Khan @hossain.dev · 09/09/2026
Dogfooding my own library is allowing me to find new use-cases and gaps resulting in expanding it's capabilities! This is a short write up on how the streaming support was added and refined later. hossain.dev/posts/syntax... #AndroidDev #SyntaxHighlighting
hossain.dev
Extending Syntax Highlighting Library to Support Streaming Responses from LLMs
Extending the Compose Highlight library to support real-time streaming LLM responses with snapshot span preservation and newline-based highlight triggers.
001
Hossain Khan @hossain.dev · 01/09/2026
I have been toying with on-device LLM model based chat interface. Needed to add support for streaming source code highlighting. So, recently added `StreamingSyntaxHighlightedCode` composable to support this use case in latest release. github.com/hossain-khan... #AndroidDev #SyntaxHighlight
github.com
Releases · hossain-khan/android-compose-highlight
Simple lightweight library that leverages JS bridge to bring fast syntax highlighting to Android Jetpack Compose - hossain-khan/android-compose-highlight
110
Hossain Khan @hossain.dev · 30/08/2026
Not sure if #GooglePlay review is taking longer because overall there is backlog or because my app is new! 🤔
000
Hossain Khan @hossain.dev · 29/08/2026
I know there are mixed feelings about ADD (agent-driven development), however I seem to enjoy hands free development 👨🏽‍💻 There are a few downsides though - lack of ownership, accomplishment and fulfillment is one of them.
000
Hossain Khan @hossain.dev · 29/08/2026
This library intro and demo are pure delight! 🍬 The library demo site is the kind of work I aspire to build! 🤩 chromadial.sinasamaki.com
chromadial.sinasamaki.com
ChromaDial
A customizable circular dial/knob component for Compose Multiplatform.
010
Hossain Khan @hossain.dev · 25/08/2026
Still don't understand why BlueSky Android app logs me out randomly every several months 🤔
000
Hossain Khan @hossain.dev · 20/08/2026
Finally got hands on the #Pixel11 Really loving the smaller non-XL version! Low light photos are awesomer 😎
000
Hossain Khan @hossain.dev · 19/08/2026
I thought macbook air (m5) is rated for all day battery! 🤔 50%+ drop in one hour, I guess Android development was not part of the use-case! 🙈
Macbook Air - battery drop from Android dev (80%-20%) in one hour.
000
Hossain Khan @hossain.dev · 18/08/2026
You know you've worked at a place long enough when renewed corp 💳 credit card arrives! 🙃
000
Hossain Khan @hossain.dev · 12/08/2026
Same phone as last year's which I skipped. This year I gave in and looking forward to the #Pixel11 phone! 📱
store.google.com
Google Pixel 11 Pro
Google Pixel 11 Pro's vapor chamber helps keep your phone running at peak speeds.
000
Hossain Khan @hossain.dev · 29/07/2026
MTP proved me wrong over and over again with unreliable connection to transfer Android files from the device. Found this open-source app that uses ADB for file transfer and found it very fast and reliable so far! 👌🏽 github.com/Santosh7017/...
AndroidFileSync app screenshot showing android file transfer in action
000
Hossain Khan @hossain.dev · 26/07/2026
🫣
000
Hossain Khan @hossain.dev · 14/07/2026
Oh! this is going to be useful for me! 📖
000
Hossain Khan @hossain.dev · 12/07/2026
How did we live over a decade with MTP protocol for #Android devices? Is there anything better by now? 😑
000
Hossain Khan @hossain.dev · 26/06/2026
I finally got my #TRMNL-X and it just worked out of the box 🙌🏽 As weird as it may sound, the highlight of the show is the weighted magnetic 🧲 USB-C cable. I don't recall seeing this quality cable bundled with any products. Never giving up on this cable 😆 Kudos to @trmnl.com team for delivering it!
TRMNL-X and bundled magnetic USB-C cable
041
Hossain Khan @hossain.dev · 21/06/2026
I am having hard time believing there is no way to cleanup this temporary system files without doing factory reset! Constantly trying to delete my pictures gets old pretty soon! Does anyone know cure to this? 😞 #Android #StorageBloat
Screenshot of Android storage settings showing temporary files taking about 40% space
000
Hossain Khan @hossain.dev · 19/06/2026
Looking forward to doing nothing this weekend! 😌
000
Hossain Khan @hossain.dev · 17/06/2026
Wow, this is great news for OSS community! 🎉 Also checkout Jake's post on this jakewharton.com/the-lysine-c...
jakewharton.com
The lysine contingency – Jake Wharton
000
Hossain Khan @hossain.dev · 13/06/2026
New release of Compose Syntax Highlight now has custom dom parser and is up to ~1 ms faster and APK size will be ~100KB+ smaller! 🚀 github.com/hossain-khan... #SyntaxHighlighting #AndroidDev
github.com
Release 0.30.0 · hossain-khan/android-compose-highlight
Summary Mostly 🧹 cleanup, reduced external dependency and performance gain, up to 1ms savings in the highlight pipeline 💪🏽 Changed Replaced Jsoup with a custom HTML parser. Sample APK shrinks 128...
020
Hossain Khan @hossain.dev · 11/06/2026
O oh! I already uninstalled copilot from every place! Subscriber graph must look like reverse hockey stick 📉 Free you say? 🧐
Screenshot of email from GitHub Copilot that describes what free tier usage includes
000
Hossain Khan @hossain.dev · 06/06/2026
Looks like I spoke too soon about the Android developer verification process 🥸 When I tried to register my app, the eligible key is not what I use to sign release build anymore! So, the one I use now is not eligible!? 🤦🏽‍♂️ #GooglePlay #AndroidDeveloperVerification
Android developer verification process with eligible key being requirements.

See https://developer.android.com/developer-verification/guides/faq
120
Hossain Khan @hossain.dev · 30/05/2026
I recently learned about Zensical from Zac's Metro project which migrated from MkDocs to zensical.org based site. I also tried to use it for my recent experimental project. Not having full Kotlin syntax highlighting was bothering me, so I applied client side shim to re-highlight using Shiki.
hossain.dev
Better Kotlin syntax highlighting on Zensical with Shiki | Hossain's Dev Bytes
I replaced default Kotlin highlighting on my Zensical site with Shiki for cleaner tokens, better modern syntax support, and smooth light/dark theming.
100
Hossain Khan @hossain.dev · 29/05/2026
The recent syntax highlighting experiment on compose worked really well. So, I thought why not use the engine to also add support for simpler editor use-case? 🤔 It did work nicely, once engine is initialized, roundtrip to highlight is under 5-15ms #AndroidDev #SyntaxHighlighting
150
Hossain Khan @hossain.dev · 28/05/2026
Noticed this new banner in the Google Play console today about Android developer verification. I guess this is happening despite real friction in the community.
Android developer verification bannerAndroid developer verification portal on google play
110
Hossain Khan @hossain.dev · 24/05/2026
Desktop Mode idea on Android is great - however to make great use, need to support better output quality. I am using 4K monitor with 1080p and max size and I see pixeletted icon & images + not so smooth texts. Nevertheless great dev article: android-developers.googleblog.com/2026/03/andr...
Android desktop mode - snapshot from 4K monitor
000
Hossain Khan @hossain.dev · 24/05/2026
Official Kotlin support in VS Code has graduated from experimental to alpha! yay! This is big! Now, Firebase Studio can be great for Android dev ;-) marketplace.visualstudio.com/items?itemNa... #Kotlin #VSCode
Official Kotlin support for Visual Studio Code and an implementation of the Language Server Protocol for the Kotlin language.
020
Hossain Khan @hossain.dev · 24/05/2026
Watching the #KotlinConf keynote during the weekend. This slide made me proud even though I know the app list is in random order! 😆
KotlinConf 2026 keynote screenshot showing some android apps done in Kotlin
000
Hossain Khan @hossain.dev · 21/05/2026
Wait! what's going on? 45GB of temporary Android OS files? What are those? On device LLM models? Usually gemini nano is under 10GB. #Google can we cleanup these OS files that are not needed anymore please? it's eating up my ~40% space of Pixel. #GooglePixel #Bloat
010
Hossain Khan @hossain.dev · 18/05/2026
Yes! 🥲
020
Hossain Khan @hossain.dev · 17/05/2026
Thanks for featuring my new library that supports syntax highlighting for modern compose apps 🙏 It uses old tech in interesting way that modern AI chat apps use today. github.com/hossain-khan... #AndroidDev #SyntaxHighlighting
github.com
GitHub - hossain-khan/android-compose-highlight: Simple library that leverages JS bridge to bring highlighting to Android Jetpack Compose
Simple library that leverages JS bridge to bring highlighting to Android Jetpack Compose - hossain-khan/android-compose-highlight
061
Hossain Khan @hossain.dev · 16/05/2026
Copilot is definitely out the door with the new changes coming in few weeks. Need to figure out new token provider! 😂 bsky.app/profile/hoss... #GitHub #Copilot #👋🏽
Usage-Based Billing Transition - June 1, 2026
Starting June 1, Premium Request Units (PRUs) are replaced by GitHub AI Credits billed per token. 

Screenshot showing expected usage cost instead of flat fee $40
100
Hossain Khan @hossain.dev · 16/05/2026
This is definitely a welcoming structural change for KMP projects blog.jetbrains.com/kotlin/2026/... Wondering if Amper (github.com/JetBrains/am...) would be able to support the same structure! 🤔 #Kotlin #KMP #Amper
blog.jetbrains.com
A New Default Project Structure for Kotlin Multiplatform | The Kotlin Blog
We are updating the default project structure for Kotlin Multiplatform projects to give modules clearer responsibilities. Read on for all the details.
100
Hossain Khan @hossain.dev · 15/05/2026
I am sure this has special code name and meaning at @github.com - I would love to know! I feel like it's losing its value gradually! 🥲
Image shown on GitHub site when following happens:

No server is currently available to service your request.

Sorry about that. Please try refreshing and contact us if the problem persists.
000
Hossain Khan @hossain.dev · 10/05/2026
Thanks Android Weekly for featuring my article last week on some investigative work I was doing related to adding syntax highlighting support on Android, specifically Compose 🙌🏽 #AndroidDev #SyntaxHighlighting #no-sync
031
Hossain Khan @hossain.dev · 10/05/2026
Quick investigation revealed that modern AI chat apps like Claude, ChatGPT, Perplexity etc uses an unique technique to do syntax highlighting on Android devices. The idea is simple - run Highlight.js in a hidden WebView and convert the output to native AnnotatedString. #AndroidDev #JetpackCompose
hossain.dev
Syntax Highlighting on Android - Highlight.js as a Native Compose Engine | Hossain's Dev Bytes
How I built android-compose-highlight - a Jetpack Compose library that runs Highlight.js in a hidden WebView and converts the output to native AnnotatedString for real text selection and accessibility...
140
Hossain Khan @hossain.dev · 01/05/2026
All I want is go back in time! 🫥 Much much less things to worry about.. even better go back enough where mom and dad only worries not me! Good old times!
000
Hossain Khan @hossain.dev · 28/04/2026
Well well well, it looks like GitHub just dropped the ball on subsidized LLM token usage via Copilot. Now, you have to abide by pay-per-use model, easily costing 2X-10X or even more based on your usage! 💸 Good luck from June 1st! 🙃 #GitHub #Copilot
github.blog
GitHub Copilot is moving to usage-based billing
Starting June 1, your Copilot usage will consume GitHub AI Credits.
010
Hossain Khan @hossain.dev · 28/04/2026
This is a huge milestone for Metro! and also for the Kotlin community 🚀
020
Hossain Khan @hossain.dev · 26/04/2026
I wrote about using hybrid solution to bring syntax highlighting to Android about 6 years ago! Since then I did not find any great solution that does syntax highlighting on compose natively, until very recently I found `kotlin-textmate` that bring full power of TextMate grammar based highlighting 🎨
120
Hossain Khan @hossain.dev · 25/04/2026
The cost of pay-per-use AI tools has gone down over time - this upscaling be recraft-ai only took one cent! 🖼️ Combining multiple sources of AI tools can definitely give you super power to create what you want! :-) 🤖 Replicate is my one stop shop to try out different AI tools on-demand.
Screenshot showing side by side how AI image upscaler can be super effective enhancing image.Cartoon image of Android developer generated by OpenAI 2.0
110
Hossain Khan @hossain.dev · 17/04/2026
Really packed post about new agentic tools for #AndroidDev 🤖 A great start to catch up to webdev world and potentially automate me away 🥸 android-developers.googleblog.com/2026/04/buil...
android-developers.googleblog.com
Android CLI: Build Android apps 3x faster using any agent
News and insights on the Android platform, developer tools, and events.
040
Hossain Khan @hossain.dev · 15/04/2026
It's been a while my raspberry pi 4 died which had the pi-hole installed, I missed it for so long. Not anymore, got the cheaper SBC from Libre called 'sweet potato' and the sinkhole is back online! #NoAds 🙌🏽
000
Hossain Khan @hossain.dev · 15/04/2026
This whole post is full of wins 📈 ...also love the metro entrance art! 🚇 Metro is nearing 1.0.0 release soon! great time to migrate or adopt for you app! 🚀 #Metro #DI #🚇
010
Hossain Khan @hossain.dev · 12/04/2026
After moving away from Medium recently, I have been having lot of fun as I got full control over the blog site. Here is a new post about some fun I have been having on the site along with new og-image ;-) #astro #blog #cloudflare
hossain.dev
Adding a Free AI Assistant to Your Blog with Cloudflare Workers AI | Hossain's Dev Bytes
How I added an AI post summarizer and Q&A assistant to my blog using Cloudflare Workers AI - and used AI Gateway to keep it mostly free.
010
Hossain Khan @hossain.dev · 04/04/2026
Wow, Gmail seems to have upped their in-mail ads - now the ads are scattered throughout the email list. Just because it's promo tab doesn't mean you can just flood the list with more promo ads 🤣 Google must be desperate for more money! 💸 #Gmail #GoogleAds #🙅🏽
Gmail inbox with 4 ads in same page.
000