Which of the following is incorrect about intents?
Which of the following is incorrect about intents?
Method onDraw() of class android.view.View has the following signature:
Method onDraw() of class android.view.View has the following signature:
you need to perform the following steps:
To add a new Activity to your application, you need to perform the following steps:
To create a customized Adapter for a compound list item layout, you should:
To create a customized Adapter for a compound list item layout, you should:
When publishing an update to your application to the market, the following must be taken into consideration:
When publishing an update to your application to the market, the following must be taken into
consideration:
Which of these is the incorrect method for an Application to save local data?
Which of these is the incorrect method for an Application to save local data?
Which UI does the following code builds? <?xml version="1.0" encoding="utf-8"?
Which UI does the following code builds?
<?xml version=”1.0″ encoding=”utf-8″?><LinearLayout xmlns:android=http://
schemas.android.com/apk/res/android
android:layout_width=”match_parent”
android:layout_height=”match_parent”
android:orientation=”vertical” >
<LinearLayout
android:layout_width=”match_parent”
android:layout_height=”wrap_content”
android:orientation=”horizontal” >
<TextView
android:id=”@+id/textView1″
android:layout_width=”wrap_content”
android:layout_height=”wrap_content”
android:text=”Name:” />
<EditText
android:id=”@+id/editText1″
android:layout_width=”match_parent”
android:layout_height=”wrap_content”
android:layout_weight=”1″
android:ems=”10″ />
</LinearLayout>
<Button
android:id=”@+id/button1″
android:layout_width=”wrap_content”
android:layout_height=”wrap_content”
android:text=”Post” />
</LinearLayout>
What best explains the code above?
Consider the following code:
Intent i = new Intent(this, MainActivity.class);
i.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
startActivity(i);
What best explains the code above?
Which of the following lines of code is used to pass a value to the next activity?
Which of the following lines of code is used to pass a value to the next activity?
which of the following is true?
Consider the following AndroidManifest.xml file:
<?xml version=”1.0″ encoding=”utf-8″?>
<manifest xmlns:android=”http://schemas.android.com/apk/res/android”
package=”com.mkyong.android”
android:versionCode=”1″
android:versionName=”1.0″ >
<uses-sdk android:minSdkVersion=”10″ />
<uses-permission android:name=”android.permission.WebActivity ” />
<application
android:icon=”@drawable/ic_launcher”
android:label=”@string/app_name” >
<activity
android:name=”.WebViewActivity”
android:theme=”@android:style/Theme.NoTitleBar” >
<intent-filter >
<action android:name=”android.intent.action.MAIN” />
<category android:name=”android.intent.category.LAUNCHER” />
</intent-filter>
</activity>
</application>
</manifest>
Supposing the application connects to the internet at startup, which of the following is true?