Options
1) When the application is not responding ANR will occur.
2) Dialog box is called as ANR
3) When Android forcefully kills an application, it is called ANR
4) None of the above
Options
1) possible. Content provider is also a component of android, so we can use intent to start it.
2) not possible. Using intent you can't trigger a content provider.
3) option 2 is correct because, we use content resolver to communicate with content provider
4)none
What is the difference between contentprovider and contentresolver?
Options
1) they are not at all related with each other
2) content provider is used to share private data with other applications, where as content-resolver communicates from client end with content provider.
3) content resolver is used to share private data with other applications, where as content-provider communicates from client end with content resolver.
4)content provider is used to store private data, where as content-resolver communicates from client end with content provider.
How to show SQLite Database table information in android application? What is the best way to do it?
Options
1) Use table layout with cursor
2) Use listView with cursor adapter
3) Use table layout with cursor adapter
4) use gridview with cursor adapter
Options
1) it is part android.graphics.drawable.package
2) it is part of view package
3)it is part of 3D graphics library (open GLES)
4)it is part of kernal
What is the life cycle of a content provider?
Options
1)A content provider's onCreate() funcation will be called every time if some client calls providers funcations using content resolver.
2) A content provider's onCreate() funcation will be called when first time if some client calls providers funcations using content resolver.
3) All the content providers will be created (onCreate()) after phone has booted first time
4) None
How to create an activity which has fragment with listview?
Options
1) use Activity, fragment, a layout which will have listview
2) use activity & a ListFragment
3) Use only Activity with a layout which is having a listview in it.
4) Use only a ListFragment with out any activity
Arithmetic is where numbers fly like pigeons in and out of your head.
Carl Sandburg
The difference between a two-digit number and the number obtained by interchanging the digits is 36. What is the difference between the sum and the difference of the digits of the number if the ratio between the digits of the number is 1 : 2 ?