You are on page 1of 12

ANALYSIS AND DESIGN

Features of the application


runs on all devices hosting the Android OS
designed with consideration for Users with poor vision.
Images selected for use in design should be bold and contain obvious visual signs/cues for
the User.
The application doesnt interfere or deny access to the inbuilt Accessibility features in the
Android OS.
The application is scalable and supports devices with different screen resolutions.
The interface design conforms and is consistent with the Android OS interface and usability
considerations.
The runtime behaviour of the application is consistent with that epected of standard mobile
applications!
The application displays a visible Alert to remind the User to ta"e his drug.
The Alert displays the name of the drug! #uantity of pills to be ta"en at the moment and
remaining #uantity of pills in the stoc".
The application sends an email to the predefined netof"in contact when the medicine stoc"
is below a predefined threshold.
Process Model
To achieve the design of this application within the specified time limits and constraints we adopted
the $apid Application %evelopment &$A%' process model. $A% is an incremental software process
model that emphasi(es a short development cycle. The $A% model is a )high*speed+ adaptation of
the waterfall model! in which rapid development is achieved by using a component based
construction approach. The $A% model is a linear se#uential software development process that
emphasi(es an etremely short development cycle. The $A% approach encompasses the following
phases,
-. .usiness modelling
/. %ata modelling
0. 1rocess modelling
2. Application generation
The $A% model assumes the use of the $A% tools li"e 3ava! 4.! 4566! %elphi etc... rather
than creating software using conventional third generation programming languages. The $A%
model wor"s to reuse eisting program components &when possible' or create reusable
components &when necessary'. In all cases! automated tools are used to facilitate construction of
the software.
7. Testing and turnover
Since the $A% process emphasi(es reuse! many of the program components have already been
tested. This minimi(es the testing and development time.
DEVELOPMENT TOOLS FO T!E APPLI"ATION
The development tools selected for the design of the application were chosen in order to implement
a reusable and easily etensible modular architecture. The tools! their functions and benefits are
listed below,
#D$ &3ava %evelopers 8it'
The 3%8 is the most important tool used in the design of this application. Other tools leverage its
features and functionalities in order to perform their tas"s. The 3%8 is a compiler for 3ava
1rogramming 9anguage! it converts 3ava source codes into eecutable 3ava 5lass files or libraries.
4ersion -.: of the 3%8 was used in the design of this application.
Net%eans IDE &Integrated %evelopment ;nvironment'
It is important to need to fully understand what an I%; is before we start discussing <et.eans. An
Integrated %eveloping ;nvironment is computer software to help computer programmers develop
software. It normally consists of a source code editor! a compiler and/or interpreter! build*
automation tools! and &usually' a debugger.
The <etbeans I%; utili(es the 3%8 to provide developers with an environment suited for the fast
delivery of reliable enterprise application. It was chosen due to its support for 3ava language
1rograms It provides an intelligent and intuitive editor which helps developers support errors before
program compilation. it also includes a build script that produces 3ar files&3ava ;ecutables' ready
for immediate development. The <etbeans I%; was designed with 3ava 1rogramming 9anguage but
can be used to develop applications in other languages i.e.! 566! 1=1 e.t.c..
"odena&e One plu'in for Net(eans
5odename One is a free open source solution that allows you to rapidly build native applications to
all mobile devices using 3ava > optionally a ?UI builder. The framewor" provides full access to the
underlying native platform while still providing remar"able portability.
5odename One has 2 ma@or parts, A1I! %esigner! Simulator and .uild/5loud server.
A A1I * abstracts platform specific functionality
A %esigner * allows developers/designers to design the ?UI/theme and pac"age
various resources re#uired by the application
A Simulator * allows previewing and debugging applications within the I%;
A .uild/5loud server * the server performs the build of the native application!
removing the need to install additional software stac"s.
INTEGATION OF SYSTEM "OMPONENTS
The components of this application where integrated using the <etbeans I%; and an automated
build tool "nown as A<T. A<T is a software tool for automating software build processes! it is
implemented using the 3ava language! re#uires the 3ava platform! and is best suited to building 3ava
pro@ects. Ant uses BC9 to describe the build process and its dependencies and is also embedded in
the <etbeans I%;.
The use of this tools ensure that all related libraries and components can easily locate each other
during program compilation and eecution. The <etbeans I%; also helps to resolve all code
dependencies and unfulfilled re#uirements capable of impeding the successful development of the
application.
DATA(ASE DESIGN
A database is a collection of interrelated data items that can be processed by one or more
application systems. It is a systematically arranged collection of computer data! structured so that it
can be automatically retrieved or manipulated.
The %atabase of the application was implemented using BC9 files. 5odename One allows
developers to implement BC9 elements and attributes as well as read and write BC9 files with
ease. 9isted below is the schema of the database files.
Pill)*&l
The Pill usa'e re&inder details+ti&e, -uantit./ are sa0ed and retrie0ed fro& this file)
Attribute <ame Attribute %atatype
1illDid character
TimeD%ay Time
EuantityDTime integer
"areta1er)*&l
The <ame and ;mail address of the 5areta"er are saved and retrieved from this file.
Attribute <ame Attribute %atatype
netof"inDname 5haracter
netof"inDemail 5haracter
PillStore)*&l
The <ame and current #uantity of all 1ills are saved and retrieved from this file.
Attribute <ame Attribute %atatype
pillDid character
pillDname character
availableD#uantity integer
The email messages will be sent using the Cessage class of the 5odename One library

You might also like