Requirement Analysis

The first step in building our application is to do a requirement analysis. What functionality will the application perform? Here, we want to provide the following functionality to the user:

  • Display the blood sugar values of the current day as a diagram, as shown in Figure 9.1. The x-axis is the time, ranging from 6 to 22 o'clock. The y-axis is the blood sugar level in mg/dl ranging from 40 to 280.
    Figure 9.1. The running BloodSugarMidp application showing the logged blood sugar values of the current day.

  • Track hypoglycemic values that are lower than 80 mg/dl and hyperglycemic values that are higher than 160 by drawing red ...

Get Java™ 2 Micro Edition Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.