Yes, you can create a multi-threaded android app using handler class in android. Handler class comes from the Package android.os.Handler package and is most used for multi-threading in android. Handler class provide sending and receiving feature for messages between various threads and handle the thread execution which is connected with that instance of Handler class.
In android class, every thread is connected with an instance of Handler class and it provides the thread to run along with other threads and interact with them through messages.
Example of multithreading using default constructor:
Handler handlerObject = new Handler();
Viewing 1 reply thread
You must be logged in to reply to this thread.Please login or register. Registration is 100% free.
GET FREE CONSULTATION
Call Us Now For Free Consultation97370 05566
Our experts listen to you patiently and suggest you the right course after conducting a personality profile test. Register your interest below to schedule personality profile test for you.