Questions tagged [android-reboot]
43 questions
0
votes
3 answers
Android using shared preference and Dispatcher activity, to get back to the last activity (after reboot the phone)
I'm using a Shared Preferences to save the state of my application to be able to get to the last activity before my Android Handphone got re-boot-ed. My purpose is when Android system manage the memory and push out my apps, when users re-enter to…

Leonard Mamangkey
- 25
- 8
0
votes
1 answer
What is the difference between the abd reboot command manually pushing the power button on the android device?
I am trying to pragmatically push (longPress) the power button to display the reboot menu on the android device. I am aware after many research that we need to have system permission n order to do this.
This link has a very good explanation on how…

veenarose
- 61
- 9
0
votes
0 answers
How to automatically run Android when battery level exceeds some level?
I have a problem with my Android tablets (Samsung Note P-900, P-905), my customers often turn off the electricity in their shops and tablets are discharged, and of course they don't turn on again. I found a solution to turn it on automatically when…

mesnicka
- 2,458
- 8
- 23
- 31
0
votes
1 answer
Android - Launcher Application breaks after reboot phone
Here is my manifest:

Anh-Tuan Mai
- 1,129
- 19
- 36
0
votes
0 answers
Android Device Password Policy erased on Reboot
I am using DevicePolicyManager class in Android to set a password policy from my device admin application.
I noticed that on reboot, the password policy is erased. For example, if minimum length of the password was set to 5, after reboot it is…

lyc001
- 777
- 1
- 10
- 25
0
votes
0 answers
Android: What is the best way to restore alarms after reboot?
I know how to use the BOOT COMPLETED Broadcast receiver but I wonder what exactly should i do? How to save the time of the alarms given that i have an unknown number of alarms all set by the user? And how do i restore them in the Broadcast receiver?…

Lev Petrov
- 21
- 1
- 9
0
votes
1 answer
Set alarms after rebooting Phone
I have a little question. I set my notifications in specific times using AlarmManager. The times I set notifications for are stored in SQLLite database. They all work perfect except the moment I reboot the phone. alarmManager looses their repeatings…

Jan Omacka
- 1,810
- 4
- 20
- 27
-1
votes
1 answer
cannot reboot Android from terminal
I need to restart my app often to test the behavior of some components. So I want to use a cmd from terminal in order to not waste time closing / opening manually. I have found this code but when I put on the terminal it returns a permission…

Giorgio Cafiso
- 107
- 10
-1
votes
1 answer
How to check if an Android device can be rebooted programmatically?
I am using a Android device having custom ROM and need to reboot that device. I am able to reboot the device from hardware side, but I want to programmatically check if the device can be rebooted.
Is there any way to do that?

Rojy George
- 117
- 6
-1
votes
1 answer
How to disable shutdown and reboot from an app with system priviliges?
I am developing a System App (i.e. an app signed with the device manufacturer's key) for non-rooted devices.
I need to prevent the user from shutting-down or rebooting the device.
If necessary and possible, disabling the power button completely…

fadedbee
- 42,671
- 44
- 178
- 308
-1
votes
2 answers
phone restarts automatically while using the app
I'm developing the app, which is supposed to be active all the time on the device (customer-specific app). The application isn't big, it doesn't use a lot of resources, but it works with scheduling (handlers, timers, AlarmService).
And it happens,…

Roman Diachuk
- 31
- 1
- 4
-1
votes
1 answer
error executing reboot command in android
I am trying shut down and reboot in my app.
I googled and found some answered questions on stackoverflow but all says device must be rooted that is not possible in my case. also these commands are device specific.
Is there any option to shut down…

Mahesh
- 1,257
- 1
- 14
- 24
-1
votes
1 answer
alarm is automatic running after reboot even alarm is not set android
Hi I am developing an application in Android which playing Alarm. It can reset alarm after reboot phone . But there is a problem that, it is running alarm even if alarm is not set at all. Please help me.

Balvinder Singh
- 580
- 6
- 19