receiver

  1. A

    Android Question FirebaseMessaging Not Found (Manifest Editor)

    Hi all. I'm trying to replace the service FirebaseMessaging with the Receiver FirebaseMessaging. I removed FirebaseMessaging service from my project and added Receiver FirebaseMessaging. Now I see in a log these lines Error parsing Manifest script FirebaseMessaging Not Found (Manifest Editor)...
  2. Dave O

    Android Question foreground service exception - update to "short-term" service or receiver?

    My checklist app uses a service to upload a backup file to Google Drive when the list changes or the app exits. I first save the file locally (instant), but because it takes a few seconds to upload to the net, I thought a service would be the right way to do this (so that the service gets the...
  3. A

    Android Question Start receiver at exact time / Why my code is not working ?

    Hello All, I'm stuck since few days to receive an Intent if the app was closed before by user. I start with @Erel post to understand "Start receiver at exact time" and I add notification with NB6 library example. On my code: - first page is to get Notification permission from user - then on...
  4. G

    Android Question Significant motion sensor intent for receiver

    Has anyone implemented an intent from the significant motion sensor which starts a receiver? I'm hoping to use phones at rest to detect small earthquakes. I did this a few years ago with a long-running service (12 hours, overnight) which listened to the accelerometer but now services are out...
  5. MegatenFreak

    Android Question Play azan (call to prayer) daily at specific times: can't get it to work

    Hey guys. As the title says, I wanna build an app that does one simple thing: I'll give it the prayer timetable with specific times of the day, and it will play the azan audio during those exact minutes. I've dug everywhere in the forums and tried all the following without success: * Using...
  6. Duque

    Spanish Receptores VS Servicios

    Hola Según esta discusión nos esperan problemas con Android 12+ El debate es sobre los servicios y receptores después de android 12+ Según lo que entendí me puse manos a la obra para actualizar... yo tengo una aplicación donde el usuario configura un recordatorio, este lo programo de la...
  7. DaOel

    Android Question Error when using okhttpUtils2 v3.04 from receiver. Code Line OAuth2_AccessTokenAvailable.

    I want to send Email Reminders in my app. I succesfully tried it from an activity. Now I want to send it from a receiver in the background. The 'ScheduledEmailReceiver' calls himself via Private Sub Receiver_Receive (FirstTime As Boolean, StartingIntent As Intent) '[...]...
  8. Sandman

    Android Question Can a Receiver call code in rest of app?

    I have a receiver for geofence events. I see this comment in the receiver module: 'Do not assume that anything else, including the starter service, has run before this method. Private Sub Receiver_Receive (FirstTime As Boolean, StartingIntent As Intent) Does this mean that I can't access...
  9. S

    Android Question New Firebase Integration

    Hi, i want to integrate Firebase Messaging into my app.. I follow this tutorial https://www.b4x.com/android/forum/threads/firebasenotifications-push-messages-firebase-cloud-messaging-fcm.67716/#content But when app start i receive this message: java.lang.RuntimeException: Object should first be...
  10. Cainsoft

    Android Question Android API 33 - services/receiver vs http

    Hi, I had a problem for which there was no solution: https://www.b4x.com/android/forum/threads/startreceiverat-okhttputils2-during-phone-sleep.149687/ Somehow I managed to get a service to run in the "foreground" under Android 13 (API 33). What's interesting is that this service doesn't stop...
  11. Hosein_Mghr

    Android Question Start Service In Android 13

    In Android 13, I did everything to be able to restart the service after destroying it. Android 13 does not allow restarting. I tried StartService and StartServiceAt, but it didn't work. Now I want to know if it can be done with the new b4a receivers from the intent action. I should make a...
  12. naengi

    Android Question HttpJob timeout in receiver

    Hello I use HTTPJob in the receiver There is no problem when the program is running and all requests are sent correctly But When I close the program, I get a timeout error or Unable to resolve host error 😑 What is the problem? And one more question, is it still possible to run a service in...
  13. mcqueccu

    Android Question Scheduling a task with Receiver

    I can't seem to get this reminder code to work with the receiver module. With the example attached, it runs when the app is in the foreground, but when it is in the background it doesn't. Do I need to add 1. Intent code to manifest? 2. Add draw-over apps 3. Both? Hint: Goto the schedule...
  14. drgottjr

    Android Question Forever Widgets

    EDIT: don't bother with this thread. if i could delete it, i would. i was never able to ask the questions in a way that proved useful i recently updated my little home screen stock market widget app. i asked if there were any conflicts regarding using a timer to manually trigger a widget...
Top