Interview questions

Android Developer interview questions

21 questions. Tap “Show answer” to check yourself.

  1. What is Intent filter

  2. Which of the activity's callback methods are guaranteed to be called, if finish() is called in onCreate() itself?

  3. Which of the loops will execute the body of loop even when condition controlling the loop is initially false?

  4. What is the difference between commit() and apply() method in SharedPreferences() ?

  5. Which collection class allows you to shrink or grow it's size and provides indexed access to its elements, but whose methods are not synchronized ?

  6. Which approach cannot be used to do a non-UI tasks in Android ?

  7. In SQLite- Android database onUpgrade() method is called when?

  8. What is method overloading?

  9. Which collection class allows you to access it's elements by associating a key with an element's value, and provides synchronization?

  10. Which of the activity's callback method is called only when some of the activity's manifest attributes are set accordingly?

  11. Which is thread safe - StringBuilder or StringBuffer ?

  12. What is TreeSet Interface ?

  13. How you declares an abstract method in an abstract Java class?

  14. What will happen if 10x10 pixels image is put only in drawable-hdpi directory, app is on xhdpi device and ImageView's width/height both are set to wrap_content ?

  15. The rocket carrier PSLV-C37 with 104 satellites was launched from where?

  16. What is required to generate GCM token?

  17. In how many categories, are android permissions are divided for marshmallow ?

  18. If an app uses both v4 and v7 support library, what can be minSdkVersion for app?

  19. A Handler instance can be used to send messages from?

  20. What is the max size of payLoad, which can be sent in GCMPush ?

  21. Our application can send Broadcasts, only if - ?

Companies that ask Android Developer questions