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

My app can't receive BOOT_COMPLETED broadcast

I am working on an app which needs receive BOOT_COMPLETED broadcast when the device boots. According to the documents in Android Developers, I already know that since android 3.1, apps that never run after installing or force killed by user will…
Guomato
  • 91
  • 1
  • 6
1
vote
0 answers

BOOT_COMPLETED on Lollipop

My boot receiver not starting. I've read many topics here and there but couldn't find working solution. My manifest file:
Hahaido
  • 83
  • 1
  • 11
1
vote
0 answers

Taking a lot of time to receive boot complete broadcast

I'm having an app that must run when android system start-up, I used the usual way of registering the broadcast and receiving it: in manifest.xml:
Muhammed Refaat
  • 8,914
  • 14
  • 83
  • 118
1
vote
2 answers

Start Activity on Reboot Only

Basically I am trying to make an activity containing a button which reboots the device and after the reboot returns to the same activity. I understand that this question may get confused with others about rebooting the device, but that is not the…
jambo
  • 81
  • 1
  • 1
  • 5
1
vote
0 answers

ANR in ParseBroadcastReceiver

I've added Parse pushes to simple android app I've written. The problem occurs on Nexus5 with Android 5.1 I did everything according to Parse tutorial https://parse.com/tutorials/android-push-notifications. (Everything is correct - rechecked).…
1
vote
0 answers

Android change default launcher on reboot and boot_completed 10 second delay

I created a launcher app that will run in Kiosk mode. But recently and strange things started happening on some devices. The default launher is reseted after rebooting the device (with or without my app), so it asked users to pick a default…
user1659006
  • 373
  • 2
  • 13
1
vote
0 answers

Receiving boot complete without UI

My app does not have a UI. I need to receive the boot_complete broadcast to perform certain setup actions. I see that Android has a restriction preventing an app from receiving broadcasts unless it is launched by the user. I was wondering if there…
iHavADoubt
  • 79
  • 1
  • 9
1
vote
1 answer

Broadcast before BOOT_COMPLETED?

Is there a way to detect that the device is turned on but the BOOT_COMPLETED broadcast? I know I can catch the Broadcast with a BOOT_COMPLETED RECEIVER, but is there anything that is fired directly after device is turned on, for example if the user…
Opiatefuchs
  • 9,800
  • 2
  • 36
  • 49
1
vote
2 answers

BroadcastReceiver works only after first execution of adb shell

I tried many different examples, and after some (long) time, I finally managed (almost) to receive logs from BroadcastReceiver, after that notifications (via service). Still, problem persists. When I install apk, or build it and run it on usb,…
1
vote
0 answers

Which Android class is in charge of sending the BOOT_COMPLETED intent?

I've been searching a lot regarding which Android class sends the BOOT_COMPLETED intent on KitKat 4.4.2 but I have not been able to find anything. Does anyone have a clue? I have a Samsung SM-T230 device, maybe in this case is one of the Samsung…
Storo
  • 988
  • 1
  • 7
  • 31
1
vote
1 answer

Android Receivers not doing as expected

Well honestly, they aren't doing anything at all. Let me start by saying that I know that Android reworked receivers in 3.1, specifically boot control. I know that they made it so that ACTION_BOOT_COMPLETED cannot be used unless the application has…
zgc7009
  • 3,371
  • 5
  • 22
  • 34
1
vote
1 answer

app still running after disable

I’ve installed an app I’ve written as a system app that after receiving ACTION_BOOT_COMPLETED it runs a service. The app works just fine, however, I would like to disable it (and not remove it completely). So I wrote on the command line “adb shell…
1
vote
3 answers

Best way to share data between android app components

I'm working on an app that consist of many component. The app is using AlarmManager to do some polling from a server. There are also regular Activities that present data (that stored on Sqlite and SharedPreferences) Everything worked great until I…
1
vote
0 answers

I don't receive the RECEIVE_BOOT_COMPLETED in the Emulator

I'm French sorry for my English. I'm trying to develop an autoboot service that runs in the background and catches SMS. After a lot of research, I wasn't able to solve my problem. I can't run the service after the boot and I don't receive the log …
1
vote
1 answer

BOOT_COMPLETED action works on one device but not another

I have been developing a android application for a client on a HTC Desire HD ( Android 2.2) The app makes use of the action BOOT_COMPLETED to automatically start the application on the phones start. This all works fine on the HTC. The client has…