background-service Questions

2

Solved

I am in the midst of re-writing a very old VB legacy application into a browser based C# ASP.Net application using Core 2.1 and Entity Framework back-ended to SQL server. Several of the functions ...
Diligent asked 23/7, 2018 at 14:34

1

Solved

I have created a Bluetooth Activity class in the android app, which works fine for all the Bluetooth functionalities like: scanning, pairing, connecting, sending and receiving data. The real probl...

1

Previously I was using IntentService to send data to the server periodically. However, since Android O limiting background task and processes I am moving towards JobIntentService. My Activity code...

3

Is it possible to run a background service if I close my Ionic/Cordova app (both for iOS and Android) ? For the purpose I picked that pluging https://github.com/katzer/cordova-plugin-background-m...
Dehnel asked 13/10, 2015 at 20:24

0

I am working on a media app. I wonder how I can keep some old behavior my app has prior to Oreo, for example, have the notification and the service (for playback) hang in there even if the service ...

2

I am trying to connect BLE device with android application. I am getting the device name,Mac Address and rssi value in foreground. I dont know how to scan the device in background and get the detai...
Striped asked 1/10, 2015 at 11:11

1

Solved

Let me come straight to my issue. There is an old similar question: Continue Service even if application is cleared from Recent app. Please go through the link before going ahead. I have to save ...
Backbencher asked 1/9, 2017 at 13:53

3

My Problem Is When I M Pressing Home Button And Close My App At That Time Background Service stoped And After That It Requires To LOgin Again In App Then Background Service Will Start So How Can I ...
Timework asked 17/3, 2014 at 19:34

4

Solved

I'm trying to create a service that will do background jobs for me even after the user closes the app from the running processes menu(by shifting process out of the screen). What I tried to ...
Deli asked 20/7, 2013 at 23:45

6

I am developing an application in which a background service is created to collect sensor data. I am starting the service from my activity: startService(new Intent(this, MyService.class)); I cre...
Bussey asked 16/3, 2013 at 18:21

2

Solved

I have a background service running and a notification listener. I want to call the notification listener from the background service and it does not seem to work. I have below my classes. 1. Main ...
Catnip asked 2/1, 2017 at 11:28

7

I want to run alarm service for every second in my application.It is working fine below 5.1 version. but it is not triggering in 5.1 devices. I am using commonsware wakeful intent service.The logc...
Landlubber asked 28/4, 2015 at 8:53

1

Solved

I am using sticky service for background operations and its working fine in all phones even when app is closed by swiping from stack(then service is restart) but in RedMi Note 3w When app is closed...

1

I need to call a web service in every minute and parse the data when app is in background state. Since the APP uses location service I have enabled background mode for update Location. I tried ca...
Gog asked 17/12, 2015 at 7:12

0

i'm trying to use FusedLocationApi with pending intent to get period location updates so i can send the data to some server for processing. Everything works. However, there are some instances where...

3

Solved

Lets examine the next scenario: I created a new android app, with an application class, activity and a background service. I have some static variable in the application class, lets say it's an i...
Adhern asked 7/3, 2013 at 9:48

0

Is there a counterpart to androids DownloadManager? I want to start uploading files and when the app gets killed, the upload should continue. It should offer similar possibilities like setting head...

1

I started to work with Lollipop & Media.Projection class to implement a screen sharing app. The demo project from Google is quite good enough for me to understand this new feature of Lollipop. ...

2

Solved

Let's say I started a repeating background service that was stated on first app launch and on boot. What happens when I provide an update of the app. Will that background service be killed? Will u...
Dioscuri asked 16/5, 2015 at 19:50

1

Solved

I am having one Application based on XamarinForms. One background service I have created in Android project and that service would like to send data to ContentPage(which is in PCL) which is displa...
Plunge asked 13/5, 2015 at 11:40

4

I have background service in my android app,i start service from MainActivity onResume() method and it is work correctly.But how can i stop service when user press home button.Because currently whe...
Patrizio asked 18/10, 2014 at 10:42

1

I need to poll a server in a given interval with on a Apache Cordova app and notify the user if there is relevant information for him/her. I'm not sure if it could be done with webworkers because t...

2

Background: I'm running a background service (independent of the app opened or not) to maintain connection with Tizen-based app on Gear2 (not Android, hence the manual maintenance). Whenever my p...
Estranged asked 11/7, 2014 at 5:16

1

Solved

I am making a set of apps and I have pretty much the same background service for all of them. I'm trying to make an app that has only this Service. so I don't repeat it in all of them, but the thi...

3

Solved

I want to make some external service monitor and be notified on problems as fast as possible. I tried to set up AlarmManager with 1-2 minutes interval, but it looks like it fires randomly every se...
Thiosinamine asked 17/6, 2014 at 12:41

© 2022 - 2024 — McMap. All rights reserved.