Questions tagged [reboot]

Reboot is a Unix command to restart the operating system. It is also a generic term for restarting any operating system.

604 questions
0
votes
1 answer

Testing an android app for restart functionality

I am trying to develop an Android App that, though having an Activity, needs to run in the background as a service. The app needs to start up automatically after rebooting the phone/device. My question is HOW to troubleshoot such requirements, since…
GreenDroid
  • 337
  • 1
  • 6
  • 16
0
votes
1 answer

Getting Location of the User forever in iOS app

I have done an iOS app to get location every 10 minutes and to update the location to the server through web service. I have used setKeepAliveTimeout method to do with VOIP configuration. I didn't use any stream. It works well. But when I reboot my…
Edward Sagayaraj
  • 471
  • 2
  • 5
  • 10
0
votes
1 answer

Setting past set events from AlarmManager to set again on a reboot?

The problem I am having is that if I set up c2 a calendar time for lets say 24 hours from now that should display a notification although it all works if I perform a reboot on my phone then the notification will no longer be displayed at the given…
theForgottenCoder
  • 145
  • 1
  • 1
  • 11
0
votes
2 answers

Restart GPS after device reboot on ios

I am new to ios and writing an application which uses GPS. This application works even in background. The problem I am facing here is, after device(ios) reboot my application which is in background doesn't receive any GPS updates. (I need to…
Mamatha
  • 53
  • 1
  • 6
0
votes
1 answer

Android - Reboot permission for non-device apps

I want to add the reboot permission to my app. I read everywhere that this is not possible for apps which are not signed with the Android's certificate. But how do some store apps like this or this one handle it? I'm just guessing that there IS a…
Ron
  • 22,128
  • 31
  • 108
  • 206
0
votes
1 answer

when is the regid in GCM checked?

I am researching when the regId in GCM is checked. I wonder whether it is checked whenever the application starts new(after rebooting the device) or just checked once when the app starts first on the device. I think it should be checked whenever…
0
votes
2 answers

SDK Android : How to open Shutdown/Reboot dialog for the device

I'm new here. I have a problem, i try to shutdown a 4.2.2 android device (not root). I know that ACTION_SHUTDOWN not works with unroot device. So i want to open the existing shutdown/reboot/airplane dialog, the same we get when we maintain the…
Imar
  • 13
  • 1
  • 3
0
votes
1 answer

AutoIt - Detect System Shutdown/Reboot

I want to make AutoIt display a msgbox when system is about to shutdown or reboot. I tried this one: #include $hGUI = GuiCreate("") ; Create a GUI and don't show it GuiRegisterMsg($WM_ENDSESSION, "WM_ENDSESSION") ; Do stuff…
Madara Uchiha
  • 127
  • 2
  • 11
0
votes
1 answer

android system-app update restoring to default after reboot

Hei, I've written a system app which is included in my system image. When I run update with the same package name and certificate, the system image is read-only so it will generate a new app in the data image with inherited system…
Mr. Fish
  • 827
  • 7
  • 18
0
votes
1 answer

runit spawns the process twice after reboot

After reboot runit respawns the program it has launched already. There are no error messages in the service log. The program registered as a service starts working properly but after about 10-15s it is being restarted by runit.
ifn
  • 1
  • 2
0
votes
1 answer

Completely reboot app android

I would like to know how do you make an app restart COMPLETELY clicking on a preference. Can you give me some code snippet? I would like that clicking on a preference with written Reboot it restart the application completely
0
votes
3 answers

Launch android.intent.action.BOOT_COMPLETED through ADB

Is it possible to launch the action: android.intent.action.BOOT_COMPLETED using ADB. Currently, I need to restart my device and wait until the OS broadcasts this message. Would be nice if I could do it without requiring a reboot.
Johann
  • 27,536
  • 39
  • 165
  • 279
0
votes
1 answer

Rebooting android using monkeyrunner

I have this application which I'm testing. I use a script which automatically installs the app but I also want to restart the device. This is important as after the installation I run a monkey-test on the device and all kind of quirks and bugs may…
0
votes
2 answers

CentOS- I would like to know how can I see when the system is shutting down?

I had the following question in a test: "Each time that the system is order to shut down, register the following message -System stopped at hh:mm:ss from dd/mm/yyyy-, at /root/log_stop" the question is that, I would really like how can I know that…
Alex.U
  • 1,631
  • 2
  • 16
  • 26
0
votes
1 answer

How To Retrieve And Save a Date Via Shared Preferences

Original Post: In the following example: How to save and retrieve Date in SharedPreferences What should I be looking to replace the ... with? Save: SharedPreferences prefs = ...; SharedPreferences.Editor editor = prefs.edit(); editor.putLong("time",…
NoobDev954
  • 119
  • 1
  • 3
  • 11