top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How thread works in android?

+2 votes
567 views

How thread will work in android.

posted Mar 30, 2015 by Nagaraj

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Threads

When an application is launched, the system creates a thread of execution for the application, called "main." This thread is very important because it is in charge of dispatching events to the appropriate user interface widgets, including drawing events. It is also the thread in which your application interacts with components from the Android UI toolkit (components from the android.widget and android.view packages). As such, the main thread is also sometimes called the UI thread.

Please refer this link:
http://www.techotopia.com/index.php/A_Basic_Overview_of_Android_Threads_and_Thread_handlers

answer May 25, 2015 by Manikandan J
Similar Questions
+3 votes

We using C++ in the media layer and we want to raise the priority of our _AUDIO PROCESSING_ thread, to make sure the audio works well even the CPU is high (totally %98 on an slow Phone).

I have searched on google and find to use _setpriority( PRIO_PROCESS, 0, priority); but _setpriority function is change the process priority instead of the thread.

I know there is Java API to do that, but we need an C++ API. So does there any way to raise an single thread priority from C++ code?

0 votes

Hi everyone, I have been working on android application and want to know your views on creating radar view in android with example code. I am also very curious about various other programming questions and answers because I also got stuck in some android issues, that is why I am looking for some mobile development blogs where the evolving community can help me to resolve my queries.

...