background-service Questions
3
Solved
I am working on a chat application like whatsapp. When the app is running, I use a websocket connection to handle chats between two users however when the app is killed or is not running I tried us...
Roseboro asked 20/4, 2020 at 11:54
1
Solved
A Visual Studio API project created via
"new project",
"ASP.NET Core Web App",
"ASP.NET Core Web API"
results in a project file that starts with...
<Project Sdk=&qu...
Loni asked 6/12, 2020 at 7:0
2
I'm trying to create a Background Video Recording android application where a video is recorded in background (When app is not in foreground) and also when the screen is turned off. I've found some...
Insurable asked 17/8, 2018 at 10:43
2
Use case : is that I have to run camera in background inside a service without any activity or fragment
Blocker : New camerax session is bind to lifecycleowner but the service don't have any .So h...
Lahnda asked 11/3, 2020 at 6:10
1
i want to start activity from background service in Android Q OS But it will give me message 'Background activity start from com.test.testandroidapp blocked.See g.co/dev/bgblock'.
According follow...
Summerlin asked 1/8, 2019 at 7:14
1
Solved
My foreground service is killed on some devices like vivo after killing app, is there any workaround to keep it alive?
I am using foreground service like:
public class MyService extends IntentServi...
Indra asked 27/8, 2020 at 10:4
2
I am creating a .net core BackgroundService console application. The default template provides a Worker class that has ExecuteAsync() method, which is great.
My plan is to use a Windows Task Schedu...
Regazzi asked 7/8, 2020 at 12:39
3
Solved
I'm trying to start a background task on demand, whenever I receive a certain request from my api end point. All the task does is sending an email, delayed by 30 seconds. So I though BackgroundServ...
Withal asked 13/7, 2020 at 18:16
5
Solved
I have been developing a PhoneGap application for Android which contains a Background Service. My question is: How can I debug this service? Is it possible to debug using an AVD and go step by step...
Ramose asked 1/8, 2013 at 21:15
1
Solved
Regardless of whether we should, can we use IHostedService in an Azure Functions App?
Here is an attempt to register a hosted service (background service, specifically) as IHostedService:
interna...
Chucklehead asked 28/1, 2020 at 10:53
9
Solved
I need to start a service at boot time. I searched a lot. They are talking about Broadcastreceiver. As I am new to android development, I didn't get a clear picture about services on Android. Pleas...
Lambdoid asked 30/12, 2010 at 12:52
0
In our .NET framework services, we always request additional time from the service control manager when our services start to give them more time to start than the default (30 seconds?) before repo...
Sapsago asked 30/1, 2020 at 14:3
1
Solved
what I am trying to achieve is code a simple .net core background worker (.net core 3.1) where I write data to a SQL Server database (through EF Core 3.1) while this worker is running as a windows ...
Ralleigh asked 15/1, 2020 at 10:19
4
Solved
I have created a service to fetch current location of the device in periodic intervals. I want the service to run in the background even if the app is cleared from recently opened apps. Currently t...
Osmometer asked 11/12, 2015 at 11:53
2
I need to make my service unstoppable. I tried to return START_STICKY on start command, it works well on emulator but, when remove the app from task manager on my device (Xiaomi mi5s, Android 7), i...
Quesenberry asked 31/10, 2018 at 13:17
2
Solved
I am monitoring the user's location every 15 minutes and I just want the application to continue sending the location even if the user closes the application in the taskbar.
I tried this sample bu...
Chelsea asked 25/9, 2019 at 22:53
3
Solved
I just need to access my BackgroundService from a controller.
Since BackgroundServices are injected with
services.AddSingleton<IHostedService, MyBackgroundService>()
How can I use it from...
Choreography asked 28/3, 2018 at 13:6
5
Solved
Recently I am exploring Android Architecture, that has been introduced recently by google. From the Documentation I have found this:
public class MyViewModel extends ViewModel {
private MutableLi...
Merriweather asked 26/5, 2017 at 15:15
4
Solved
In iOS, how would I instruct the OS to keep my app running even if it is no longer in the foreground?
Skype
Viber
Empatica
Zenly
And many more apps does this.
Glucinum asked 15/6, 2012 at 3:2
1
I am working on an alarm app. I want to know that how can I set the alarm in flutter app as in the android we use alarm manager to trigger alarm function. Need for both platform Ios and Android.
Sorites asked 15/4, 2019 at 5:7
2
Here I have implemented functionality to read messages of incoming push notifications using Text-To-Speech. I created a separate service class for it which works fine and after a while notification...
Binary asked 8/4, 2019 at 10:20
1
I need to keep a service running in background. This service is used to keep a Socket.IO/MQTT connection. In versions previous to Android O there were no problem keeping the service alive, but in A...
Spin asked 6/7, 2018 at 21:46
1
Solved
Here is my scenerio. I want to use background task to send newsletter to subscribed users. This is done by MailService, which has UnitOfWork as dependency.
I tried the solution from learn.microso...
Hoosegow asked 29/3, 2019 at 8:53
1
Solved
I only do Android development part time (which seems challenging considering the many subtleties and low-levelness of the APIs) and have a problem with receiving notifications while my app is in th...
Crusted asked 6/3, 2019 at 17:47
4
Solved
Background service is stop, when removing my app from recent in oppo & vivo mobiles, & Broadcast reciever also not working in that case.
Bid asked 31/5, 2018 at 10:59
© 2022 - 2024 — McMap. All rights reserved.