Questions tagged [relaunch]
46 questions
1
vote
2 answers
relaunch application without changing
I found some code to press home button from code
Intent startMain = new Intent(Intent.ACTION_MAIN);
startMain.addCategory(Intent.CATEGORY_HOME);
startMain.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(startMain);
and This one :
…

Khashayar
- 326
- 3
- 15
1
vote
2 answers
Relaunch a for loop after an error message
I download data on internet with the download.file function inserted in a loop. My loop looks like this :
for (i in 1:9999999) {
download.file(paste("website_path",file[i],sep = ""),
paste("home_path", file_name[i], sep =…

Loulou
- 703
- 5
- 17
1
vote
1 answer
death of an activity re-launches the process
I have a set of activities starting from my home screen through a few list activities to my final screen.
When i have an exception for whatever reason i get the "Sorry....yada yada yada, must be closed" dialog and the activity along with the process…

codeScriber
- 4,582
- 7
- 38
- 62
1
vote
1 answer
restart app and follow the same steps Robotium
I am learning to use robotium and I am trying to relaunch the application and do the same steps 5 time. I know to put for loop, but how do I relaunch application? I was using robotium recorder to do some of it, but it's easier to edit the script…

guylifestyle
- 317
- 1
- 6
- 13
1
vote
2 answers
How to relaunch firefox browser using WebDriver while retaining the previous session id
There is a bug in my app wherein Logout doesn't work. I need to workaround this issue in my automation that is in Java using WebDriver. The workaround is to close the browser and reopen it and open the Login page.
To automate this workaround, here…

Mihir Kamdar
- 11
- 1
- 2
1
vote
1 answer
Phonegap - developing and launching app on simulator
i'm developing using phonegap and when i want to launch the app in the ios simulator i do from terminal : phonegap run ios
but it takes a few seconds is really slow to launch and refresh the app again and again like this.
What i'm asking for is how…

itsme
- 48,972
- 96
- 224
- 345
1
vote
1 answer
After forced quit, "killall Finder" says "No matching processes..." but PID still exists?
Here's one for ya. Upon a forced quit of the Finder with unsuccessful relaunch, "killall Finder" in terminal returns:
"No matching processes belonging to you were found"
Oddly enough, the PID for finder does actually show up after a "ps -A" to…

Old McStopher
- 6,295
- 10
- 60
- 89
1
vote
2 answers
Launching a new Activity from a Context Menu and automating another Activity in the onCreate relaunches the same Activity
I have two Activities in which I want to call the second one from the first one's Context Menu. This is what it should do.
Activity A Context Menu click should start Activity B.
In the onCreate of Activity B, depending on the extras passed in,…

John
- 35
- 4
1
vote
1 answer
How can i relaunch the app after it crashed
Handling unhandled exceptions and signals
I just read this blog, and find it is a good way to handle the crash.
Can we repalce the "continue" button to "relaunch",and relaunch the App if end user want to relaunch our App, or it is correct to do…

NewXcoder
- 705
- 1
- 5
- 18
1
vote
2 answers
iOS Always be on Startpage when App becomes active
I'm programming a quiz for the iPad and when the user presses the homebutton while in a quiz and relaunches the app I want the quiz to be already cancled and back on the Startpage of the app.
Now it simply gets back to the last view it was on.
Also…

oybcs
- 327
- 1
- 4
- 14
0
votes
0 answers
Closed VSCode, & Relaunched it, now dotnet build won't recognize the project
I have a file I downloaded to compile w/ dotnet (7.0), and it was taking the input. However, I restarted my computer, went through the same steps, and now when I try to run "dotnet build", I'm met with
Couldn't find a project to run. Ensure a…

Raaid C
- 11
- 1
0
votes
0 answers
Script or process to monitor and restart TeamViewerHost on macOS for crash or manually quit
I want to keep TeamViewerHost running on Mac users, so if it is manually quit, a process will automatically restart it.
I've seen many posts about using launchd plist scripts but I can't get any to work. Ones I've tried to follow are below (while…

Alan
- 1
0
votes
2 answers
Does NSCache gets automatically emptied when the app is force quitted?
I am downloading some images and save them in my cache. So far so good, but when quit my app and relaunch it, the cache seems to be empty. I do not know how to check if the cache is actually empty which is why I am asking if the cache gets…

JPJerry5
- 107
- 10
0
votes
0 answers
Python: How to Relaunch a Python Daemon Process During Specific Time Intervals?
I just want to run a python process that is being executed remotely from a task machine to run during certain hours of the days. Is there a way to do this from within the Python script itself on Windows?
I want to specify from within the Python…

Riley Hun
- 2,541
- 5
- 31
- 77
0
votes
0 answers
Does Crashlytics log file contain logs when app relaunched from Background Execution?
In the fabric crash logs I can see some records from functions which calls from background:
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void…

DeDMakar
- 1
- 1
- 2