receiver

  1. 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...
  2. 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...
  3. 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...
  4. 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) '[...]...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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