Qualcomm Interview Question


Country: India
Interview Type: In-Person




Comment hidden because of low score. Click to expand.
0
of 0 vote

Android binder is the IPC which communicates between processes using a small custom kernel module.
Although android is coded in java, a separate IPC is needed because android runs on the dalvic OS which in linux acts as a single thread. Hence if the vm crashes, this will result in closing of all the apps. Android binder prevents this from happening.

- tranquil November 25, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

Binder is an Android-specific interprocess communication mechanism, and remote method invocation system.

- Anonymous April 10, 2013 | Flag
Comment hidden because of low score. Click to expand.
1
of 1 vote

Each app runs in a different process, although that process may be single threaded or multi-threaded.

One app crashing never touches any other app. No binder needed here.

Just as in normal (non-Android) Linux: one process dying cannot take another unrelated process down, let alone the whole system, since all processes run separate copies of code.

- Prite April 30, 2013 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

That is, one Android process can call a routine in another Android process, using binder to indentify the method to invoke and pass the arguments between processes.
note that Android does NOT use SysV IPC for interprocess communication
the binder implementation is in the kernel source at: drivers/misc/binder.c, with include file: include/linux/binder.h

- ramesh December 09, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

questiondiscussion.com/questions/613/what-is-binder-in-android?page=1&focusedAnswerId=614#614

- Arpan July 29, 2014 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More