Senior Android Engineer Interview Questions

615 senior 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

1. Difference between Thread and Runnable. 2. Started Service and bound service and Intent Service. 3. SOLID Principle. 4. ART and Dalvik. 5. How the APK generated in Android. 6. Proguard obfuscation. how it works 7. HashMap and HashTable difference. 8. Difference between Array List and HashMap. 9. How the Concurrent Hashmap is Threadsafe. 10. Static synchronization in java. 11. Foreground service. 12. Basic puzzle. 13. Signed APK. 14. CI/CD. Round Second : 1. Fasad Pattern. 2. Points to review in code Code Review. 3. Logger design approach. 4. Info logs. 5. Java 8 New feature. 6. Microservice architecture. 7. type of design pattern in java 8. what design pattern we use. 9. Round Third 1.Sort value of hashmap. 2. Find duplicate between array without repetition. 3.cache design. 4. Memory management in Java 5. String pool 6. Ensure maxium cache hit and minium cache miss .7. Difference between Arry and linked , when should we use the both. 7. find second largest in array. 8. create stack using queue. 9. hashcode and equals
avatar

Senior Software Engineer Android

Interviewed at PubMatic

3.7
Apr 1, 2019

1. Difference between Thread and Runnable. 2. Started Service and bound service and Intent Service. 3. SOLID Principle. 4. ART and Dalvik. 5. How the APK generated in Android. 6. Proguard obfuscation. how it works 7. HashMap and HashTable difference. 8. Difference between Array List and HashMap. 9. How the Concurrent Hashmap is Threadsafe. 10. Static synchronization in java. 11. Foreground service. 12. Basic puzzle. 13. Signed APK. 14. CI/CD. Round Second : 1. Fasad Pattern. 2. Points to review in code Code Review. 3. Logger design approach. 4. Info logs. 5. Java 8 New feature. 6. Microservice architecture. 7. type of design pattern in java 8. what design pattern we use. 9. Round Third 1.Sort value of hashmap. 2. Find duplicate between array without repetition. 3.cache design. 4. Memory management in Java 5. String pool 6. Ensure maxium cache hit and minium cache miss .7. Difference between Arry and linked , when should we use the both. 7. find second largest in array. 8. create stack using queue. 9. hashcode and equals

(1) Standard phone screen (2) Shared my screen and went over code from a recent project, the Lead Android Engineer had no complaints and liked the idea of the app (3) Coding Assignment was a simple joke, just a json feed in a recyclerview with search functionality and a decent looking UI
avatar

Senior Android Engineer

Interviewed at Outdoorsy

2.8
Jun 19, 2020

(1) Standard phone screen (2) Shared my screen and went over code from a recent project, the Lead Android Engineer had no complaints and liked the idea of the app (3) Coding Assignment was a simple joke, just a json feed in a recyclerview with search functionality and a decent looking UI

Viewing 341 - 350 interview questions

Glassdoor has 615 interview questions and reports from Senior android engineer interviews. Prepare for your interview. Get hired. Love your job.