In this chapter, we will walk you through the process of creating a new activity to display the details of the selected POI. This activity also allows the user to create, update, and delete POIs from the server. The following topics will be covered in this chapter:
Creating the layout and activity for displaying POI details
Using
LinearLayout
,TableLayout
, andScrollView
to lay out the activityPassing data between the activities using Intent bundles
Consuming web services to perform the HTTP
POST
andDELETE
operationsPerforming the
EditText
validation using theEditText.Error
propertyDisplaying confirmation prompts