Filter interviews by
I applied via Referral and was interviewed in Feb 2021. There were 3 interview rounds.
There are two types of network calls available in Android: Synchronous and Asynchronous.
Synchronous network calls are executed on the main thread and block the UI until the response is received.
Asynchronous network calls are executed on a separate thread and do not block the UI.
Examples of synchronous network calls include HttpUrlConnection and OkHttp.
Examples of asynchronous network calls include Retrofit and Volley.
There are two types of intents in Android: Explicit and Implicit.
Explicit Intents are used to start a specific activity within the app.
Implicit Intents are used to request an action from another app or system component.
Implicit Intents can be used to open a web page, send an email, or make a phone call.
Intents can also carry data between activities or apps.
FrameLayout is a layout manager that allows multiple child views to be stacked on top of each other.
FrameLayout is used to display a single view at a time.
It is commonly used for displaying fragments, dialogs, and popups.
It is also useful for creating custom views with overlapping elements.
The child views are positioned relative to the top-left corner of the layout.
The last child added to the layout is displayed on top
Services in Android are background processes that can run even when the app is not in foreground.
Services are used for long-running operations such as playing music or downloading files.
They can be started and stopped using startService() and stopService() methods.
Services can also be bound to an activity using bindService() method.
Foreground services are used for tasks that require user attention such as playing music...
Firebase offers a variety of features for mobile and web app development.
Realtime Database
Authentication
Cloud Firestore
Cloud Storage
Cloud Functions
Hosting
Crashlytics
Performance Monitoring
Remote Config
Dynamic Links
Broadcast receiver is a component that receives and responds to system-wide broadcast announcements.
Broadcast receiver is a part of the Android system that listens to system-wide broadcast announcements.
It can be used to receive and respond to events such as battery low, network connectivity changes, incoming SMS, etc.
It can be registered either statically in the AndroidManifest.xml file or dynamically in code.
Once reg...
Coordinating layout is a type of layout in Android that allows multiple child views to be positioned relative to each other.
Coordinating layout is used to create complex and dynamic user interfaces.
It allows views to be positioned relative to each other using constraints.
It is more flexible than other types of layouts like LinearLayout and RelativeLayout.
Examples of coordinating layouts include ConstraintLayout and Coo
Top trending discussions
I applied via LinkedIn and was interviewed in Nov 2024. There was 1 interview round.
I applied via Recruitment Consulltant and was interviewed in Jun 2024. There were 2 interview rounds.
MVVM is a design pattern that separates the UI, business logic, and data layers in an Android app.
MVVM stands for Model-View-ViewModel.
Model represents the data and business logic.
View is the UI component that displays the data.
ViewModel acts as a mediator between the Model and View, handling user interactions and updating the UI.
Data binding is often used to connect the ViewModel with the View in MVVM.
Example: In an A...
A Content Provider is a component in Android that manages access to a structured set of data.
Content Providers are used to share data between different applications.
They provide a standard interface for connecting data in one process with code running in another process.
Content Providers can be used to store and retrieve data from a SQLite database, a file, or even the web.
Examples of Content Providers include Contacts
Coroutines are a way to perform asynchronous operations in Android, securing app data involves encryption, SSL pinning enhances security, FCM for notifications.
Coroutines are used for managing asynchronous operations in Android, allowing for efficient and non-blocking code execution.
Securing app data involves using encryption techniques such as AES to protect sensitive information from unauthorized access.
SSL pinning i...
Binary search is a search algorithm that finds the position of a target value within a sorted array.
Divide the array into two halves and compare the target value with the middle element.
If the target value is less than the middle element, search the left half. If greater, search the right half.
Repeat the process until the target value is found or the subarray is empty.
Concurrency technique in Android allows multiple tasks to run simultaneously, improving performance and responsiveness.
Concurrency in Android can be achieved using AsyncTask, Handlers, Executors, and RxJava.
AsyncTask allows running background tasks on a separate thread and updating UI on the main thread.
Handlers are used to post and process Runnable objects on a thread's message queue.
Executors provide a high-level API...
To check if a number is palindrome, reverse the number and compare it with the original number.
Convert the number to a string to easily reverse it
Reverse the string and compare it with the original string
If they are the same, the number is a palindrome
To find the smallest number in a list, iterate through the list and keep track of the smallest number found so far.
Iterate through the list and compare each number with the current smallest number.
If a number is smaller than the current smallest number, update the smallest number.
Return the smallest number found after iterating through the entire list.
I applied via Naukri.com and was interviewed in Nov 2023. There was 1 interview round.
Use counting sort algorithm to achieve O(n) time complexity.
Count the frequency of each string in the array.
Create a new array based on the frequency counts.
Iterate through the new array to reconstruct the sorted array.
Coding test based on array
TCS
Accenture
Infosys
Wipro