2
Android interview questions for 2-5 yrs experienced Candidates These are the most frequently asked android interview questions 2 to 5 yrs experienced candidates in android. I have around 8yrs of experience in mobile application development. 4 years in C,C++,BREW. And 4 years in Android. This list of questions are based on my interview experience with various people. Below are the most commonly asked android interview questions. If you can answer at least 60% of these questions, that is more than enough. 1. Activity life cycle - Can I save all my database updates in onStop()? 2. What is the difference between this and getapplicationcontext? 3. What is the UI response time limit in android? 4. What is ANR? 5. What is Bundle? How it is different from parcel? 6. How to write a custom adapter? 7. How to fix an android application crash? How to analyze a crash using logcat? 8. What is a singleton class? 9. What is sleep mode? 10. How to save UI states in case of configuration changes? (eg: screen orientation changes). 11. What is a fragment? How it differs from activity? 12. How to parse JSON data that is coming from a server? 13. What is 9 patch image? when to use it? 14. What does "compatibility issue" means? 15. How will you write an application which fits both for mobiles and tablets? 16. What is the Memory limit of each process in android? 17. What kernel is used in android? 18. How to fetch a contact person number from contact application using content provider? 19. How to upgrade data base tables in the later versions of an application? 20. What is the difference between dynamic receiver and static receiver? when will you use dynamic broadcast receivers?

Android interview questions for 2 to 5 years (1)

Embed Size (px)

DESCRIPTION

Android interview questions for 2yrs to 5yrs experience candidates. These are the most frequently asked android interview questions. This is based on my 8yrs experience as a mobile application developer.

Citation preview

Page 1: Android interview questions for 2 to 5 years (1)

Android interview questions for 2-5 yrs experienced Candidates

These are the most frequently asked android interview questions 2 to 5 yrs experienced

candidates in android.

I have around 8yrs of experience in mobile application development. 4 years in

C,C++,BREW. And 4 years in Android.

This list of questions are based on my interview experience with various people. Below are

the most commonly asked android interview questions. If you can answer at least 60% of

these questions, that is more than enough.

1. Activity life cycle - Can I save all my database updates in onStop()?

2. What is the difference between this and getapplicationcontext?

3. What is the UI response time limit in android?

4. What is ANR?

5. What is Bundle? How it is different from parcel?

6. How to write a custom adapter?

7. How to fix an android application crash? How to analyze a crash using logcat?

8. What is a singleton class?

9. What is sleep mode?

10. How to save UI states in case of configuration changes? (eg: screen orientation changes).

11. What is a fragment? How it differs from activity?

12. How to parse JSON data that is coming from a server?

13. What is 9 patch image? when to use it?

14. What does "compatibility issue" means?

15. How will you write an application which fits both for mobiles and tablets?

16. What is the Memory limit of each process in android?

17. What kernel is used in android?

18. How to fetch a contact person number from contact application using content provider?

19. How to upgrade data base tables in the later versions of an application?

20. What is the difference between dynamic receiver and static receiver? when will you use

dynamic broadcast receivers?

Page 2: Android interview questions for 2 to 5 years (1)

21. What is intent, pending intent, and sticky intent?

22. What is the difference between thread and a service?

23. How will you create an async task?

24. What is a handler thread? how it is different from normal thread?

25. What is looper, handler, and message queue?

26. What is serialization? How serialization is different from Binders?

27. What is aidl?

28. How to update UI from a service?

29. How to update UI from other thread?

30. How to pass data between 2 components of android?

31. What is a binder service? how it differs from started service?

32. To write a back ground functionality in an activity, should I use a thread or service?

33. What is ANR? What is the cause of ANR and how will you rectify this problem?

34. How to do inter-thread communication in android, using handlers?

35. How to create a service with single thread?

36. Why android uses DVM, why not JVM?

37. How will you display database tables in an activity? will you use gridview or

tableview? justify?

Answers at Skillgun

Here are some java related concepts they may touch in interview:

1. What is a singleton class?

2. What is the difference between abstract class and an interface?

3. Can you give some real time example where you have used an interface and abstract

class?

4. How will achieve multiple inheritance using interfaces?

5. What all the collection framework classes you have used in your application?

6. What is the difference between ArrayList and Vector? which one is better?

7.What is the difference between Hashtable and hashmap?

8. Difference between String, StringBuffer, and StringBuilder?

9. What is an exception? difference between Checked and Unchecked exception?

Answers: java interview questions and answers