Application Development Questions

Q:

You want only a vertical scrollbar and no horizontal scrollbar on your page. How would you do it?

Answer

- This can be done by defining the frame with SCROLLING = auto and having content to just fit into this frame. 


- SCROLLING="yes" gets the scroll bar on both the sides, even when not needed. 


- SCROLLING="no" doesn’t get the scrollbars at all, even when they are needed.


 

Report Error

View answer Workspace Report Error Discuss

0 1407
Q:

APK full form in Android?

Answer

APK stands for Android Application Package.


 


Android Package (APK) is the package file format used by the Android operating system for distribution and installation of mobile apps and middleware.

Report Error

View answer Workspace Report Error Discuss

1 1393
Q:

Where can you test Apple iPhone apps if you don’t have the device?

Answer

iOS Simulator can be used to test mobile applications. Xcode tool that comes along with iOS SDK includes Xcode IDE as well as the iOS Simulator. Xcode also includes all required tools and frameworks for building iOS apps.  However, it is strongly recommended to test the app on the real device before publishing it.

Report Error

View answer Workspace Report Error Discuss

0 1368
Q:

What do you know about Intents?

Answer

- Notification messages to the user from an Android enabled device can be displayed using Intents.


- There are two types of Intents - Explicit Intent, Implicit Intent.


 


Implicit Intent:


- In case of Implicit Intent, an intent is just declared. 


- It is for the platform to find an activity that can respond to it.


- Since the target component is not declared, it is used for activating components of other applications.


 


Explicit Intent


- Explicit intent specifies the particular activity that should respond to the intent. 


- They are used for application internal messages.

Report Error

View answer Workspace Report Error Discuss

0 1326
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 1273
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 1264
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 1254
Q:

How will you launch an Activity within you application?

Answer

For launching an application, we will need to create an intent that explicitly defines the activity that we wish to start. For example:


Code


        Intent intent = new Intent(this, MyTestActivity.class);


        startActivity(intent);

Report Error

View answer Workspace Report Error Discuss

0 1250