Consider that a database is hosted online with the following URL: https://csci410androidstudio2022.000webhostapp.com/getSportTypes.php It returns a JSON array which contains many JSON objects. Each...


Consider that a database is hosted online with the following URL:<br>https://csci410androidstudio2022.000webhostapp.com/getSportTypes.php<br>It returns a JSON array which contains many JSON objects. Each object contains: id and<br>name. These fields are case sensitive so remember to type them correctly. It will return<br>something as follows:<br>{

Extracted text: Consider that a database is hosted online with the following URL: https://csci410androidstudio2022.000webhostapp.com/getSportTypes.php It returns a JSON array which contains many JSON objects. Each object contains: id and name. These fields are case sensitive so remember to type them correctly. It will return something as follows: {"id":1,"name":"Soccer"}, {"id":2,"name":"Basketball"} Fill in the spinner entries using the URL already mentioned. A- When user press on 'Add new team' Button, a new activity should appear as follow: rox NoxPlayer 70.16 OX« 8:51 A My Application Team name Number of players Soccer Basketbal ADD TEAM The layout created previously contains a Spinner to choose a sport type, and two EditTexts first one has the following hint 'Team Name' and the second 'Number of players' and a Button called 'Add Team'. When the user press on this button, a new record is saved.

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here