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

IssueTracker issues not getting passed triage

For a long time now I haven't had any problems, but lately I've encountered a lot of issues that get closed with Won't fix (Infeasible) even after all of the requested information has been supplied. This used to be a massive problem, but someone at Google must have realized this because it's been pretty solid for the past few years.

For example, I filed an issue about running not deploying the app on the latest stable Android Studio (although ...

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

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

AndroidDev - Reddit

Can't Unlock Smartphone

I forgot my old phone pattern password and it is not connected to internet. The default unlocking method is fingerprint, but It insists for the pattern. How can I unlock it? 

There might be any backup PIN code? 
There are pictures on it, so erasing the phone is not an option :\\
[I can connect it to PC via USB cable, if it helps\]

Nokia 7 Plus ...

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

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

AndroidDev - Reddit

How many downloads do you get from Instagram ads?

I’m just curious as to what everyone’s average downloads per month are and how much did you spend on Instagram ads in that month?

I haven’t published a game yet but I was planning to at some point and was thinking about saving up a bit of capital for ad spend and wanted to know how much people spend on insta ads in a month and how many downloads that month yields.

I have tried researching it myself but can’t get any straight answers so I thought I’d come here....

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

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

AndroidDev - Reddit

Update app without the same Keystore

I'm new here. I tasked on an application that needed to be update. But the keystore of that version is impossible to be found. Is it possible to update the app without the old keystore. Thanks....

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

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

AndroidDev - Reddit

Can I use another identity to verify Google play developer account?

Friend made a developer account for me back in 2017 (with his name address ) I used it to publish apps. My relationship with that friend is no longer, can I create a new payment profile under my name and verify using my identity?

What can I do in this case to keep the account?...

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

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

AndroidDev - Reddit

Bug on Material-You colors and/or UMP on Android 15: When both used, you can't use material colors on anything

It seems that in this combination of conditions, you won't be able to use material-You colors on anything, even if you create a new Activity:

1. Use anything that fetches or uses the Material-You colors, including even DynamicColors.applyToActivityIfAvailable or query of them

2. Android 15. On previous versions it's fine.

3. Call various functions of the UMP SDK by Google, such as requestConsentInfoUpdate .

Reported about this on multiple places, as I don't know which one is causing this iss...

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

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

AndroidDev - Reddit

Localized Prices not displaying in text field on app

Hello,

I've been trying to figure out why the localized prices for my game's in-app products won't display in the text fields I've assigned them to, even though they work fine in Unity's editor. This problem only happens when I run the open testing build I've uploaded to Google Play.

I have set up my prices in the Google Play store to recognise the prices, and if I try to purchase an in-app product, it will display the local price correctly when the Google product pop-up appears. However, the ...

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

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

AndroidDev - Reddit

Quick Guides Catalog

I just found out a new Quick Guides Catalog section in the new documentation. This is great! I just hope Google won't discontinue this experiment....

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

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

AndroidDev - Reddit

ndk-samples won't build

I am a JNI and NDK noob !!

Official NDK-Samples

System specs:

Android Studio Ladybug Feature Drop | 2024.2.2

Build #AI-242.23726.103.2422.12816248, built on December 17, 2024

Runtime version: 21.0.4+-12422083-b607.1 aarch64

VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.

Toolkit: sun.lwawt.macosx.LWCToolkit

macOS 15.2, M1-Max Chip

GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation

Memory: 4096M

Cores: 10

Metal Rendering i...

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

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

AndroidDev - Reddit

Questions about Closed testing on Google Play Console.

Hi,

Like many other new indy devs I have been coding an app for few months and I'm facing that unexpected wall, closed testing requirement.
You must invite 12 testers continously testing your app for 14 days.
I have read the doc but I'm still a bit confused.

About the 14 days:
Is this a global countdown from when you publish your closed testing and if you don't meet the requirement you have to test again your app for 14 days?
Or you don't actually have a limited time for closed testin...

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

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

AndroidDev - Reddit

DNS resolution with API 24

Hi everyone!

(TLDR in last paragraph)

I'm making an Android app and it needs to perform DNS resolution for domain names. The official Android documentation hints at using a class called DnsResolver which, however, is available only in API 29 and later.

I don't want to drop support for older versions, which is why my minimum API is set to 24. However, I also don't want to support versions older than 24 because I know the...

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

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

AndroidDev - Reddit

Google Play Dev from the EU, question about reverse charge invoices and payments.

I'm from The Netherlands trying to do my taxes.
Now I'm checking my payments profile to check the payments I received.

Inbetween all these payments I sometimes get an Invoice from Google saying the following:

Services subject to the reverse charge - VAT to be accounted for by the recipient as per Article 196 of Council Directive 2006/112/EC
GCL Commercial register number: 512080
GCL share capital: EUR 1,000,000
This invoice was generated electronically and automatically, without a cash reg...

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

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

AndroidDev - Reddit

Is Jetpack Compose ready for production?

I'm considering using Jetpack Compose in a new project, but I'm not sure if it's mature enough to fully replace the traditional View。...

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

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

AndroidDev - Reddit

How can I record a Jetpack Compose screen with a live camera feed and overlayed drawings without using MediaProjection?

I'm working on a Kotlin Jetpack Compose screen that displays a live camera feed using AndroidView and overlays additional drawings via composables. I want to record this entire screen (camera feed + composables) into a single video file. However, I’d prefer not to use MediaProjection.

Does anyone know of a way to achieve this? Any libraries or techniques that could help would be greatly appreciated!...

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

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

AndroidDev - Reddit

(Compose) BasicTextField(2) & AnnotatedString

Hello, community!

I’ve recently started working with the new implementation of BasicTextField (previously known as BasicTextField2 but now renamed to BasicTextField as the base implementation). This updated version uses TextFieldState, and I have to say—it’s a solid improvement. Kudos to the team behind it!

That said, one limitation I’ve noticed is that it currently doesn’t support mixed text styles, such as applying different styles throughout an AnnotatedString. I understand this is high on ...

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

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

AndroidDev - Reddit

Need help regarding developing smartspacer plugin for football scores

https://www.football-data.org/documentation/api I am using this api I want to call it every 10s to update scores , I just want matche scores of one team (man city) which endpoint should I call ?

https://github.com/KieronQuinn/Smartspacer/wiki/3.-SDK:-Creating-a-Target smartspacer document how do I make it auto dismiss after match is over ?...

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

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

AndroidDev - Reddit

Build your component library in Jetpack Compose via CLI

I built a Gradle plugin (CLI utility) that you can use to build your component library.

https://github.com/nomanr/lumo-ui
https://lumo.nomanr.com/
how does it work?

It's not a packaged library. Instead, it generates the UI components directly in your codebase. Which allows you to:

\- direct bug fixes; otherwise, you'll create a PR to the lib or wait for someone to fix and release ...

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

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

AndroidDev - Reddit

"bluestacks" uses fake game pages to promote their "emulators"(scam)?

Hey everyone,

i checked some google-rankings of my games/apps presense and found that a chinese site called "bluestacks" has a fake app-website of my game to promote it with their "emulator" for PC.

here is the link for reference:
https://www.bluestacks.com/tw/apps/card/spellforce-2-master-of-war-on-pc.html

Like many other times, this is complete useless, since we do offer a native Windows PC port of it.

But t...

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

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

AndroidDev - Reddit

[Help Needed] Kernel Development for LG V60 (Android 15)



Hi everyone,

I’m reaching out to the community for help with kernel development for the LG V60 to support Android 15. I’ve been working tirelessly on this project, but I’ve hit a wall. I’m encountering the following error while building:

bashCopyEditclang: error: version 'kernel' in target triple 'arm-unknown-linux-androidkernel' is invalid
make[2]: *** [/home/chuqol/RisingOS/kernel/lge/sm8250/arch/arm64/kernel/vdso32/Makefile:170: arch/arm64/kernel/vdso32/vgettimeofday.o] Error 1
...

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

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

AndroidDev - Reddit

Viewmodel one-off events: can we agree this is a bad article?

Referring to this article:


https://medium.com/androiddevelopers/viewmodel-one-off-event-antipatterns-16a1da869b95


I fail to see the point.


Using a buffer/replay for underlivered events (in case the user backgrounds the app) makes the likelihood of this event not being collected very, very small - and we are not talking about mission critical apps in 99% of the cases.


Modeling a bunch of "thi...

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

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

AndroidDev - Reddit

Partial data loss in android room sqlite database

I have an android application that runs on a slightly customized version of Android 10. The application persists data to Room db.

Recently, backend server has logged 40 cases of partial data loss where both newly inserted rows and updates done to existing rows have been deleted from the database.

My assumption is that since SQLite initially writes data to a WAL file, corruption of this file is resulting in loss of data that is not yet persisted to the original db.

I have tested this out by in...

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

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

AndroidDev - Reddit

Networking library recommendations?

Assuming you aren't using something like GraphQL, what networking libraries are people using these days? In the past, I used Volley, Retrofit and OkHttp. Are Retrofit and OkHttp still popular or were they replaced by something else at some point?

Ktor seems to be the latest and greatest. What are some of its advantages over Retrofit, for example?...

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

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

AndroidDev - Reddit

'Exactly' when do we call it unit test

I have a viewmodel that takes a form filled from user and after making validations through various validation usecases it sends it to the server. I'm writing unit tests for this viewmodel but i cannot decide to whether or not i should mock or fake these validation use cases which are all pure kotlin code and never depend on anything external - except a resource provider class that helps to get system strings - (i am able to easily create an instance of them). Actually another issue i'm looking ...

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

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

AndroidDev - Reddit

How to keep the scrolled bottom item visible when ime appears?

Hi all

Using Compose, I'm trying to make a column able to keep visible the bottom item when ime gets displayed

I have a text field at bottom of screen, and above is the column, filled with random text to make it scroll.

I tried a bit Modifier.imeNestedScroll(), but I struggle, I'm not even sure it would do the job

Here is my code currently, but it's kinda buggy...

ComposeTestTheme {
Scaffold(modifier = Modifier.fillMaxSize())
{ innerPadding ->
Column(
...

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

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

AndroidDev - Reddit

Multiple apps in single monorepo

I've seen a few threads about monorepos here but not quite exactly what I am facing. I've inherited a repo which contains multiple different (and very large) Android apps. Countless modules (great,) some of which are shared (also ok,) but most are not. Apps are solidly different and not something that would ever merge. Seems to have more downsides and overhead than any actual benefits.

In your experience, is this normal to stuff a bunch of apps into a single repo like this? Personally I've nev...

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

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

AndroidDev - Reddit

Color Picker Kotlin Multiplatform Library

I have ported an android compose library to kotlin multiplatform library, you can check it out compose-multiplatform-color-picker, your feedback and contributions are more than welcomed

https://preview.redd.it/nwbqikdifjde1.png?width=1000&format=png&auto=webp&s=bb98d03a03898c1781dae5ca432adcb690270080...

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

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

AndroidDev - Reddit

What is a proper way to change the color of an overlay behind a Dialog in Compose?

There is a scrimColor property in ModalBottomSheet, which allows to change the color behind a bottom sheet.

>scrimColor \- Color of the scrim that obscures content when the bottom sheet is open.

At the same time it seems like the only way to change the color behidn a regular Dialog is to use a fullscreen Box as a root view and adjust its background. Although I can't explain exactly why this method is wrong, something about it doesn't feel right. Is there a better solution?...

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

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

AndroidDev - Reddit

Porting my iOS app to Android - is this how it should look like?

Hi all! I'm a long time iOS user, but learned Swift/SwiftUI a while ago and made an app (side-project). Now I'm trying to make a native Android version of it. I'm starting to get a hang of Kotlin and Jetpack Compose with Material3, but since I just briefly used an Android device 10 years ago I struggle with what the true "native Android look" is.

With SwiftUI things often "automagically" default to a certain look depending on the context. For example (see screenshot) if I put text labels and bu...

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

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

AndroidDev - Reddit

Seeking advice on affordable android tablet for android development app testing + demo

Hi folks!

I have recently gotten into android development and I will need a device to sideload / test my apps on. Should I get and Android 15 tablet, or can I get by with 13 or 14?

I really would prefer not to break the bank on this so I am open to frugal options if possible.

Thank you!...

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

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

AndroidDev - Reddit

Need help.

Trying to program my own app for android. I won’t speak too much but if anyone willing to help me reprogramming an app ...

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

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