Let's open the Chapter09\CODE\RECIPE07\SurveyGroup.groupproj group project and analyze each part.
The group project is composed of three projects:
- The application itself
- The local service that the app uses to send data to the server
- The REST web service that collects the information sent by the service
The app UI is quite simple and is shown in the following screenshot:
When the user writes the data and clicks on Send Survey, the inserted data is packaged in a JSON object and then sent to the local service. Here's the code under the button and the method that actually sends ...