Questions tagged [android-reboot]
43 questions
1
vote
2 answers
Android After Reboot Broadcast Receiver is not running
I used this permission:
and the receiver is:

Ajith K P
- 398
- 3
- 12
1
vote
1 answer
Why does Android Marshallow UITest Reboots Device
When trying to update our app to work correctly with Android Marshmallow (API lvl 23) I went to run our UITest tests and found that on both physical devices and on the emulator the entire device reboots as if it has crashed.
This occurs when both…

cdbitesky
- 1,390
- 1
- 13
- 30
1
vote
1 answer
How to setup alarms again after reboot
I am building an alarm clock application, then is purely dependent on alerting the user during the proper time an alarm is to go off. However, reading about AlarmManager, it appears that at device reboot, all alarms are removed.
As my app would then…

Sauron
- 6,399
- 14
- 71
- 136
0
votes
1 answer
Launch a service after device is unlocked/rebooted with API level > 26
I want to create a simple service on Android 13 that will do a task after the user unlocks the device. I found different ideas on StackOverflow but most of them target the API 25 or bellow. Since then, we can't declare the BroadcastReceiver in the…

tinyestgrape
- 1
- 2
0
votes
1 answer
App takes a very long time to start after rebooting the device
My application is running in Kiosk mode, so the user cannot launch third-party applications. Also, my application is set to autoload after rebooting the smartphone. The application starts in the Kiosk mode after rebooting the smartphone.
The problem…

Ilya Filimonov
- 33
- 1
- 3
0
votes
0 answers
What happens to foreground activity when the device reboot
Will the onDestroy method be performed?
I want to do something before activity gets killed, can I write the code in onDestrory?

yun
- 1
0
votes
1 answer
How i can use SharedPrefs when catching "BOOT_COMPLETED" on Android?
I'm writing an android application.
In this application, the user can type text which I then send to a notification to show up to the user. I store the text as strings in the sharedpreferences.
The notifications are triggered by an alarmmanage which…

MaxiMalCore
- 1
- 1
0
votes
1 answer
AutoStart an app after device reboot in a rooted device
I want to open an app after reboot.
I have checked my code in android 10, 8, 8.1 but it's not working
is there any way to start an app after reboot successfully?

Siddhant Singh
- 11
- 4
0
votes
1 answer
After ACTION_BOOT_COMPLETED, why is AlarmManager running right away?
BootReceiver
override fun onReceive(context: Context, intent: Intent) {
if (intent.action == Intent.ACTION_BOOT_COMPLETED) {
val array = MyDatabase(context).getAllAlarm()
val receiver = Intent(context, BootReceiver::class.java)
…

H.JiMan
- 269
- 1
- 2
- 10
0
votes
0 answers
Broadcast receiver is not working on Ice cream sandwitch 4.0.3
I want to start service on reboot of the device.
First I used broadcast receiver.It worked on my android phone having version 7. But I want to implement it on Xixun controller which is android based having version 4.0.3
Broadcast receiver did not…

Jaswandi Lande
- 15
- 7
0
votes
1 answer
Jenkins gets stuck after android terminal is rebooted
We are downloading package from artifactory and installing on Android device with OS 8.1.0 using Jenkins.
After the installation we need to reboot Android device, framework used robot framework with Appium to run testcases on Android…

Rinku Pathak
- 11
- 1
0
votes
0 answers
My background service starts after a reboot. So why is it being stopped soon after?
First, it has been a while since I've done any Android development and I'm no expert by any means. But what I'm trying to do, I've done before and it worked great; however, it is my understanding that Android updates may have changed how I need to…

Lee
- 255
- 4
- 16
0
votes
1 answer
How to reboot device without using su (Superuser)?
I want reboot the device. i am able to do with root.using
below code.
public static void rebootDevice()
{
try
{
Process process = Runtime.getRuntime().exec("su");
DataOutputStream os = new…

Gaju Kollur
- 2,046
- 5
- 23
- 47
0
votes
1 answer
Is it possible to reboot both rooted & unrooted android device Programmatically?
In my android application, I wanna restart my android device on button click. But its working in rooted Phone,but not in un rooted phone.
try {
Runtime.getRuntime().exec(new String[]{"su","-c","reboot now"}));
}…

kavie
- 2,154
- 4
- 28
- 53
0
votes
1 answer
Android: What is different between Intent Action Reboot and RebootCompleted
I saw these two different actions. I mostly used RebootCompleted which the system reboot completed but there is a delay before these action was sent to the receiver. Does the Reboot will be sent inbetween the phone gets started and rebootCompleted?

LittleFunny
- 8,155
- 15
- 87
- 198