Skip to main content
0 votes
0 answers
112 views

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 ...
theproductivepickle's user avatar
Best practices
0 votes
1 replies
48 views

I wonder if it is okay to use the same Room db in Activity and Remote Service. Since the Service is remote it resides in a separate process. Is it okay to open the same sqlite db file simultaneously ...
unegare's user avatar
  • 2,727
0 votes
1 answer
98 views

In the following code snippet, I'm trying to execute a suspend function MessageHandler.handleMessage() in onMessageReceived(), however the function doesn't finish becuase the ioScope is canceled due ...
Sam Chen's user avatar
  • 9,238
Best practices
0 votes
0 replies
56 views

I am facing a FGS Security Exception for few services in my Android app. Although I am not able reproduce it but the crash get logged for some users on crashlytics. My Foreground service is of type ...
Shahbaz Hashmi's user avatar
0 votes
2 answers
131 views

I recently learned about Foreground Services in Android and how to use them. Often what is used in examples is something like this: class MyForegroundService : Service() { ... override fun ...
Screenshooter's user avatar
0 votes
1 answer
71 views

I'm developing a flutter app blocker. The idea is simple: the user opens a monitored app and then is redirected to a screen on my app. The screen has multiple controllers so I'm making it in flutter ...
Nicholas Reis's user avatar
0 votes
1 answer
96 views

I'm implementing a foreground service in Android (Kotlin) that handles GPS tracking. The service continuously calculates and must expose these values: Distance traveled, elapsed duration, current ...
Danfb__'s user avatar
  • 491
1 vote
1 answer
153 views

My goal is to be able actively process an image in the background, but when the app is in the foreground I'd need a preview which shows the processed image, meaning the original frame and bounding ...
 sentientbottleofwine's user avatar
0 votes
1 answer
94 views

I'm developing an app that records the screen using the Media Projection API and transmit the data to an overlay surface view, however, the surface view and overlay components are visible but the ...
Arrgina 2657's user avatar
1 vote
0 answers
223 views

<manifest xmlns:android="http://schemas.android.com/apk/res/android"> <uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> <uses-...
oldogz's user avatar
  • 11
1 vote
1 answer
85 views

I've read that maybe I should declare <service android:enabled="true" ... /> or android:exported="true" in Manifest.xml, or I should use pass BIND_AUTO_CREATE to bindService()...
allexj's user avatar
  • 169
0 votes
1 answer
88 views

So my app has multiple languages: Currently I set Polish, and English is system default. App's build.gradle.kts: android { androidResources { generateLocaleConfig = true } ... } ...
user924's user avatar
  • 13.1k
0 votes
0 answers
51 views

I added some logs in the NotificationListenerService service: class NotificationListenerService : NotificationListenerService() { override fun onDestroy() { logi("on Destroy") ...
aj3423's user avatar
  • 3,210
1 vote
1 answer
195 views

I want to create an activity that includes an androidx.media3.ui.PlayerView. The player should play a video using a foreground service, allowing media playback to continue even when the app is ...
ahmadreza gh's user avatar
0 votes
0 answers
38 views

I have a foreground service which is basically used for counting down from certain number. As 1 foreground service can have only 1 notification, I show other notifications using notification manager, ...
nasibeyyubov's user avatar
  • 2,820

15 30 50 per page
1
2 3 4 5
448