Questions tagged [bootcompleted]

ACTION_BOOT_COMPLETED is one of the standard actions in Android OS that Intent defines for receiving broadcasts. It is broadcasted once after the system has finished booting.

ACTION_BOOT_COMPLETED is one of the standard actions in Android OS that Intent defines for receiving broadcasts. It is broadcasted once after the system has finished booting. It is usually used to perform some sort of initialization in application (creating alarms is a common usage case). You must hold the RECEIVE_BOOT_COMPLETED permission in order to receive this broadcast. This is a protected intent that can only be sent by the system.

Information is taken from Android Developers site.

157 questions
1
vote
1 answer

BootCompletedReceiver not working on android 11

I try to do this for my application to launch automatically when device is rebooted.But this is not working on android 11 devices.
1
vote
0 answers

Android BOOT_COMPLETE not received

I am quite new in Android: i made some experiments and reserachs on the web, but i didn't figure from where my issue commes... I would like my app to receive the BOOT_COMPLETE broadcast message, but for an unknown reason, i don't acheive to have…
dedalum
  • 11
  • 2
1
vote
0 answers

How to detect BOOT_COMPLETED in andorid 9 and above in Oneplus and Xiaomi devices and other chinese roms (api level 28+)

I have been trying to launch my app after boot completed, but somehow it works on virtual devices but not working on real devices. It is working on from till android 8 but not from android 9 in devices like Xiaomi, Oneplus and Realme. I have read…
1
vote
0 answers

Trigger a Job on BOOT_COMPLETE in API > 26

I'm in the process of creating an app which displays a notification whenever a message (received via MQTT) arrives. I'd like this to happen regardless of whether the app is running or not. I've done a bit of research and found that I can register a…
1
vote
1 answer

Unable to start service after restart on android pie

I have an application which runs a service continuously in the background even after restarting the device for this, I have used below receivers,
1
vote
0 answers

how to receive the boot completed broadcast in my react-native app?

I want my rn app autostart when boot up, but it seems that my app cannot receive the boot completed broadcast. Is there anything wrong with my code? I've already add all the user permissions(uses-permission and action), and make sure my apk not in…
1
vote
0 answers

Why is onReceive() called twice in this Alarm setup?

I'm building an Android pedometer app that sends data to a SQLite database at 30 minute intervals using AlarmManager; if the phone is off when the transfer is supposed to occur, it will do the transfer immediately when the phone is switched back…
1
vote
0 answers

Reasons why a service could be stopped in android

If I have an app that does not have any activities, just one BOOT_COMPLETED broadcast receiver and the simplest service. The receiver will just start the service and the service will just ran the following code: public class ScreenStateService…
Storo
  • 988
  • 1
  • 7
  • 31
1
vote
2 answers

If android application is installed in mobile but never launched .is BootCompletedReciever called?

If android application is installed in mobile but never launched and considered i have implemented boot completed receiver for this application.Now i am going to reboot the device .here boot completed receiver will call or what will happens?
1
vote
1 answer

BOOT_COMPLETED Broadcast Receiver Not Working in XOS-Android

I am working on an app that sends the updates to users weekly once, even if the app is not opened. For this i am using Alarm Manager to send push notification to user, but when device gets rebooted the alarm manager loose all data. For this i added…
1
vote
0 answers

Is a custom Android launcher supposed to signal somehow that it is ready (because I don't get BOOT_COMPLETED with my launcher)?

Is a custom Android launcher supposed to signal somehow that it is ready? I don't get BOOT_COMPLETED with my launcher, but when I use the system's original launcher BOOT_COMPLETED gets sent. Am I supposed to do something special in the launcher code…
JohnyTex
  • 3,323
  • 5
  • 29
  • 52
1
vote
2 answers

Why does BroadcastReceiver not get called?

The BootReceiver never called even if the system was boot up using this command: adb shell am broadcast -a android.intent.action.BOOT_COMPLETED -n com.android.canbedeleted.test/.BootReceiver Permission I have put in the manifest:
LittleFunny
  • 8,155
  • 15
  • 87
  • 198
1
vote
2 answers

Autostart (BOOT_COMPLETED) does not work on the Nomi tablet

My broadcast receiver triggered by event BOOT_COMPLETED and works fine on many devices except Nomi C10103. The message appears in the log on the device: D/ActivityManager: send broadcast: android.intent.action.BOOT_COMPLETED, skip package:…
1
vote
1 answer

Unable to start the intent after BOOT_COMPLETED

I have a problem regarding about re-scheduling the tasks (with alarm) I tried to set the task on exact time and date in the future then I closed the emulator then re-open it after that waiting to popup the layout and when the time and date is on due…
1
vote
1 answer

Android- How to start activity after boot completed

Have seen a lot of ex and try ,but useless,here my code AndroidManifest
Lonie
  • 275
  • 2
  • 12