Questions tagged as 'task'

2
answers

onTaskRemoved () method giving error

I have an Activity that extends AppCompatActivity and I have the following method: @Override public void onTaskRemoved(Intent rootIntent) { NotificationManager mNotificationManager = (NotificationManager) getSystemService(Context....
asked by 18.02.2016 / 22:50
3
answers

How to run a C program in Visual Studio Code

I'm trying to run a code (program) in C in Visual Studio Code, but I can not find the necessary settings. I installed the C / C ++ (Microsoft) extension Project structure: .vscode          - c_cpp_properties.json          - tasks....
asked by 25.10.2016 / 14:47
1
answer

Task ListT showing error Xamarin

I'm creating a Task List
asked by 08.06.2018 / 04:17
2
answers

TaskCompletionSourceTResult without a type parameter

The TaskCompletionSource<TResult> class needs a TResult type. That way, when I need to use this class without having a return type ( void ), I have to do something like: var tcs = new TaskCompletionSource<object>(); /...
asked by 08.11.2017 / 03:20
1
answer

Doubt when using TimerTask

Here is my example of using the TimerTask class and my problem is as follows:   I want to make this routine automatically every 12 hours. Currently nothing is happening, is something missing? And this class just give a tomcat deploy that...
asked by 04.01.2016 / 18:24
1
answer

Execute a function at a given time

Hello, I recently wanted to run a method that sends newsletter-type emails from time to time. I believe I have found the solution, but I can not get through it, which is as follows: /************************************************************...
asked by 16.09.2015 / 20:39
1
answer

Transform Synchronous Method to Asynchronous

I have the following method: public string MyMethod1(string myParam1) { // Implementação return myReturnValue; } I needed to create an asynchronous method that did the same thing, to process multiple items in a list at the same time...
asked by 25.07.2017 / 15:20
1
answer

ASP.Net and C # - automatic email sending

In the site that I assumed from a client, developed in ASP.Net with C #, there are registered employees with a defined admission date. The registry of these developers is in a SQL Server 2008 database table. I needed to create something (mayb...
asked by 26.07.2016 / 19:38
1
answer

Copy the source folder using gulp?

How to create a task to copy the bootstrap font folder to the build folder? I created the following task but it is not working. var config = { assets_path: './resources/assets', build_path: './public/build' }; config.bower_path...
asked by 08.08.2016 / 21:32
0
answers

ProgressRing is not shown

I need to show progressring while running a task, but it does not appear and the screen is frozen until it runs. private async void btn_Criar_Click(object sender, RoutedEventArgs e) { pgr_Carregando.IsActive = true;...
asked by 06.06.2018 / 20:10