Good day dear programmers. (I use Google as a translator, so do not swear strongly) Briefly, there is an oreo and you need a service that will check a certain URL every 20 seconds and cause a certain action. But the current code does not work much time, oreo kills it. What not so please tell me...
Is it possible to send small SMS messages in the background without the application having focus, and the phone, not being switched on (i.e. running, but in standby)
Thanks, Colin
Hola a todos.
Deseo crear un servicio que cada 'n' segundos se conecte con un servidor y solicite información para saber si hay pedidos.
Ya leí los tutoriales de estos links:
Intent Filters - Intercepting SMS messages in the background...
Hii, I make background service app which show notification but it work in some device and not work in some devices.
Its work in Xiaomi MI A1 and not work in Redmi note 4.
I aslo use region service attributes == #StartAtBoot: True
As far as I can tell, there are three different reasons a service was started:
Manually started using StartService
Scheduled start using StartServiceAt or StartServiceAtExact
Automatically started at boot using #StartAtBoot
I recently found myself needing to know why a service was started, so...
Hola a todos.
Estoy tratando de ejecutar una aplicacion cada cierto tiempo. Desafortanadamente no sé que hice el código fuente de dicha aplicación, lo que me impide agregarle un 'servicio'. Por lo que he creado un servicio, para llamar a dicha aplicacion cada 5 minutos.
El código que estoy...
הי
שאלתי לא מזמן בפורום הכללי של אנדרויד איך אפשר להשתמש במנוע דיבור בשפה העברית, וענו לי שאני צריך להתקין ולהגדיר כברירת מחדל בטלפון שלי מנוע דיבור שתומך בשפה
העברית.
התקנתי כמה אפליקציות בטלפון שלי שמשתמשות בדיבור (לדוגמא הקראת הודעות) בעברית, למרות שבהגדרות הטלפון שלי מנוע הדיבור המכוון...
Hi Everyone,
I'm trying to get my head around scheduling services to wake up then make it sleep. Can you look at my code because this simple app gets stuck in a loop waking up over and over again as soon as it is woken up using SetExactAndAllowWhileIdle. This indicates I'm missing some coding...
I'm converting my project to B4A 8 and I have this issue:
I'm running a service, other than Starter, that gets started from the Main activity upon user action.
In the start sub, I set an icon and put it in foreground
Sub Service_Start (StartingIntent As Intent)
'more code
Dim n As...
Hello
I have added exoplayer to service and i have added file with activity to it. The problem is when i close the app , both service and app closes but what i want to do is keep the service running (im building a notification player) and make sound resume playing.
Hello
someone has an example to use google drive and backup copies.
Threads that I have visited
https://www.b4x.com/android/forum/threads/class-b4x-google-oauth2.79426/#content
https://www.b4x.com/android/forum/threads/any-new-google-drive-backup-restore-sample-for-b4a.80067/
I do not...
Hi Everyone,
I'm calling a service from an activity. That activity has a button to start the service and another button to stop it. In the called service I'm using SetExactAndAllowWhileIdle to reschedule the service so it continues to run. Same thing happens when using StartServiceAtExact from...
Hi Everyone,
I would like to wake up a service in 15 minute intervals and continue to do that constantly. For example, if the user pressed a button to start it and the current time is 11:05, I would like the service to wake up at 11:15, 11:30, 12:00 and so on.
I was thinking about maybe using...
if i start 2 different services from an app, will they spawn 2 different processes or are they just 2 threads?
in other words:
2 different service modules will run in parallel on a multicore cpu, or execution will serialized anyway?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.