1. Implement a native Android application
1.1. Has at least two different kinds of views in your Layout (TextView, EditText,
1.2. Requires input from the user
1.3. Makes an HTTP request (using an appropriate HTTP method) to your web
1.4. Receives and parses an XML or JSON formatted reply from your web service
1.5. Displays new information to the user
1.6. Is repeatable (I.e. the user can repeatedly reuse the application without
2. Implement a web service, deployed to Heroku
2.1. Using an HttpServlet to implement a simple (can be a single path) API. It is
recommended that you do not try to use JAX-RS / Jersey but rather create the
API in the style you did for Project 3.
2.2. Receives an HTTP request from the native Android application
- 3 -
2.3. Executes business logic appropriate to your application. This includes fetching
XML or JSON information from some 3rd party API and processing the response.
§ -10 if you use a banned API
§ -10 if screen scrape instead of fetching XML or JSON via a published API
2.4. Replies to the Android application with an XML or JSON formatted response.
The schema of the response can be of your own design.
Alternatively, you can adopt a standard schema that is appropriate to your
application. (E.g. Common Alerting Protocol if your application deals with
freelancer 40 คน กำลังเสนอราคาเฉลี่ยที่ $621 สำหรับงานนี้
Hi I work towards providing reliable, relevant and robust IT solutions at most competitive prices to my customers. I ensure 100% customer satisfaction so lets start Thanks