Android interview questions for 3+ yeas of experience candidate.
- In which thread handler runs?
- If we have for loop in which we are creating thread. So all threads will run parallelly or Serially.
- When onUpgrade() method called in SQLIteHelper?
- Activity lifecycle? When OnRestart will be called? Which method called after OnRestart()?
- Fragment lifecycle?
- First four lifecycle methods of fragment?
- Which Activity methods will be called on orientation change?
- Which Fragment methods will be called on orientation change?
- Why we moved to 5.0? What are the developer perspective features of lollipop?
- How to set z axis in material design?
- What is service? Types of service?
- Difference between Bound Service & unbound(Started) service?
- What is IntentService?Which type of service it is?
- Difference between Async task & Service?
- How to update UI from service?
- What is broadcast receiver?
- Difference between static broadcast & dynamic broadcast.
- What is AIDL?
- Difference between Compare() and CompareTo()?
- Write a program to reverse string.Without using temp variable & StringBuffer/StringBuilder
(Can use String.CharAt(), String.split())
21. Write a program to find given string is a palindrome or not (Without using inbuilt functions)e.g Madam, I'm Adam.
22. What happen if AsyncTask is running and Activity is killed.
23. Insert 1000 of records in database in 1 hit(bulk insertion).
24. Difference between Array and Vector?
25. How to interact between fragment & activity?
26. Can we declare variable in interface?
27. Can we modify interface variables?
28. Maximum number of frames can load in android?
29. How to upload app on playstore?
30. What is keystore?
31. Can we upload apk on play store without signing?
32. Difference between ART and Dalvik?
33. What is the effect of fragment replace/add on backstack?
34. What is Content Provider?
35. What is ContentResolver?
36. Can we create abstract class object?
37. How GCM works?
38. How much time does google takes to flush GCM message?
39. What is Exception in java? What are the types of exception?
40. What is MIME type?
41. Draw and explain android architecture.
42. What are the OOP’s concepts?
43. What is polymorphism explain with an example? Types of polymorphism?
44. What is JSON?
45. Difference between SOAP and REST?
46. Design patterns used in android API.