Stay up-to-date with latest news on Android Development! Content directly fetched from the subreddit just for you. Powered by : @r_channels
FlowIntent.Core: Clean Android Navigation with Coroutines & Runtime Deeplinks
Hey r/androiddev! 👋
Throughout my Android development journey, I kept facing the same issue with Intents: the code gets complex, testing becomes difficult, and time slips away. That’s why I created FlowIntent.Core - an open-source solution that simplifies Intents with the power of Kotlin Flow. My goal is to make life easier for developers like me. Check out the project on GitHub and share your thoughts:
GitHub:
👉 https://redd.it/1jqfu9x">https://github.com/GokhanDurmaz/com.flowintent.core
@reddit_androiddev
Kotlin for Developers • Marcin Moskala & Nicola Corti
https://youtu.be/s-rDYbPv6Vo
https://redd.it/1jqdrmx
@reddit_androiddev
Best approach for setting up reminder notifications in a calendar widget?
I’m working on a mental wellness app called [Reconstruct](), which includes interactive tools like vision boards, planners, and an interactive calendar. One feature I’d like to improve is setting up **reminder notifications** for marked dates in the calendar widget.
Right now, I’m considering a few approaches:
1. Using `AlarmManager` for scheduled notifications, but I’m concerned about battery optimization and Doze mode restrictions.
2. Implementing `WorkManager` with `OneTimeWorkRequest` or `...
https://redd.it/1jqa6rf
@reddit_androiddev
Android enterprise craziness!
When installing an app through QR code method, does anyone know how to properly link a closed testing app to be installed with deployment.
I have tried trackId in the policy but to no avail!
please anyone that knows what I’m talking about PM or comment!...
https://redd.it/1jq3r66
@reddit_androiddev
Trouble with rows
Hi everyone.
I'm new to android development and i'm following the android developer course here.
We are creating a birthday app to learn how to create and position elements etc.
The two text el...
https://redd.it/1jpt59k
@reddit_androiddev
Jetpack Glance Lazy Column Delay
I use a LazyColumn in my widget and every item has a button. Whenever i click it its supposed to change the text of the item. Simple enough...but apparently not. There's a very noticeable lag between clicking and the item updating. I spent hours trying to figure out what i did wrong but it turns out its LazyColumn itself. When i swap it with a normal Column it updates instantly. I'm lost and have no other option but to ask for help. Did anyone else encounter this? If so how did you fix it?...
https://redd.it/1jpjuxt
@reddit_androiddev
Understanding Dispatchers: Main and Main.immediate
https://blog.shreyaspatil.dev/understanding-dispatchers-main-and-mainimmediate
https://redd.it/1jpnxc9
@reddit_androiddev
Does Network Inspector keep breaking for anyone else?
This is really annoying. Network traffic inspector is an essential part of my workflow, and when it works, it works super well. Better than any other tool such as CharlesProxy or ProxyMan.
But it just.. stops working and random every once in a while, making me have to completely restart AS to make it run again.
Any idea why this happens?...
https://redd.it/1jpm9t5
@reddit_androiddev
Any Udemy courses suggestion?
Hey guys. I finished working on a project a few days ago and I will be benched for a few months until new project comes up. I have about 4 years of Android experience where a bit more than 2 years are on a big projects. So I would say I am on Intermediate level. I have been working with Jetpack Compose for past 6 months but there are a lot more stuff there that I still don't fully understand. Do you have some Udemy courses that you would recommend to me?...
https://redd.it/1jpjqyf
@reddit_androiddev
Need a very very simple app for a school project
I’m looking for someone to develop a very simple Android app for a school project. The app just needs:
A basic input form with fields for height, sex, age, and weight, plus a submit button.
After submission, the app should generate a beginner-friendly workout plan based on the inputs.
The workouts should only include bodyweight, barbell, and dumbbell exercises.
The workout plan should be generated through an AI API (you can recommend an appropriate one if needed).
I’d pay $30 and id need it c...
https://redd.it/1jpj5cg
@reddit_androiddev
TensorFlow Lite Body Segmentation for Real-Time Background Replacement on Android.
https://github.com/ochornenko/virtual-background-android
This project leverages TensorFlow Lite body segmentation to replace backgrounds in real-time on Android devices. Using the selfie_segmenter.tflite model, it accurately detects and segments the human figure, allowing users to apply custom virtual backgrounds. Optimized for performance, it utilizes OpenGL ES for GPU-accelerated rendering and high-performance image processing, ensu...
https://redd.it/1jpf465
@reddit_androiddev
Calling ViewModel's onEvent in composable
I've been calling onEvent directly in my Compose code so far. I've encountered no issues.
But there are events where you need to call the event outside of onClick, e.g. for pagination or "marking as read".
I will be able to call that directly in Compose.
However, I also know about SideEffect {} composable. It's purpose is to call the code outside of compose, which, I guess, is what ViewModel is?
Please help me understand whether calling onEvent outside of SideEffect or LaunchedEffect is vali...
https://redd.it/1jp7tb1
@reddit_androiddev
Android Studio Meerkat Feature Drop | 2024.3.2 RC 1 now available
https://androidstudio.googleblog.com/2025/04/android-studio-meerkat-feature-drop.html
https://redd.it/1joz5vd
@reddit_androiddev
App opened and killed multiple times in background.
I work on an audio streaming app. It runs with an exoplayer (media3) in a forground-service.
I noticed a user with some strange data. The user has a Samsung A51 5g running Android 13.
What seems to happen is the app is opened and closed multiple times during a day/night.
I have contact with the user and the app is not opened by the user.
The user never closes any app on the phone (swipe from recent). Has the phone in flight mode while sleeping and only use my app 2-3times a day.
What and why...
https://redd.it/1jox9ul
@reddit_androiddev
How do you senior developers utilize AI in Android and other development?
Hello, everyone! As far as I know, most companies don't allow sharing code with others. And I'm sure you know the answers to most basic development questions. I wish to learn how to get the most out of AI tools....
https://redd.it/1jot80o
@reddit_androiddev
OverlayEffect doesn't accept my argument
I don't get it.
https://developer.android.com/reference/kotlin/androidx/camera/effects/OverlayEffect
Fixed, used the wrong import java.util.function instead of androidx.core.util...
https://redd.it/1jqey56
@reddit_androiddev
How much do y’all make from your Play Store apps?
If you’ve launched an app on Google Play, how much are you actually making from it? I know earnings vary a ton, but I’m curious about real numbers from indie devs.
* What’s your main money maker? (Ads, in-app purchases, subscriptions, etc.)
* How many downloads did it take before you saw decent cash?
* If you don’t mind sharing, what’s your monthly revenue like?...
https://redd.it/1jqdjn4
@reddit_androiddev
Spotify sdk with Spotify lite
Does anyone know if Spotify Android sdk works with Spotify lite? I have a system running Android 5.1, and the main app doesn’t support it anymore....
https://redd.it/1jq3b4i
@reddit_androiddev
Recipes for reducing Gradle build times
https://youtu.be/JnN_gL-oMUQ?si=ECbbvvKukcmUu0oZ
https://redd.it/1jq3e4n
@reddit_androiddev
Kubriko: create multiplatform games using a simple Compose library
Hi! I've already posted this to r/Kotlin, but since the main motivation for this entire project was me not wanting to stray too far from my Android / Compose comfort zone, this also feels like a fitting place.
I've just published a Kotlin Multiplatform game engine for developing simple 2D games that run within a Composable function. It's called Kubriko, and it's now avaiable on GitHub!
https://redd.it/1jptfv5">Simple games built with Kubriko
@reddit_androiddev
What happened to jobb ? is it obtainable anywhere?
Hi
For a project, i will need to deliver some large assets as an OBB file. I am aware it's being deprecated from regular Android, but in other places (in this case the Meta Quest store for XR headsets) , its still a thing
I have read about the "jobb" tool from the Android SDK as a means to do that (https://developer.android.com/tools/jobb) but i cannot seem to be able to get it.
The documentation states it should be in the tools folder of the Andorid SDK, but i cannot find it there, nor an...
https://redd.it/1jpqafv
@reddit_androiddev
Strategy for first launch on Play Store: In-App Purchase/Paywall vs straight out pricing?
Hi all,
Have been working on a little app as a side project (originally to teach myself flutter and also as something for myself). I've been looking through tiktok and other places and it seems there might be a small niche for this and I've started looking into how to release this on the Play Store (I don't own a mac so AppStore is out of the picture for me right now).
What I'm wondering is how do you guys think about approaching release and especially testing things out like pricing etc...
A...
https://redd.it/1jpksra
@reddit_androiddev
Ran adb but it won't close
Sorry for the strange question.
I ran this on the command prompt to disable doze mode as I'm getting no notifications when the S25 is locked.
"adb shell dumpsys deviceidle disable"
All went well but I couldn't eject the phone as ADB was still in use.
Is there a command I need to run to exit?...
https://redd.it/1jpkixj
@reddit_androiddev
My banking app seems to have two screens. How did they do it?
https://redd.it/1jpjsxm
@reddit_androiddev
Is there an efficient way to fetch buckets in MediaStore with count?
I'm trying to query all the buckets in external uri with their count from `contentResolver`.
I tried two approaches and both have big drawbacks.
## Approach 1:
* Use `contentResolver`'s query API with bundles to use `ContentResolver.QUERY_ARG_SORT_COLUMNS` and fetch the Bundles.
* Query each Bundle Id for the count of files in each bundle.
### Drawback in this
* Which I feel is inefficient due to querying in loop.
* required BuildVersion.R :(
```
....
val queryBundle = Bundle(...
https://redd.it/1jphs43
@reddit_androiddev
How do apps typically handle SDK's with OneTrust or consent management?
I'm integrating and setting up OneTrust for an app. OneTrust manages privacy and consent to help mobile apps comply with laws like GDPR, CCPA, and other regulations.
The process involves uploading the app bundle file, where it scans for SDK's the app uses, like Retrofit, Okhttp, Glide, Google, Exoplayer, among other libraries, then it categorizes each SDK into these groups: Strictly Necessary, Functional, Social Media, Performance, Targeting/Ads.
The idea is when a new user uses the app, a con...
https://redd.it/1jpael5
@reddit_androiddev
Weird Painter and .size Modifier interaction when repeating image components
I found a peculiar interaction between size Modifier and Painter and I couldn't really find any clues as to why this is observed.
You can find the below mentioned code snippets here.
In particular in the component found at file ComponentWithPainter
by checking the Preview and interacting with it, it eventually becomes apparent that the Image components seems to be drawn on each other (?) I am not really sure how to even ch...
https://redd.it/1jp0bkj
@reddit_androiddev
MBCompass: A modern featurish compose based compass app v4 released with location tracking feature
https://github.com/MubarakNative/MBCompass/
https://redd.it/1jos5k8
@reddit_androiddev
App rejected for Broken Functionality, but everything works fine
Hi everyone,
I'm in the process of publishing an app I made for my first serious client (big deal for me hahaha), but I'm having a lot of trouble with the publishing process, since the app keeps getting rejected for issues that I cannot reproduce.
The first rejection was due to the privacy policy, and that one made sense, so I solved it.
The following rejections were violations of the Broken Functionality policy, respectively:
* **App is not responding** (second rejection) Your app i...
https://redd.it/1jov941
@reddit_androiddev
Struggling with Device Manager
Hi all,once I want to choose a virtual device \(f. eg. Pixel 6\) I have the upcoming problem \(see screenshot\). I have win 11 home. Any advices? Thanks a lot in advance. :\(...
https://redd.it/1joqnni
@reddit_androiddev