reddit_androiddev | Unsorted

Telegram-канал reddit_androiddev - AndroidDev - Reddit

-

Stay up-to-date with latest news on Android Development! Content directly fetched from the subreddit just for you. Powered by : @r_channels

Subscribe to a channel

AndroidDev - Reddit

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

Читать полностью…

AndroidDev - Reddit

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

Читать полностью…

AndroidDev - Reddit

OCR(Optical character recognition) with android studio

Hey everyone... I am starting my first advanced project with android studio which is to make an OCR feature into my app that can convert my handwritten notes into text but sadly I GOT NO LEADS. Now I have no knowledge of Machine Learning and as I said this is my first project so I was just thinking If I could just find some code from GIT but I wont really learn this way.... What do you guys think am I ready enough to start an OCR? or start small?...

https://redd.it/1joqzsa
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

WikiNewsApp Just updated: A modern Android client for fetching and displaying global news from the open-source MediaWiki build using Modern architecture
https://github.com/MubarakNative/WikiNewsFeed

https://redd.it/1jom9st
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Are Google Play Games Trophies worth adding?

I think they are mostly for "free marketing" and engagement, as some people will see their friends playing, others will play more to get them...

I have the reference of PlayStation trophies, where there are "hunters" that play any game to get more, or play more hours to get collectables, replay a game in harder difficulty... Although they are still a minority of overall users, but I think a good amount of players take a look at them, see if they can get the platinum etc and are familiar with th...

https://redd.it/1jogrtz
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Desparate navigation structure with Official Navigation Library

I'm aiming this scenario:

I have different features like auth with 3 screens, profile with several screens, email with several screens and so on... I want to setup a navigation structure that mainly uses bottom navigation bar but users also be able to navigate between screens from different features and besides that backstack between different features (when navigating through bottom bar) should be protected and also each feature should be able to preserve their states across navigation action...

https://redd.it/1jod5hc
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

SDK is missing

Dear all,

there are tons of tutorial videos about how to install the missing SDK but none of them fits to my problem. For me there is simply no option "next" as you can see on the screenshot. I have windows 11 home. Any ideas? Thanks a lot in advance!

https://preview.redd.it/3xcfn3m472se1.jpg?width=1908&format=pjpg&auto=webp&s=8be1a81483db55b9602e5e3f028fdabbf6255747

...

https://redd.it/1jo8l8r
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Anatomy of the SDK Runtime
https://www.youtube.com/watch?v=a7BMBZE1Nbc

https://redd.it/1jo7kam
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

21M, Built an App from Scratch – Now 230K+ Downloads, But Struggling with IAP

Hey everyone, I just wanted to share my journey as a solo dev. I’m 21, and about 7-8 months ago, I built my first app. No team, no budget, just me and my laptop. After launching, I had no funds for ads, so I focused purely on organic growth.

The first month was rough—only 500 downloads. It felt discouraging, like maybe this wasn’t going to work. But I refused to give up. Kept grinding, trying different marketing tactics, and by the second month, I reached 1,500 downloads. Still slow, bu...

https://redd.it/1jo0q06
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Recommendations for Chat UI Kits or Components for Jetpack Compose (Android)?

I'm developing an Android messaging/chat application using Jetpack Compose, with my own XMPP-based backend. Since I have the messaging backend covered, I'm specifically looking for UI-only libraries or components to simplify creating a polished chat interface similar to WhatsApp.

# I've already explored:

Google's official Jetpack Compose samples, but they require significant customization to reach production-level quality.
Stream Chat SDK, but it's tightly coupled to their backend solu...

https://redd.it/1jny5xx
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Images with transparent backgrounds now have intrusive solid backgrounds for some reason

https://redd.it/1jnqnsg
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Replit Clone with native Android Dev
https://medium.com/coding-beauty/new-google-project-idx-fae1fdd079c7

https://redd.it/1jn8bbf
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

API key Client side vs Server side

Hey. Pretty new to app developement, and wondering if someone can give me a good answer to this:

I'm building an Android app with Kotlin and Jetpack Compose using Maps SDK, Places API, Firebase auth, Firestore, etc. Currently i'm using a single API key in my app's manifest (SHA-1 and package restricted) for Maps, Places and potentially more. Should I separate these? Keep the API key in the client side code only for Maps SDK so it loads quick, and use a backend server for Places API etc etc in f...

https://redd.it/1jn6j0k
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Jetpack compose: Can I update a mutable state from any thread, or does it need to be updated from main thread.


Lets say that we have a view model with a mutable fruit list

val fruitList = mutableStateListOf<Fruit>()

And then we have a fun that gets a list of fruit data from server in a Coroutine

fun getFruit(){
CoroutineScope(Dispatchers.IO).launch {
Service.getFruit() { response ->
fruitList.addAll(response) // is this ok?
}
}
}

Can the list be added from that bg thread or do I need to switch back to main thread in order to add to the list? ...

https://redd.it/1jmwy1r
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Ten tips to turn ideas into apps

Getting Real was one of the first business books I read and remains one of the most influential. It showed me a practical path to get from an idea to a tangible app. One chapter advises: out-teach your competition. That’s what the authors, Jason Fried and David Heinemeier Hansson, achieve through their books, podcasts and interviews. For over two decades, they’ve built and run Basecamp, a successful bootstrapped software company.

# Ten tips to develop apps

>Build half a product, not a ...

https://redd.it/1jmuc15
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

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

Читать полностью…

AndroidDev - Reddit

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

Читать полностью…

AndroidDev - Reddit

Image asset is just grey!!

https://preview.redd.it/r19cdx97j4se1.png?width=1938&amp;format=png&amp;auto=webp&amp;s=d96c744a04781f52a0c745afb848e515febb6b3a

Okay so the pic above is the problem I have. I am trying to make a new image asset to put on my Home Screen but no matter what EVERY PHOTO I TRY TO ADD LOLLL is just grey, like it's not there. As you can see I have the path to my image there but in the preview it is not there. I thought this was just a problem with the preview so I clicked next and finished to create it, and I c...

https://redd.it/1jojmas
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Placing a red dot badge on a NavigationView MenuItem near the menu icon

To place a red dot badge on `NavigationView`'s `MenuItem`, this is what I have performed.

<!-- res/layout/badged_settings_menu.xml -->
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content">

<!-- This TextView will serve as the badge -->
<TextView
android:id="@+id/menu_badge"
android:layout_width="16dp"
android:layout_height="...

https://redd.it/1jogx8u
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Google deleted the sample code for Play Billing Library
https://github.com/android/play-billing-samples

https://redd.it/1jof5m2
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

How to Publish Your App on F-Droid: A Beginner’s Guide with sharing my own experience when published my one of the app
https://mubaraknative.medium.com/how-to-publish-your-app-on-f-droid-a-beginners-guide-fadcfb384e4a

https://redd.it/1jo6chm
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

MacOS ADB won't stay connected to my phone for the life of me.

I'm going crazy here.

I updated Android and Studio and all platform tools SDKs to the latest (35).

I have two androids this is happening to both of them.

I restarted the computer about a dozen times. Restarting android phone(s) too.

I tried different ports in the mac and different wires.

It seems the phone shows up very intermittently. One second it'll show, then it'll disconnected. ADB will say it's offline, even though it's fully awake, plugged in, while also saying "USB debugging connect...

https://redd.it/1jo9em2
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Hybrid Encryption in Android: Secure Communication Between Mobile and Backend Systems
https://itnext.io/hybrid-encryption-in-android-secure-communication-between-mobile-and-backend-systems-834c7f55a246?source=friends_link&amp;sk=d0550c3fcdf8114f05d20b854aa3019b

https://redd.it/1jo2alk
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

What is your app marketshare of Android devices on 64 bit vs 32 bit (CPU architecture / ABI) in 2025?

Google began preaching developers for Apps to add 64-bit support in 2017.

In August 2019, Google Play started requiring all new apps and app updates to include 64-bit versions.

In August 2021, Android devices with 64-bit capable hardware were prevented from downloading 32-bit only applications from the Google Play Store.

But there's no statistics I could find on what's the current market share for 32 vs 64 bit devices. Or rather, how many devices out there still support 32 bit only architectu...

https://redd.it/1jnyu3x
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

gemini 2.5 in android studio

is there any way to use gemini 2.5 in android studio?...

https://redd.it/1jnujng
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Possible to enable Auto-Formatting on Save with ktfmt?

Hey 👋

I'm using ktfmt to format my Kotlin code, and it's great! But I was wondering: is it possible to configure it to format automatically on save (format on save)?

I couldn't find anything about this. I know you can do it with Ctrl + Alt + L, but I was thinking it would be more efficient if it happened as soon as I save the file....

https://redd.it/1jngjfi
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Why are Java generics not reified?

https://youtu.be/q148BfF0Kxc?si=YZTLFfRePYISB07Y...

https://redd.it/1jn70wc
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Just released Retrosheet v3 with support for Android, iOS, JVM, and JS! 🎊
https://github.com/theapache64/retrosheet

https://redd.it/1jn3dgr
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Baseline Profiles

Hello folks. If anyone has experience with Baseline Profiles, Im really interested in knowing if it's a useful tool, Should I spend time implementing it in my project? How was your experience? Was it difficult to implement the first time?...

https://redd.it/1jlvv07
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Some questions about Android Studio

Hey guys,

I'm pretty new to Android Studio and am implementing a simple BLE framework(empty activity) from various tutorials online, mainly the one published by the official Android website. I see that I am getting a lot of errors in any place where code snippets including gatt/bluetoothGatt is mentioned, and while my exact mainActivity code runs perfectly well in my friend's android studio, it doesnt work on mine(when I run on my emulator or phone, the app immedeatly crashes). I'm not sure wh...

https://redd.it/1jmt3pt
@reddit_androiddev

Читать полностью…
Subscribe to a channel