I need to create a background service that can get data from API every second because I want to monitor some data and add that data to the database. ...
I need to create a background service that can get data from API every second because I want to monitor some data and add that data to the database. ...
*I have the below code which I've created on the back of the below link to another Stackoverflow question. The line getWindow().setBackgroundDrawableR ...
I've added android:windowSoftInputMode="adjustResize" to my AndroidManifest.xml file to allow the textfield, button and text to move up, but the backg ...
I need to make a service to catch server messages via websocket and show them in the notification. First time when I closed the app the service stoppe ...
I am developing an Android app. In that, the existing flow is, there is a Toast Broadcasting Class which listened by MainActivity Now we will call t ...
In my app, I am using ffmpeg-kit and execute a command that record/capture any stream using the internet and writes it to the device's internal storag ...
I have implemented some background task with WorkManager and with usage this Guide. One time I needed to use CoroutineWorker. I find these guide prett ...
I want to perform an action on every 15 minutes once the device become sleep mode or app is in background. I tried it with broadcast Receiver as shown ...
I've been using WorkManager to create notifications for my app. For my purposes I figured PeriodicWorkRequest is the most fitting, but after a bit of ...
In one of the exemptions of the "cannot start foreground service from background" restriction, the doc mentions: Your app invokes an exact alarm t ...
I'm working on an app where I have to read data from multiple sensors and send it to a remote server every 15 minutes. This has to be done when the ap ...
Hey I have changed the button background to white color but it is not reflected in the design of app. instead of white color the design is showing it ...
i'm having an issue with my app it should send current location to a server every 20-30 seconds and it used to work. But we have just installed it on ...
I have square image and I need to set that image as background. But I need that image to render differently in portrait and landscape mode. As shown ...
When we remove an app from foreground logcat gets full of other stuff. ...
How to add a shadow border on 4 sides of an edit text as shown in the image? Applied below code but it creates a shadow on single side only. ...
I'm creating an Android Application in which I have to show progress bar at an instance when there is some UI on the screen. But when the progressbar ...
I am coding a "set pin" fragment for the second time and it's not working. Everything works great until I use switch blocks and View.OnTouchListener. ...
My App is monitoring the network connection changes to decode offline and online cases. Here I want to continuously monitor this only when the app is ...
I am having Service using which we are getting the GPS Location by using callback method onLocation. And Android Service gets called every 3 seconds. ...