Interview Questions

Q:

What is Binary Portability Testing?

Answer

Testing an executable application for portability across system platforms and environments, usually for conformation to an ABI specification.

Report Error

View answer Workspace Report Error Discuss

Subject: QA Testing

0 4084
Q:

What is the proper way of setting up an Android-powered device for app development?

Answer

The following are steps to be followed prior to actual application development in an Android-powered device:


- Declare your application as “debuggable” in your Android Manifest.


- Turn on “USB Debugging” on your device.


- Set up your system to detect your device.


 

Report Error

View answer Workspace Report Error Discuss

0 2932
Q:

What Is the Google Android SDK?

Answer

The Google Android SDK is a toolset that developers need in order to write apps on Android enabled devices. It contains a graphical interface that emulates an Android driven handheld environment, allowing them to test and debug their codes.

Report Error

View answer Workspace Report Error Discuss

0 1904
Q:

What is the function of an intent filter?

Answer

Because every component needs to indicate which intents they can respond to, intent filters are used to filter out intents that these components are willing to receive. One or more intent filters are possible, depending on the services and activities that is going to make use of it.

Report Error

View answer Workspace Report Error Discuss

0 1674
Q:

What is the difference between a regular bitmap and a nine-patch image?

Answer

In general, a Nine-patch image allows resizing that can be used as background or other image size requirements for the target device. The Nine-patch refers to the way you can resize the image: 4 corners that are unscaled, 4 edges that are scaled in 1 axis, and the middle one that can be scaled into both axes.


 

Report Error

View answer Workspace Report Error Discuss

0 2343
Q:

When is the best time to kill a foreground activity?

Answer

The foreground activity, being the most important among the other states, is only killed or terminated as a last resort, especially if it is already consuming too much memory. When a memory paging state has been reach by a foreground activity, then it is killed so that the user interface can retain its responsiveness to the user.


 

Report Error

View answer Workspace Report Error Discuss

0 2456
Q:

Is it possible to use or add a fragment without using a user interface?

Answer

Yes, it is possible to do that, such as when you want to create a background behavior for a particular activity. You can do this by using add(Fragment,string) method to add a fragment from the activity.

Report Error

View answer Workspace Report Error Discuss

0 1634
Q:

When is the onStop() method invoked?

Answer

A call to onStop method happens when an activity is no longer visible to the user, either because another activity has taken over or if in front of that activity.

Report Error

View answer Workspace Report Error Discuss

0 2506