This is for android developer interview questions
• How familiar you are with the Android and Google Guidelines?
• Describe Test-Driven Development. [info]
• Explain unit tests versus functional tests.
• Describe Scrum.
• What project management tools have you used?
• Do you have basic familiarity with working on the command line i.e. Gradle?
• Familiarity in working with git cmds?
• What are the main 3 Object Oriented Programing (OOP) concepts?
• Explain object serialization and how to implement it in Java.
• Explain anonymous classes. [info]
• Describe the differences between abstract classes and interfaces. [info]
• Explain what a Singleton class is and how to create one in Java [info]
• Why should the equals() and hashCode() methods often be overridden together? [info]
• How do you properly override the equals() method? For example, what considerations should be taken when checking for equality?
• Difference between final, finally and finalize?
• In Java, does the finally block gets executed if we insert a return statement inside the try block of a try-catch-finally?
• Explain method overloading & overriding.
• What is memory leak and how does Java handle it?
• What are the use cases and differences of arrays and ArrayLists?
• What are the use cases and differences of a HashSet and a TreeSet?
• Have you used any Ant, Maven, Gradle features for your project?
• Explain event-driven programming in Java [info]
• What is Java's Garbage Collection and how does it help you as a developer?
• How can you typecast in Java? [info]
• Explain Java's try-catch-finally paradigm [info]
• How does the Android notification system work?
• How can two distinct Android apps interact? (several answers)
• Describe Activities. [info]
• What are the four states of the Activity Lifecycle? [active/running, paused, stopped, destroyed]
• What are the seven callback methods of an Activity used to perform operations when the Activity transitions between states? [onCreate(), onStart(), onResume(), onPause(), onStop(), onRestart(), onDestroy()]
• What is the difference between a fragment and an activity? Explain the relationship between the two.
• What is the difference between Serializable and Parcelable? Which is the best approach in Android?
• What are "launch modes"?
• What are Intents? [info]
• What is an Implicit Intent? [info]
• What is an Explicit Intent? [info]
• Describe three common use cases for using an Intent.
• What is a Service? [info]
• What is a ContentProvider and what is it typically used for? [info]
• What is a Fragment? [info]
• What is ADB? - Android Debug Bridge
• What is ANR? - Application not responding
• What is AndroidManifest.xml used for? Give examples of what kind of data you would add to it. [info]
• Describe how broadcasts and intents work to be able to pass messages around your app.[info]
• What are different ways to store data in your Android app? [info]
• What is the difference between Service and IntentService? How is each used?
• What are the different protection levels in permission? [info] normal dangerous signature signature/system
• How would you preserve Activity state during a screen rotation? onSavedInstanceState
• CardView and RecyclerView - V21 Android 5.0 (API level 21)
• Explain the differences and similarities of Relative Layout and Linear Layout.
• Explain how to present different styles/drawables for a button depending on the state of the button (pressed, selected, etc.) using XML (no Java) [info]
• for layout_width and layout_height, what's the difference between match_parent and wrap_content?
• How do you implement Google's new Material Design in an Android application? [info]
• Difference between View.GONE and View.INVISIBLE?
• Have you use an HTTP Library, which, why, did you like it?
• Describe how REST APIs work.
• What are some typical methods of HTTP request/responses? [GET, POST, PUT, PATCH, DELETE, UPDATE]
• Why does Android use SQLite?
• What libraries have you used for interacting with databases and why did you choose them?
• What are contract classes? [info]
• How do you use the BaseColumns interface to describe your data schema? [info]