Skip to content Skip to sidebar Skip to footer
Showing posts with the label Threadpoolexecutor

Android Application Is Hanged And Showing Black Screen For 5-6 Seconds When Checking If A Server Port Is Open Or Not Using Threadpoolexecutor

I need to run a service if a server port is open. I am doing this by using below method. public Fut… Read more Android Application Is Hanged And Showing Black Screen For 5-6 Seconds When Checking If A Server Port Is Open Or Not Using Threadpoolexecutor

New Thread(task).start() Vs Threadpoolexecutor.submit(task) In Android

In my Android project I had a lot of places where I need to run some code asynchronously (a web req… Read more New Thread(task).start() Vs Threadpoolexecutor.submit(task) In Android