1. F. Developers need to take all these concerns into account when developing LBS-enabled applications.

2. True. Button controls included as part of a custom layout for a dialog are acceptable. You should provide the appropriate View.OnClickListener click handlers as part of the dialog-building process. Note that this is slightly different from the DialogInterface.OnClickListener click handlers required to handle the basic three dialog buttons available with AlertDialog.

3. A and B. The Android SDK includes support for LBS, geocoding, and reverse-geocoding. The services provided by specific devices vary. Mapping services are provided as part of the Google API add-on, not as part of the stock Android SDK.

4. False. The emulator provides support for LBS services (for some services, the Google add-on is needed), and DDMS can be used to change location.

Was this article helpful?

0 0

Post a comment