97,805 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
47
views
Why WebRTC is not 16 KB alligned?
I am implementing video call in my android app with the help of WebRTC, but while running the app in debug mode, I found this -
This issue is coming from the WebRTC library. I want to upload this app ...
Advice
0
votes
0
replies
51
views
How to create similar comments section found in youtube, reddit etc in jetpack compose?
I am trying to create the visual and functional comment section in jetpack compose similar to youtube or reddit, see the images below. I have tried a few approaches but cant really replicate the way ...
-2
votes
0
answers
62
views
Extracting real video url from kt_player [closed]
var flashvars = {
video_id: '54085',
video_categories: 'Lingerie, Close-Ups',
video_tags: 'test',
license_code: '451596714898965ドル',
rnd: '1767540956',
video_url: 'function/0/...
0
votes
0
answers
61
views
Compose crashes with "class [...] cannot be cast to class [...]" when switching between two types that inherit from the same class
This bug requires some setup but I tried to reduce it as much as possible.
The app
I'm working on a compose desktop app that has different "modes". Each mode has its own UI and business ...
3
votes
0
answers
58
views
How to announce page context ("Page X of Y") in HorizontalPager in Jetpack Compose with a11y?
I am building a custom selector component in Jetpack Compose. It consists of a HorizontalPager where each page contains a LazyVerticalGrid of selectable items (acting like Radio Buttons).
The problem: ...
0
votes
0
answers
71
views
How to correctly parse a WAV file for use with Android TTS
I am trying to create a TTS engine for a TTS service i have running locally on my network.
I used an AI to generate the basics and set up the engine with the android system. But i am not able to get ...
0
votes
0
answers
54
views
build.gradle for a multi-module application
I'm a beginner. I study through video tutorials.
We are writing a multi-module Android application. To use the same dependencies in different modules, a separate folder build.src is created in the ...
Best practices
2
votes
3
replies
59
views
How to create a programmatic list of lists
My code loops through rows in SQLite and builds text views / image views to add to linear layouts and displays on screen. My users add fabric manually so each entry would be very different across ...
0
votes
0
answers
65
views
How can I group routes with Spring?
The given project is not using the standard controller way, it's more like 1 handler per controller ( CQRS like )
Each API route should start with the prefix /api
Command routes should follow with /...
3
votes
1
answer
91
views
How to handle close (X) button action in PiP mode?
I'm developing an Android application using Jetpack Compose. I have a screen with a video player that supports Picture-in-Picture (PiP) mode. Entering PiP works correctly and the video continues ...
0
votes
1
answer
65
views
Getting "None of the following candidates is applicable" when trying to use LiveData list in itemsIndexed in LazyColumn
Relvant code in ViewModel:
val allFoods: LiveData<List<Food>> = repository.allFoods.asLiveData()
and MainActivity:
val foods = foodViewModel.allFoods.observeAsState(listOf())
...
user avatar
user30951264
0
votes
0
answers
32
views
Android to WearOS data event fails when phone app is closed
I'm trying to set up an authentication flow on a WearOS app where the companion phone app is responsible for logging in at which point the watch app can simply request the authentication token via a ...
4
votes
1
answer
71
views
Value classes as varargs in Kotlin
I just wanted to write an simple function, that takes multiple kotlin.time.Durations as vararg and wondered about the compiler error:
fun foo(vararg durations: kotlin.time.Duration) {
//...
}
The ...
Best practices
0
votes
2
replies
49
views
How do you create video feeds with poster in Kotlin Multiplatform?
I’m developing a Kotlin Multiplatform application using Compose Multiplatform. I’m consuming an API that returns a list of images and videos, and for each video I want to display a static poster image ...
3
votes
0
answers
76
views
TagLib reading slows down after ~1600 items
I have an app getting metadata from a list of songs using TagLib.
It first gets the song id via MediaStore, and send fd to TagLib which dups it and uses it to open a stream to get the metadata and ...