Which of following is incorrect about the Toast class?
Answer(s): B
An Android Toast is a small message displayed on the screen, similar to a tool tip or other similar popup notification. A Toast is displayed on top of the main content of an activity, and only remains visible for a short time period.
http://tutorials.jenkov.com/android/toast.html
Which of the following is not a ContentProvider provided natively by Android?
Answer(s): D
Incorrect:A: You usually need the MIME type when you are working with a provider that contains complex data structures or files. For example, the ContactsContract.Data table in the Contacts Provider uses MIME types to label the type of contact data stored in each row.C: The Browser's Bookmark and History content provider URI is in: android.provider.Browser.BOOKMARKS_URI
http://developer.android.com/guide/topics/providers/content-provider-basics.html http://jcla1.com/blog/using-content-providers-in-android/
When creating a file using android.content.Context.openFileOutput("test.txt", 0), where is the file created?
The file is created in the /data/data/PACKAGE_NAME/files folder.
http://www.programcreek.com/java-api-examples/index.php?class=android.content.Context&method=openFileOutput
Which of the following is incorrect about the LogCat tool?
Post your Comments and Discuss Android AND-401 exam with other Community members:
To protect our content from bots for real learners like you, we ask you to register for free. Sign in or sign up now to continue with the AND-401 material!