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/...
Hossain Khan
@hossain.dev
Passionate Android engineer and curious tinkerer. π¨π¦ππ±ποΈππΈποΈπ§
Oh! this is going to be useful for me! π
π New to Kotlin Multiplatform? The Basics of Kotlin Multiplatform pathway from Android Developers walks you through adding KMP to a project and using platform-specific APIs, and shows how shared code fits into Android and iOS apps. Start here π https://kotl.in/6nyqaz
How did we live over a decade with MTP protocol for #Android devices? Is there anything better by now? π
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!
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
Wow, this is great news for OSS community! π Also checkout Jake's post on this jakewharton.com/the-lysine-c...
The lysine contingency β Jake Wharton
jakewharton.com
π OkHttp, Okio, Retrofit, and SQLDelight join Commonhaus! www.commonhaus.org/activity/315...
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
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...
github.com
O oh! I already uninstalled copilot from every place! Subscriber graph must look like reverse hockey stick π Free you say? π§
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
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.
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.
hossain.dev
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
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.
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...
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
Watching the #KotlinConf keynote during the weekend. This slide made me proud even though I know the app list is in random order! π
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
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 - 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
github.com
Latest Android Weekly Issue 727 is out! androidweekly.net/issues/issue... #AndroidDev #Kotlin
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 #ππ½
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
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
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.
blog.jetbrains.com
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! π₯²
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
Latest Android Weekly Issue 725 is out! androidweekly.net/issues/issue... #AndroidDev #Kotlin
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
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...
hossain.dev
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!
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 Copilot is moving to usage-based billing
Starting June 1, your Copilot usage will consume GitHub AI Credits.
github.blog
This is a huge milestone for Metro! and also for the Kotlin community π
Metro reaches 1.0! It's the proudest work of my career and I strongly feel this is how dependency injection in Kotlin should be. Thank you to everyone that's contributed and helped this project get to where it's at. Metro wouldn't be where it is without you. www.zacsweers.dev/metro-is-sta...
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 π¨
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.