Questions tagged [resume]

Starting something again after stopping/pausing it. (DO NOT USE for any topic related to employment or CVs)

Starting something again after stopping/pausing it. Do not use this tag for résumés or CVs.

560 questions
8
votes
3 answers

Self Suspending a thread in Delphi when it's not needed and safely resuming

This question involves Delphi and XE specifically deprecating Suspend and Resume. I have read other posts and I have not found a similar usage so far, so I’m going to go ahead and ask for a discussion. What I’d like to know is there a better way to…
Rich Shealer
  • 3,362
  • 1
  • 34
  • 59
8
votes
1 answer

SystemEvents.PowerModeChanged not raising Resume events

I have an WinForms application that keeps track when system enters suspended state (sleep) and when it resumes. App uses the SystemEvents class for this purpose. It works fine on my machine. However it seems that for some users the event with…
mancze
  • 669
  • 6
  • 22
8
votes
1 answer

If a git fetch is cancelled half way will it resume?

Sometimes fetching any git repository ( by executing the "git fetch repository_URL") might take many hours depending the size of repository and network speed. If for some reason the user cancels the fetch mid way and then tries to fetch the same…
Dinesh Maurya
  • 822
  • 8
  • 24
8
votes
2 answers

onCreate vs. onResume/onRestart bevhaviour regarding member variables

When I open an activity I know that I can initialize stuff in the onCreate function. But what is the behaviour on the OnResume and onRestart function? When are these functions called? Specifically: I initialize a local member variable in the…
Devolus
  • 21,661
  • 13
  • 66
  • 113
8
votes
2 answers

Encoding NSViewController for Lion's user interface resume feature

Any idea what are the best practices for archiving an NSViewController inside a window for resume (user interface preservation) purposes? I've tried archiving it in the window controller's encodeRestorableStateWithCoder: methods only to find out…
adib
  • 8,285
  • 6
  • 52
  • 91
7
votes
3 answers

How to resume background music after out-going phone call (iOS)?

I'm using AVAudioPlayer to play music (background supported). My question is if I want to call somebody while I'm listening to the music, how to resume it after the call? I've implement the AVAudioPlayer's delegate method: -…
Chilly Zhong
  • 16,763
  • 23
  • 77
  • 103
7
votes
1 answer

Prevent "Resume" for my Cocoa application?

I love the new "Resume" feature in Lion. After a restart window size and position is exactly how you left it. But during development this is a bit annoying. If I resize a window in the Interface Builder and restart my application it doesn't have the…
TalkingCode
  • 13,407
  • 27
  • 102
  • 147
7
votes
1 answer

pausing and resuming child activities in ActivityGroup

I am making a first try att creating a custom ActivityGroup. I am getting everything working except the activity lifecycle methods of the groups child activities. How can i call the onResume/onPause methods in my child activities when they…
Emil Sjölander
  • 1,773
  • 4
  • 19
  • 27
7
votes
1 answer

When would I want to resume a Perl 6 exception?

Perhaps my real question is "Is this a feature appropriate for Learning Perl 6"? Based on Should this Perl 6 CATCH block be able to change variables in the lexical scope?, it seems the simplest example might be beyond a simple example. In that…
brian d foy
  • 129,424
  • 31
  • 207
  • 592
7
votes
5 answers

Resuming Application on Android with Unity

I'm trying to implement Pausing in Unity by using OnApplicationPause function. It seems to work fine when I exit my game (on Android) by pressing home button and then comeback through list of active apps, but when I press the game icon on home…
tvoloshyn
  • 407
  • 8
  • 22
7
votes
2 answers

Pausing & Resume Android Repo Sync

I am trying to sync the following repo repo init -u git://github.com/SlimRoms/platform_manifest.git -b jb The problem is i have started the repo sync around 30 hours ago & its still not complete. (i have a 1Mbps connection). I dont want to keep…
Chinmay Jade
  • 79
  • 1
  • 1
  • 2
7
votes
3 answers

JLayer - Pause and resume song

I've noticed that a lot of topics were about pausing/resuming an MP3 using JLayer, so in order to help everybody, I've made a whole entire class designed just for that! Please see the answer below. Note: This was for my personal use, so it may not…
Josh M
  • 11,611
  • 7
  • 39
  • 49
6
votes
2 answers

TLS/SSL session resume on FTP transfer connection with OpenSSL

I'm open source developer implementing FTP client (WinSCP). I'm trying to resume TLS/SSL session from the FTP control socket on the transfer socket. Some FTP servers started to require this. E.g.…
Martin Prikryl
  • 188,800
  • 56
  • 490
  • 992
6
votes
1 answer

How to implement pause/resume in cocos2d game?

My question is to look for design solution for pause/resume states (including all data info, which need save ) during cocos2d game. Including following cases, but not limited: 1). User choose quit, then pop out one dialog for user to choose " quit…
Forrest
  • 122,703
  • 20
  • 73
  • 107
6
votes
1 answer

Rationale behind the resumable functions restrictions

In the paper about resumable functions, in the section about restrictions three restrictions are listed: Resumable functions cannot use a variable number of arguments. For situations where varargs are necessary,the argument unwrapping may be…
PaperBirdMaster
  • 12,806
  • 9
  • 48
  • 94
1 2
3
37 38