What is LastKnownLocation in android?
Options are :
- To find the last location of a phone
- To find known location of a phone
- To find the last known location of a phone.
- None of the above
Answer : To find the last known location of a phone.
Android Programming - The Complete Practice Test Set 4
Which method is used to find GPS enabled or disabled pro-grammatically in android?
Options are :
- finish()
- getGPSStatus()
- onProviderDisable()
- getGPS().
Answer : onProviderDisable()
What is a base adapter in android?
Options are :
- Base Adapter is a common class for any adapter, which can we use for both ListView and spinner
- A kind of adapter
- Data storage space
- None of the above.
Answer : Base Adapter is a common class for any adapter, which can we use for both ListView and spinner
What is breakpoint in android?
Options are :
- Breaks the application
- Breaks the development code
- Breaks the execution.
- None of the above.
Answer : Breaks the execution.
What is DDMS in android?
Options are :
- Dalvik memory server
- Device memory server
- Dalvik monitoring services
- Dalvik debug monitor services
Answer : Dalvik debug monitor services
What is log message in android?
Options are :
- Log message is used to debug a program.
- Same as printf()
- Same as Toast().
- None of the above.
Answer : Log message is used to debug a program.
What is ADB in android?
Options are :
- Image tool
- Development tool
- Android Debug Bridge
- None of the above.
Answer : Android Debug Bridge
How many ports are allocated for new emulator?
Options are :
- 2
- 0
- 10
- None of the above.
Answer : 2
What is APK in android?
Options are :
- Android packages
- Android pack
- Android packaging kit
- None of the above.
Answer : Android packaging kit
What are the debugging techniques available in android?
Options are :
- DDMS
- Breaking point
- Memory profiling
- None of the above.
Answer : None of the above.
Android Programming - The Complete Practice Test Set 4
How to fix crash using log cat in android?
Options are :
- Gmail
- log cat contains the exception name along with the line number
- Google search
- None of the above.
Answer : log cat contains the exception name along with the line number
What are the functionalities of HTTP Client interface in android?
Options are :
- Connection management
- Cookies management
- Authentication management
- All of the above
- None of the above
Answer : All of the above
What is an HTTP client class in android?
Options are :
- httprequest(get/post) and returns response from the server
- Cookies management
- Authentication management
- None of the above
Answer : httprequest(get/post) and returns response from the server
Android Programming - The Complete Practice Test Set 4
What does httpclient.execute() returns in android?
Options are :
- Http entity
- Http response
- Http result
- None of the above.
Answer : Http response
What is the package name of JSON?
Options are :
- com.json
- in.json
- com.android.JSON
- org.json
Answer : org.json
What is the package name of HTTP client in android?
Options are :
- com.json
- org.apache.http.client
- com.android.JSON
- org.json
Answer : org.apache.http.client
Android Programming - The Complete Practice Test Set 2
Data can be read from local source XML in android through
Options are :
- XML resource parser
- XML pull parsing
- DOM parsing
- None of the above
Answer : XML resource parser
What is the library of Map View in android?
Options are :
- com.map
- com.goggle.gogglemaps
- in.maps
- com.goggle.android.maps
Answer : com.goggle.android.maps
In which technique, we can refresh the dynamic content in android?
Options are :
- Java
- Ajax
- Android
- None of the Above
Answer : Ajax
What is JSON in android?
Options are :
- Java Script Object Native
- Java Script Oriented Notation
- Java Script Object Notation
- None of the Above
Answer : Java Script Object Notation
What are the JSON elements in android?
Options are :
- integer, boolean
- boolean
- null
- Number, string, boolean, null, array, and object
Answer : Number, string, boolean, null, array, and object
What is the HTTP response error code status in android?
Options are :
- status code < 100
- status code > 100
- status >= 400
- None of the above
Answer : status >= 400
What is the JSON exception in android?
Options are :
- JSon Exception
- Json Not found exception
- Input not found exception
- None of the above
Answer : JSon Exception
How to find the JSON element length in android JSON?
Options are :
- count()
- sum()
- add()
- length()
Answer : length()
What is a GCM in android?
Options are :
- Goggle Could Messaging for chrome
- Goggle Count Messaging
- Goggle Message pack
- None of the above
Answer : Goggle Could Messaging for chrome
What is ANR in android?
Options are :
- When the application is not responding ANR will occur.
- Dialog box is called as ANR.
- When Android forcefully kills an application, it is called ANR
- None of the above
Answer : When the application is not responding ANR will occur.
What are the functionalities in asyncTask in android?
Options are :
- onPreExecution()
- doInBackground()
- onProgressUpdate()
- onPostExecution()
- onPostExecution()
Answer : onPostExecution()
How many threads are there in asyncTask in android?
Options are :
- Only one
- Two
- AsyncTask doesn't have tread
- None of the Above
Answer : Only one
What is broadcast receiver in android?
Options are :
- It will react on broadcast announcements.
- It will do background functionalities as services.
- It will pass the data between activities.
- None of the Above
Answer : It will react on broadcast announcements.
On which thread broadcast receivers will work in android?
Options are :
- Worker Thread
- Main Thread
- Activity Thread
- None of the Above
Answer : Main Thread