Questions tagged [application-restart]

Questions based on restarting programs in various programming languages belong in this tag.

Based on certain conditions, the entire application may need to be restarted. In these cases, it is likely that the code file in question is already being run as the main() of the application. Restarting an application at this level is not always trivial.

Since different languages may handle this differently, a question tagged with this tag must also be tagged with the programming language being used

236 questions
0
votes
1 answer

VBScript for Windows Restart Manager?

Hello, Is there VBScript code for Restart Manager (see link here) code to make Microsoft Word close and re-open? I used Microsoft Word as an example. I just wanted to send the message to RestartManager to close specific application.
Codename K
  • 890
  • 4
  • 23
  • 52
0
votes
1 answer

Android blank WebView after Application Restart

I have a problem with my WebView. When I start the Application with Eclispe it works fine on my Device (Samsung Galaxy S2, Android 4.1.2/API 16). It loads the Website I've passed with webview.loadUrl('my url'); and also graps some javascript alerts…
Forke
  • 358
  • 3
  • 11
0
votes
0 answers

Application is not resuming if started from NFC tag

I have an application NFC capable. If I don't start it from NFC tag it resumes normaly even from notification bar, even by long pressing home button. The problem is when I start the application with the NFC tag. When I try to resume, it restarts the…
0
votes
1 answer

How to restart app without Command Line Arguments

How can I restart application without Command Line Arguments? Say i have my app started with some arguments, but on restart i want to get rid of any arguments. Application.Restart(); will restart app using the same command line arguments that were…
Felix
  • 830
  • 10
  • 17
0
votes
1 answer

sending crash report via email using DefaultExceptionHandler

background i'm trying to capture all crashes and allow the user to send my own customized error report via email. it's a very temporary solution since i need to send the logs of the app and other information . it is not intended to be sent to end…
android developer
  • 114,585
  • 152
  • 739
  • 1,270
0
votes
2 answers

Restart android application after a time

I need to restart my android after a time. My application is a slideshow with images. The user close the application by home button or by back button. I need to restart the application after a time (a few minutes after the lost user's touch on the…
Gabrielle
  • 4,933
  • 13
  • 62
  • 122
0
votes
1 answer

Deleting folder no longer causes asp.net application to restart in asp.net 4

In asp.net 2, deleting a folder will cause the application to restart. But today I found that this behavior no longer existed in asp.net 4? I can't find any information about this. Can anybody tell me if this is true? If yes, that's awesome! I hate…
Mouhong Lin
  • 4,402
  • 4
  • 33
  • 48
0
votes
1 answer

Update ASP.NET Website without throwing site users away

I am running ASP.NET 4.0 website (not a web project) , which is frequently modifying. Pages updates smoothly ,but some key file ,like web.config or resource files updates causes web site restarting and throws users from site, make them log in again…
alekoo73
  • 779
  • 2
  • 10
  • 18
0
votes
1 answer

rehabilitating a button

if($('.click').one('click')){ $('.click').click(function(){ $('.mainContent').animate( {"height":"+=620px"}, 800, 'easeInBack'); $('.eneButton').animate( …
Michele Petraroli
  • 89
  • 1
  • 1
  • 11
0
votes
1 answer

Activity does not return data on restart

I am having some trouble traveling from Activities A->B->A after B is restarted. How do I restart activity B without messing up how the intent is returned to A after B is finished? B is called from A with this code: public void…
0
votes
1 answer

How do you create a script to Auto-Restart a Web Application on Tomcat 7

I am not a programmer, but would like to know how the following task can be performed. I am working with an experienced developer and would like help from the programming community. If you can guide us or provide as a script, that will be awesome…
0
votes
1 answer

java restartApplication Method only restarts once?

I was trying to use a restartApplication method that I found on stack overflow, but for some reason it only will restart my application once. For example, in this simple JOptionPane program below, if the user enters the letter "a", it will restart…
davidVee
  • 61
  • 3
  • 13
0
votes
3 answers

Restart python script if internet goes down

I have a python script (running on Mac OS X) that needs to be restarted when the internet goes down. If the internet is down, I would like to kill the current script, wait for the internet to go back up, and then restart it. Or, if possible, restart…
Gregory
  • 9
  • 3
0
votes
2 answers

Always display a particular view when re-launching

I have an app with multiple views. I would like the app to always display a "start view" when it is opened again, even if the user is on another view when the app is quit.
Philip2905
  • 1
  • 1
  • 4
0
votes
1 answer

How to restart a blackberry application?

I'm using blackberry SDK5.0 and I want to restart the application programmatically. How to do this ?
Ashraf Bashir
  • 9,686
  • 15
  • 57
  • 82
1 2 3
15
16