Questions tagged as 'thread'

1
answer

Thread Problems (Koltin)

I'm in a situation where I'm building an android APP to keep looking at Bitcoin's quotations on the Bitcoin Marketplace site. The APP is already working, the last thing I want to implement is the automatic query at time intervals. The star...
asked by 06.07.2018 / 18:01
1
answer

Java FX - Thread Issues

Good morning, I would like to sanction a question that is disturbing me, how do I edit a Label from a Thread using a button? Whenever I run the code I get an error, but if I run that same code without leaving the Label it works perfectly,...
asked by 25.05.2018 / 07:22
1
answer

How can I kill a Thread

I would like to know how to kill a thread. public class thread { private static void metodo(){ new Thread(){ @Override public void run(){ while(true){ System.out.println(...
asked by 14.04.2018 / 18:04
1
answer

How to retrieve the return of a function that was executed inside a Thread in Python3?

I need to run a function through a Thread only so I'm not sure how to retrieve the return from this function. Here's an example of how I want to do it: from threading import Thread import time def teste_thread(): for k in range(5): prin...
asked by 26.02.2018 / 22:21
2
answers

Thread execution in android

I'm new to working with threads on Android and I'm having a hard time implementing them. The thread will be used to make a calculation and finally send an email depending on the result of the calculation, however I am not able t...
asked by 20.01.2018 / 12:05
1
answer

How do I allocate more memory in the app execution?

I'm developing an android Currently, when I run the APP, it starts by reserving 36.62 MB of memory. I would like it to start at the top of 50.00 MB or, when it reaches its limit, add more memory. Is there any way to set the i...
asked by 20.02.2018 / 20:58
1
answer

Update TextView Android Using Handler

I started programming now on Android, and I need to update a TextView after receiving a string from a Socket connection. I get the string correctly because apk closes giving an exception:    10-01 11: 05: 57.470: E / AndroidRuntime (753): FAT...
asked by 02.10.2017 / 19:05
1
answer

MethodInvoker does not update listBox C #

How to implement a timer that every cycle updates a listbox in C #; Method to create the timer: private void CriaTimer() { System.Timers.Timer aTimer = new System.Timers.Timer(); aTimer.Elapsed += OnTimedEvent; aTimer.Interval =...
asked by 13.09.2017 / 22:41
1
answer

I can not display the value received from the server

I'm working on a project written in Java with a Client-Server structure. My client is made up of Graphical Interfaces with Swing and the server working with multi-threads. But I'm at a point where I can not go through with it. There is an act...
asked by 08.06.2017 / 16:17
2
answers

Help with threards system

I wrote a small application in C #, where its main process takes a long time to run. I'm having a problem with the lack of response from the application GUI during the execution of this process. Through help obtained here in stackoverflow , I w...
asked by 01.05.2017 / 18:57