Thursday, December 12, 2019

History Of Food Consumption Android App - Myassignmenthelp.Com

Question: Discuss about the History Of Food Consumption App. Answer: Introduction Food consumption is a part of our everyday life. This can be attributed to the fact that eating is a routine thing done by everyone where people have breakfast, lunch and dinner and other meals and snacks in between the three meals. Keeping track of wat we eat in all our meals can be important as it can help us analyze and draw conclusions on what foods we are consuming in excess, what food we are consuming the right and recommended quantities and finally what kind of foods are insufficient in our diets. Information gotten from the analysis done on the history of food we consume can help us make very important life choices in terms of our health and lifestyle and help minimize lifestyle diseases like obesity, high blood pressure and diabetes. This document proposes the design and development of an android application that will enable users to keep track of the history of their food consumption. The application will enable users to save their daily consumption on a remote database through the application from which they can retrieve and review their history of food consumption. The data saved by the application will be very useful as it will help users to analyze their food consumption habits and from that, users can make important decisions to help them with their health. The application will also enable users to share the history of their food consumption either through dropbox, email or Google drive. Device capability requirements. The proposed application will run on the android platform so any many devices running on android will be able to run the application. The application will be developed using Android API 21 with a minimum SDK of Android 4.1 up to the latest version of android. For the application to run properly and efficiently, the user will have to have internet on their mobile phones as the phone is running. There is need for internet because, the application will store data in a remote server, and thus a user can retrieve his/her data using any phone with the application. For the performance of the application any phone with a dual core processor and a ram greater than 500MB will be able to run the application without any lagging or hanging. For the data to be stored in a remote database it has to be processed by a web server and then stored in the database. The web server will be running on Apache for it to process PHP as its the language that will be used to process the data gotten from the device before it is stored in the database. The database will run on MySQL to provide a relational structure which I easy to implement and easy to draw data from. Architecture. The architecture of the app comprises of the structured components of the application system that are part of the application system. The proposed application has three components; Mobile client Web client Database Mobile client The mobile client of the application is the application which comprises of the user interface running on the users mobile phone running on the android platform. The mobile client will enable the user to interact with the other components of the application. The mobile client will consist of all the user interfaces which will be designed and developed using JAVA. Web client The web client is the part of the application that is responsible for processing the data gotten from the mobile client or fetching the data from the database and processing it before sending it back to the mobile client. The web client will run on a web server capable of handling PHP scripts. The web client is completely abstracted from the user because it will not run on the users mobile device. Database The database is the component of the application system responsible for storing all the data. The database will be designed and developed using MySQL to come up with a good relational database capable of storing data consistently and with full integrity. The three components of the application system will interact consistently to bring out all the functionalities of the proposed application. The following architecture diagram show the three diagrams and the interaction happening between them. Figure 1: Architecture diagram Use case diagram Figure 2: Use case diagram The diagram above shows the use case diagram for an actor who is a user. The use case shows how the user will interact with the proposed system. Class diagram Figure 3: class diagram The diagram above shows the class diagram and all its components. The class diagram shows all the objects making the application system and how they interact with each other using which parameters. User interface and user interaction The user interface and user interaction will be defined in the mobile client. For the user interface, the application should be design using a consistent design throughout all the activities of the application. Consistent design means that the application should adopt and use colors consistently in all its design. This means that the colors used should not change with every page hence giving the user the feeling that they are not using the same application when they move form activity to activity. The font used should be visible for the user. The background color should be blend in perfectly with the color of the font used. For user interaction, the major aspect to be considered is that the application will run on an android smartphone which will use touch as the primary input. The application should be designed while considering all the aspects of ergonomics. This means that button should not be too small. The application should consider common user interaction events like drawing the menu by swiping from the left. References Booch, G. (1999). The unified modeling language user guide. Google Books. Fowller, M. (1997). UML distilled. Google Books.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.