Android Software Engineer

  Home  Mobile Technologies  Android Software Engineer


“Android Software Engineer post related Frequently Asked Questions in various Android Software Engineer job Interviews by interviewer. The set of questions here ensures that you offer a perfect answer posed to you. So get preparation for your new job hunting”



62 Android Software Engineer Questions And Answers

22⟩ Explain TTL (Time to Live) and why is it required?

TTL is a value in data packet of Internet Protocol. It communicates to the network router whether or not the packet should be in the network for too long or discarded. Usually, data packets might not be transmitted to their intended destination within a stipulated period of time. The TTL value is set by a system default value which is an 8-bit binary digit field in the header of the packet. The purpose of TTL is, it would specify certain time limit in seconds, for transmitting the packet header. When the time is exhausted, the packet would be discarded. Each router receives the subtracts count, when the packet is discarded, and when it becomes zero, the router detects the discarded packets and sends a message, Internet Control Message Protocol message back to the originating host.

 142 views

25⟩ Explain the Services component of Android?

Services are components that do not have a User Interface; they run in the background. An example of Service component in Facebook app would be the friend request notifications. They would continue to run, even if you switch to another activity or application.

 158 views

26⟩ Explain activity component of Android?

Activity provides an interface for users to interact with the application and take an action; for instance: Login to a website. The different screens/windows of an application are the different activities. An application generally has multiple activities.

Activities are like the pages in a website. For instance, in a Facebook app, the login screen is one activity, and the news feeds from your friends after signing in would be another one.

 126 views

27⟩ Tell me how to avoid ANR status?

Android allows the system to protect the applications that are not responsive for a period of time by displaying a status called as ANR (Application not responding). Methods should use the main thread for work, as it takes long time for the main thread to complete the task. The work should be divided and another thread named as child thread be used for executing more tasks, as it takes less time. Main thread should provide a handler for child threads to post back upon completion.

 122 views

28⟩ Explain Intent component of Android?

Think of Intent as a message to allow the application to request action from the other application components (like activity), for instance VIEW, CALL, PLAY etc.

Suppose, on your Facebook app, the running activity is the Newsfeed, and you want to view (in full frame) a pic your friend posted. The click action on the photo would be the View Photo Intent, and the Photo screen (which is a new activity) gets loaded on the click (as the message is communicated).

 143 views

29⟩ What is file features used in android?

Android is rich in file features and it provides lots of variations in them as well. The file features are as follows:

Intent filters: includes bundle of information which describes a desired action.

Icons and Labels: includes information for small icon and a text label that can be displayed to users. These are set for an intent filter and are used to represent a component which fulfills the function advertised by the filter.

Permissions: it is a restriction or limitation access to a part of code or data on the device. It is given as:-android.permission.CALL_EMERGENCY_NUMBERS

Libraries: it includes the basic packages for building and developing applications.

 153 views

30⟩ Explain Broadcast receiver component of Android?

A Broadcast receiver comes into action only in specific situations. Suppose an Intent for which a particular broadcast receiver has been registered occurs, the broadcast receiver is triggered into action and the user gets a notification for the same. (For example: Battery low notification).

 130 views

31⟩ Explain resource in Android?

A user defined JSON, XML, bitmap, or other file, injected into the application build process, which can later be loaded from code.

 139 views

35⟩ Explain APK format for Android?

The APK file is compressed AndroidManifest.xml file with extension .apk. It also includes the application code (.dex files), resource files, and other files which are compressed into a single .apk file.

 120 views

38⟩ How to translate in Android?

The Google translator translates the data of one language into another language by using XMPP to transmit data. You can type the message in English and select the language which is understood by the citizens of the country in order to reach the message to the citizens.

 140 views