Skip to main content

All Questions

0 votes
1 answer
30 views

Xamarin background location service keeps crashing

I am trying to make a xamarin app, with android and ios. I have made a service, to broadcast the users location at interval, but everytime it tries to broadcast (using SendLocationToServer() ) it ...
Me No's user avatar
  • 11
2 votes
1 answer
882 views

Not able to show notifications when app is closed in xamarin forms

I am trying to implement a background service which notifies me every continuously. So for that I'm using Alarm manager and broadcast receiver. This is my broadcast receiver code [BroadcastReceiver(...
Judson Abraham's user avatar
0 votes
1 answer
290 views

Hidden Notification in StartForeground in xamarin form

Can I Hidden notification "App Name Is Running" When Service Runs in the background? My Notification Is: NotificationCompat.Builder builder = new NotificationCompat.Builder(this, channelId) ...
Taghi Poorchi's user avatar
0 votes
0 answers
60 views

Android background service on Android 5 can't restart

I make a non-stop background service for Android app, my solution is to send a broadcast to the registered receiver on the method OnTaskRemoved : and start the service again on the received: But it ...
Trần Kha's user avatar
0 votes
0 answers
47 views

How to propertly send data to a long-time working service?

My app has a service that starts and stops independently of the main activity. The service can be considered to be running all the time. I am looking for the correct way to pass data to this service. ...
Alex A.'s user avatar
  • 452
0 votes
0 answers
88 views

xamarin forms background serveries

i have a basic xamarin application which read from clipboard and modify the text then set it again to clipboard. it works fine when user in the application. but when the user hit home button it stops. ...
Amod's user avatar
  • 79
0 votes
1 answer
464 views

Xamarin service - run according to a time schedule

I am developing an app built on this example: https://github.com/xamarin/mobile-samples/tree/master/BackgroundLocationDemo The example works and the location updates are coming in as expected. ...
ArturM's user avatar
  • 239
8 votes
2 answers
27k views

How to create a never ending background service in Xamarin.Forms?

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 but ...
Mayra Mtz's user avatar
1 vote
1 answer
738 views

How I can create a loop Background Service in Xamarin.forms

I want to create a background service always run and loop a function in Xamarin.Forms, especially is in Android first, i tried Service with timer and Intent Service but not work. Please help me :(
Đạt Nguyễn's user avatar
1 vote
1 answer
595 views

Need to know how to kill background process in Xamarin.iOS

I'm creating a background process in iOS to send location updates to a server, but I'm having trouble controlling it from the main application. Mostly, I'm having trouble killing the service. My app ...
user2850818's user avatar
6 votes
1 answer
16k views

App sometimes crashes with "Background start not allowed: service Intent"

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 the ...
Gerry's user avatar
  • 1,264
0 votes
1 answer
138 views

Background Data to Content Page Xamarin

I have a problem I have a Background Service where I read data from Sensors (Android). Now I need the data from the Sensor at a ContenPage in PLC but I dont know how can I send the data to PLC ` ...
G.Mohr's user avatar
  • 15
2 votes
1 answer
98 views

Is it possible to change refresh rate after background location service has already started?

I would like to know if I can change refresh rate of background location service in the middle of its work. For example, user sets the refresh rate to 10 seconds and after some time he wants to change ...
NutCracker's user avatar
  • 12.3k
1 vote
1 answer
1k views

System level alert dialog in Xamarin Android

I want to show system level alert dialog in background service, I found How to display a Dialog from a Service but this answer use dialog.getWindow().setType(WindowManager.LayoutParams....
sorosh_sabz's user avatar
  • 3,033
1 vote
1 answer
861 views

Xamarin forms how to start background service when device boots

I read this article: http://arteksoftware.com/backgrounding-with-xamarin-forms/ . I need to fire an event every day at 6:00, so I would like to start a background service when the device boots which ...
prompteus's user avatar
  • 1,032

15 30 50 per page