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
11
votes
7 answers

Returning values from exception handlers in Perl 6

I've been trying to write a Perl 6 expression which performs the following logic: Evaluate a subexpression and return its value, but if doing so causes an exception to be raised, catch the exception and return a fixed value instead. For example,…
Sean
  • 29,130
  • 4
  • 80
  • 105
10
votes
5 answers

Android stop activity in onCreate() before calling super.OnCreate()

I am creating an app having a navigation drawer activity with fragments. At every cold start of the app, I am executing some initialization code where I load the following things: The user session(if the user is logged in or not) Registering…
com2ghz
  • 2,706
  • 3
  • 16
  • 27
10
votes
1 answer

How to resume a download when the app force-Quit?

My app have to download a pretty big file ( 390Mb), I'm using TCBlopDownloadSwift for the download ( I converted it for swift 2.0 and it works fine) and I made the config for a background download . I want , when the app force quit to be able to…
kholl
  • 609
  • 1
  • 6
  • 20
9
votes
3 answers

How to resume audio after interruption in Swift?

I am following instructions here, I've put together this test project to handle interruptions to audio play. Specifically, I'm using the alarm from the default iphone clock app as interruption. It appears that the interruption handler is getting…
rockhammer
  • 957
  • 2
  • 13
  • 38
9
votes
1 answer

TLS Session Resumption in php

I'm writing a multithreaded php client that makes a https requests to an apache reversed proxy and measures some statistics. I'm writing a bachelor thesis about improving the performance with TLS Session Resumption. Now I need to do a proof of…
Nicolas
  • 118
  • 13
9
votes
1 answer

How can I force a thread that is blocked reading from a file to resume in Rust?

Because Rust does not have have the built-in ability to read from a file in a non-blocking manner, I have to spawn a thread which reads the file /dev/input/fs0 in order to get joystick events. Suppose the joystick is unused (nothing to read), so the…
Pentagolo
  • 121
  • 6
9
votes
1 answer

Notification Resume Activity

I know, there are several questions of this type but I tried all of it and it still doesn't work. Ok, for my app; I've got an Activity. In this Activity, there are 4 Tabs, and the fourth one contents a list and a record button. When I am pushing…
Keenora Fluffball
  • 1,647
  • 2
  • 18
  • 34
9
votes
2 answers

Java: resume Download in URLConnection

I wrote a program that downloads some files from some servers. Currently program works properly. But I want to add resume support to it. I'm doing it like this But the result file is corrupted: .... File fcheck=new…
Ariyan
  • 14,760
  • 31
  • 112
  • 175
9
votes
4 answers

Delphi thread that waits for data, processes it, then resumes waiting

I need to create a thread in Delphi with the following characteristics: Waits until the main thread adds data to a shared queue. Processes all the data in the queue, returning the results to main thread (for this last part I'll just send messages…
Marek Jedliński
  • 7,088
  • 11
  • 47
  • 57
9
votes
2 answers

Content-Range for resuming a file of unknown length

I create a ZIP archive on-the-fly of unknown length from existing material (using Node), which is already compressed. In the ZIP archive, files just get stored; the ZIP is only used to have a single container. That's why caching the created ZIP…
cato_minor
  • 663
  • 6
  • 11
9
votes
2 answers

Java resumable hash computation

I would like to achieve resumable on-the-fly hash generation of some file being uploaded on the server. The files are big so I am using the update(byte[]) method of MessageDigest class (as described here, for instance: How can I generate an MD5…
Michal Boska
  • 1,041
  • 1
  • 8
  • 26
8
votes
2 answers

How to resume file download through FTP using Curl in C?

I am trying to download file using FTP, and in between if connection terminates then it should resume from where it was stop. My problem is that using following code snippet I able to continue download if I close connection and then again connect…
Yuvi
  • 1,344
  • 4
  • 24
  • 46
8
votes
3 answers

Resuming git push

I am trying to do a git push to a remote server, for a big project. Is there any way once the upload is started, that if the connection is lost, I can resume the git push command and not have to start all over again? edit: I am trying to push to…
Daniel Benedykt
  • 6,496
  • 12
  • 51
  • 73
8
votes
3 answers

Resume FTP download after timeout

I'm downloading files from a flaky FTP server that often times out during file transfer and I was wondering if there was a way to reconnect and resume the download. I'm using Python's ftplib. Here is the code that I am using: #!…
user8675309
  • 181
  • 2
  • 10
8
votes
3 answers

How to catch event of coming back to an activity after hitting back

I have a main screen for my application which then leads to different screens, from each of those hitting back takes you back to the main screen. I want to do some stuff every time a user is "coming back" to the main screen, How do I catch this kind…
yogi
  • 1,327
  • 2
  • 12
  • 33
1
2
3
37 38