To add a new Activity to your application, you need to perform the following steps:
Answer(s): C
http://www.itcsolutions.eu/2011/08/31/android-tutorial-how-to-create-a-new-activity-class-with-manifest-editor/
To create a customized Adapter for a compound list item layout, you should:
Answer(s): A
The android.widget.Adapter class included the method getView(), which gets a View that displays the data at the specified position in the data set.
http://developer.android.com/reference/android/widget/Adapter.html
When publishing an update to your application to the market, the following must be taken into consideration:
You should sign all of your apps with the same certificate throughout the expected lifespan of your applications.App upgrade: When the system is installing an update to an app, it compares the certificate(s) in the new version with those in the existing version. The system allows the update if the certificates match. If you sign the new version with a different certificate, you must assign a different package name to the application — in this case, the user installs the new version as a completely new application.
http://developer.android.com/tools/publishing/app-signing.html
Which of these is the incorrect method for an Application to save local data?
Answer(s): D
Incorrect:B: You can save files directly on the device's internal storage.C: Android provides full support for SQLite databases. Any databases you create will be accessible by name to any class in the application, but not outside the application. Reference:http://developer.android.com/guide/topics/data/data-storage.html
Which UI does the following code builds?<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android=http:// schemas.android.com/apk/res/androidandroid: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>
Post your Comments and Discuss Android AND-401 exam prep with other Community members:
Our website is free, but we have to fight against AI bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the AND-401 content, but please register or login to continue.