Lead Android Engineer Interview Questions

8,360 lead android engineer interview questions shared by candidates

First Phone Interview with recruiter: - Which of these standard Java collections is fastest to use if you want to find a specific element?
 An unsorted Vector
 TreeSet
 A sorted LinkedList


 - In which order are the Activity lifecycle methods called? 
onCreate, onStart, onResume
 onCreate, onResume, onStart
 onStart, onCreate, onResume 
 - What are Android Fragments used for?
 Creating a modularized UI
 Optimizing the garbage collector in Dalvik
 Loading data from multiple endpoints 
 - Which thread will process a Message posted to a Handler?
 The UI thread
 The thread that created the Handler The thread that created the Message 
 - Which thread executes the Service onCreate method? 
The UI thread
 A background thread
 The thread specified in the inten - Is the IntentService destroyed after handling all queued intents?
 Yes 
No  
 
 - When will the system call a Service onDestroy method? 
When it’s explicitly stopped, regardless of any existing bindings 
Only when the system needs the memory
 When it’s in a stopped state and no bindings exist 
 - If the UI thread is idle, and a background thread is busy-looping, when will the system display an Application Not Responding message?
 After 5 seconds
 After 10 seconds
 Never   - Which of the following apps does Android consider most important to keep alive?
 A hidden app with a started service
 A visible app without any services 
A hidden app without any services Skype Interview: Some Android and computer science questions, code review, hands-on coding - What's Activity? - What's Fragment? - What's content provider? - What's service? - What's bound service and started service? - What's intent service? - What's lint? - What are ways to pass data from activity to activity without using intent? - What's broadcast receiver? - What is time complexity? - What is the time complexity of a sorted array? - What is the difference between arraylist and linkedlist? - How do you keep your code clean? - What is polymorphism? - What's the difference between process and thread? - SOLID principles - Which design patterns did you use in your Android project? Explain. - A sort problem and it's complexity OnSite: Behavioral interview, white board/share and tell, system design System design: designing qr code reader, search White board: Removing duplicates without changing the order of the array and it's complexity
avatar

Senior Android Engineer

Interviewed at Spotify

4
Jun 10, 2019

First Phone Interview with recruiter: - Which of these standard Java collections is fastest to use if you want to find a specific element?
 An unsorted Vector
 TreeSet
 A sorted LinkedList


 - In which order are the Activity lifecycle methods called? 
onCreate, onStart, onResume
 onCreate, onResume, onStart
 onStart, onCreate, onResume 
 - What are Android Fragments used for?
 Creating a modularized UI
 Optimizing the garbage collector in Dalvik
 Loading data from multiple endpoints 
 - Which thread will process a Message posted to a Handler?
 The UI thread
 The thread that created the Handler The thread that created the Message 
 - Which thread executes the Service onCreate method? 
The UI thread
 A background thread
 The thread specified in the inten - Is the IntentService destroyed after handling all queued intents?
 Yes 
No  
 
 - When will the system call a Service onDestroy method? 
When it’s explicitly stopped, regardless of any existing bindings 
Only when the system needs the memory
 When it’s in a stopped state and no bindings exist 
 - If the UI thread is idle, and a background thread is busy-looping, when will the system display an Application Not Responding message?
 After 5 seconds
 After 10 seconds
 Never   - Which of the following apps does Android consider most important to keep alive?
 A hidden app with a started service
 A visible app without any services 
A hidden app without any services Skype Interview: Some Android and computer science questions, code review, hands-on coding - What's Activity? - What's Fragment? - What's content provider? - What's service? - What's bound service and started service? - What's intent service? - What's lint? - What are ways to pass data from activity to activity without using intent? - What's broadcast receiver? - What is time complexity? - What is the time complexity of a sorted array? - What is the difference between arraylist and linkedlist? - How do you keep your code clean? - What is polymorphism? - What's the difference between process and thread? - SOLID principles - Which design patterns did you use in your Android project? Explain. - A sort problem and it's complexity OnSite: Behavioral interview, white board/share and tell, system design System design: designing qr code reader, search White board: Removing duplicates without changing the order of the array and it's complexity

Viewing 5701 - 5710 interview questions

Glassdoor has 8,360 interview questions and reports from Lead android engineer interviews. Prepare for your interview. Get hired. Love your job.