Application Development Questions

Q:

How to select more than one option from list in android xml file? Give an example.

Answer

Specify android id, layout height and width as depicted in the following example.


<ListView android:id="@+id/ListView01" android:layout_height="wrap_content" android:layout_width="fill_parent"></ListView>

Report Error

View answer Workspace Report Error Discuss

0 1665
Q:

What is local storage concept in HTML 5?

Answer

Many times we would like to store information about the user locally in the computer. For example let’s say user has half-filled a long form and suddenly the internet connection breaks off. So the user would like you to store this information locally and when the internet comes back.He would like to get that information and send it to the server for storage.


Modern browsers have storage called as “Local storage” in which you can store this information.

Report Error

View answer Workspace Report Error Discuss

0 1652
Q:

Cell references in a formula are called

Answer

Cell references in a formula are called Assumptions rather than constant values.



All cell references are relative references by default. When copied across multiple cells, they change based on the relative position of rows and columns.

Report Error

View answer Workspace Report Error Discuss

0 1647
Q:

Explain the correct way to manage Outlets memory?

Answer

Create them as properties in the header that are retained. In the viewDidUnload set the outlets to nil(i.e self.outlet = nil). Finally in dealloc make sure to release the outlet.

Report Error

View answer Workspace Report Error Discuss

0 1629
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 1625