Very good, I have a question related to when I have to use (or why) Activity.runOnUiThread () instead of, or vice versa Handler.post (Runnable) strong> to update for example a TextView or ProgressBar , or alternatively, I should use Asyn...
My problem is as follows, I have a runner class, the only thing he does is a method run (thread) that simulates the distance traveled and is saved in the variable distance that is a summation of the result of the Math.Random();...
Working with Visual Studio 2015, WPF I have a Canvas control which serves as a canvas to draw a skeleton that I get by scanning through the Kinect device when I get in front of the device my skeleton that appears on the canvas freezes.
I trie...
I'm doing a web application with JSP. This application has to show the result of a query in a table. The difficulty is that this has to be shown when the application is opened (url), without pressing any button.
I thought about doing a Thread th...
I have a folder with thousands of files to upload to my S3, for now I do it like that, without problems:
for x in images_full_path:
data = open(x,'rb')
name_file = os.path.basename(x)
s3.Bucket(bucket_name).put_object(...
I have never worked with threads and this will be my first time.
How can I multiply two matrices using the thread API in JAVA?
So far I have the code to create and multiply the matrices:
public class main {
public static void main...
Hello I have a project in android studio which saves the user's location (longitude and latitude), for this I have created a series of methods in a single Activity, now what I need is that when the user changes activity I follow saving the locat...
I have the following code:
public class UnitatFamiliar extends Thread {
Comandament comandament;
public UnitatFamiliar(Comandament c) {
comandament = c;
}
@Override
public void run() {
//Agafa el coma...
Good morning I am studying C # and I have found the need to make my program pause, until x seconds pass or until the same user generates an event. I tried to transfer my knowledge of java threads to C # but it does not work correctly.
My questio...
Hi, I'm making an application where I need to run a call to an Api in the background:
Main{
Metodo();
}
Metodo(){
for(i=0,i<100,i++){Metodo2(i)
}
Método2(int i){
apiThread2 = new Thread(() => LlamadaAUnaApi);
apiThrea...