97,868 questions
0
votes
0
answers
12
views
How to intercept Back press in Navigation3 to switch Bottom Navigation tabs?
Body:
I am implementing the new androidx.navigation3 library in my Jetpack Compose project. I am using a custom Navigator class (injected via Koin) to manage the global backStack.
The Architecture:
...
0
votes
0
answers
22
views
How to Efficiently Test V2Ray/Xray Configs in Android App Using libv2ray?
I'm developing an Android VPN app that fetches and tests V2Ray/Xray proxy configurations. I need to find working servers quickly, but my current implementation using libv2ray.measureOutboundDelay() is ...
1
vote
1
answer
52
views
Manifest Merge Error when using Blueline Kotlin lIbrary
I'm currently learning on how to use thermal printer, and found a library named Blueline. But when i implement it, app can't compile due to Manifest merger failed with multiple errors, see logs
This ...
0
votes
0
answers
35
views
Kotlin/Android app: RTMP streaming not working with WebSocket trigger, import issues
I'm trying to build a simple Android app in Kotlin that connects to a WebSocket server and starts an RTMP stream when I send a command. I want the app to stay idle until the user tells it to start ...
2
votes
2
answers
61
views
removeLastOrNull() for MutableStateFlow List
Some articles say when I use MutableStateFlow and collections like MutableList, I should assign the new reference of collections like React.
I am wondering how to get a value from removeLastOrNull() ...
0
votes
0
answers
38
views
Kotlin destructuring declaration from a run block -- compiler error, or my error? [closed]
In the example below, if I try to turn val x into val (x,y) IDE complains vigorously.
If I try to make the return an explicit pair for the val (p,q) assignment it get the same errors.
I do not ...
-3
votes
0
answers
40
views
mesibo Compilation Error: Unresolved reference 'MessageParams' in Mesibo Android SDK 2.7.19 (Kotlin)
I am integrating the Mesibo Android SDK (version 2.7.19) into my Kotlin application. I need to implement the Mesibo.MessageListener interface to receive real-time messages, but I am facing a ...
0
votes
0
answers
60
views
Device Admin APK checksum mismatch when provisioning via QR on a fresh Android device
I'm trying to provision an Android Device Admin app on a completely fresh device using a QR code. Previously, I encountered an error about missing components, but now the app fails with a checksum ...
Advice
1
vote
2
replies
59
views
Flutter build issues
I have a old laptop and I started my journey in flutter .The problem is with flutter build .every time I run flutter build command firstly it takes much time I also tried to change my local. ...
1
vote
1
answer
56
views
Parsing Streaming response from OpenAI using Retrofit and Gson/Moshi
I'm trying to parse the response from OpenAI transcription API with streaming enabled.
The request is:
curl https://api.openai.com/v1/audio/transcriptions \
-H "Authorization: Bearer $...
-1
votes
1
answer
68
views
How to avoid duplicating state between parent and child screens when passing parameters built by childs? [closed]
In Jetpack Compose with MVVM, I have a parent screen that contains 3 child screens. Navigation is used to move between the child screens.
Each child screen can generate a PDF in different ways:
One ...
0
votes
0
answers
63
views
In Kotlin, Is there a way to hold weak reference to a function?
I realized that Kotlin is missing a built-in event mechanism similar to what we have in C#.
So I tried to implement my own and ran into a problem that can easily lead to memory leaks.
My original idea ...
0
votes
0
answers
27
views
Using Kotlin Data Classes for DynamoDB
I have the following class that I am using as a dynamodb item in Kotlin
@DynamoDbBean
data class Transaction(
@get:DynamoDbPartitionKey
val userId: Int,
@get:DynamoDbSortKey
val ...
0
votes
1
answer
65
views
"Type argument is not within its bounds: must be subtype of 'Any'" in Kotlin application after upgrade to Spring Boot 4.0.0
After upgrading my Kotlin application from Spring Boot 3.5.8 to Spring Boot 4.0.0,
I get a lot of compiler errors
Type argument is not within its bounds: must be subtype of 'Any'.
How is it possible ...
0
votes
0
answers
56
views
Error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException:
I'm using an old version of Android Studio, 3.1.6.
This error appears when the gradle project sync failed. I also have a new version of android studio installed, I dont know if this could be related, ...