1,415,003 questions
0
votes
0
answers
19
views
How to scroll to item in LazyColumn from outside the composable?
I've slipped the LazyColumn a LazyList State like this:
val listState = LazyListState()
@Composable
fun foo() {
LazyColumn(
state = listState
Now I want to call listState.scrollToItem(...
Tooling
0
votes
2
replies
55
views
Generating and executing Java .class bytecode on Android at runtime without use of storage space
I am looking for a way to execute dynamically generated Java bytecode on both OpenJDK VM and DalvikVM. In other words, I want to make platform-agnostic on-the-fly compiler to Java bytecode, using only ...
-1
votes
0
answers
40
views
How can I get the Heart Point logic from Google Fit?
As Google already announced that neither Google Fit SDK nor Fitness API is possible to integrate or enable it. The only way to fetch your data into Android mobile device is Health Connect.
I have the ...
-1
votes
0
answers
73
views
My app in Production don't appear in some phone model [closed]
Please help me, I put my app in play store and I even passed closed testing and now my app is in Production. The thing is that, in certain phone (like Redmi 12 5g Indian variant 'sky'), my app don't ...
1
vote
1
answer
61
views
StreamBuilder updates ListView but observe duplicate entries
My use case is that on pressing a button on the UI, an object starts emitting (finite) data which I want it to be appended in a ListView until data contains a token saying it should clear all contents....
2
votes
0
answers
108
views
How to implement and update a Room database correctly?
I am programming a Counter App where the count is stored in a database. I am using Kotlin, Jetpack Compose, Room and Hilt. When I press the Button for increment, the count do not change. I tried to ...
0
votes
0
answers
68
views
Android PrintService printer not shown in main list without WiFi — any workaround for Bluetooth/USB printers?
I have a custom PrintService implementation in my Android app for Bluetooth and USB receipt printers (used in a restaurant POS system). The service correctly calls addPrinters() inside ...
-3
votes
0
answers
113
views
Creating an Android app that makes a phone work like a gamepad using ADB [closed]
I need your help. I have an Android TV Box that I use in a retrogaming setup. At the moment, I don't have a gamepad, so I'm going to buy it. In the meantime, I learned searching on Google that there's ...
Advice
0
votes
2
replies
85
views
Which Android 'background work' feature to use for sending information?
I am currently developing an Android application with Kotlin and Jetpack Compose that should repeatedly (~once per minute) collect some information about my phone (battery, temperature, current ...
0
votes
0
answers
39
views
How to get handle for Binder in Android from userspace
Maybe this seems stupid for somebody but, I need to register service in android to create binder_proc and binder_node in kernel side and I need to get handle for that binder_node in order to send ...
0
votes
0
answers
94
views
How can I ensure that a continuous 24/7 health-monitoring service on Wear OS remains running?
I am working on a Wear OS app, which monitors the users data 24/7. The app is made for Samsung devices as part of a study. The data includes some health data and location data. My current setup works ...
1
vote
1
answer
122
views
How to force a transparent status bar on Samsung in Kotlin Multiplatform
I developed an app with transparent system bars and it is correctly appearing transparent on my Pixel 7 and all virtual devices across many Android versions (7.0, 9.0, 14.0, 15.0, 16.0), but on a ...
0
votes
0
answers
82
views
MAUI Hybrid issue with HTTP GET request from BlazorWebView
I am working on a MAUI Hybrid solution, with the standard projects: Web (Server) / Shared / Mobile. My issue is when I run the app on the Android emulator.
Here is my MainActivity.cs:
[Activity(Theme =...
Best practices
0
votes
6
replies
92
views
.NET MAUI App - How do you play music natively?
I've been developing games on Unity for 6 years, and now I've decided to try writing an app on .NET MAUI. I want to make a music player. That's the question - how do you natively play music on devices?...
1
vote
0
answers
64
views
.NET MAUI Android App not registering for Push notifications
I am following the instructions found at https://learn.microsoft.com/en-us/dotnet/maui/data-cloud/push-notifications?view=net-maui-10.0 to set up an .Net MAUI Android application to receive push ...