Android Application on Agriculture documentation

December 15, 2016 | Author: Venugopal Chikkegowda | Category: N/A
Share Embed Donate


Short Description

Android Application on Agriculture documentation. This documentation provides information about the project which is and...

Description

Android Application on Agriculture

TABLE OF CONTENTS 1. INTRODUCTION 2. LITERATURE SURVEY 2.1. EXISTING SYSTEM 2.2. PROPOSED SYSTEM

3. SYSTEM SPECIFICATION 3.1.

HARDWARE REQUIREMENTS

3.2.

SOFTWARE REQUIREMENTS

3.3.

TECHNOLOGY USED

4. SYSTEM DESIGN ARCHITECTURE 4.1. CLASS DIAGRAM 4.2 USECASE DIAGRAM 4.3 SEQUENCE DIAGRAM 4.4 DATA FLOW DIAGRAM 4.5 DATABASE DEISGN (Screenshots)

5. IMPLEMENTATION 5.1. MODULES and MODULES DESCRIPTION 5.2. SCREENSHOTS

6. TESTING 7. CONCLUSION 8. FUTURE ENHANSMENTS 9.

BIBLIOGRAPHY

AMC ENGINEERING COLLEGE

Page 1

Android Application on Agriculture

ABSTRACT

The main intention of this “ANDROID APPLICATION ON AGRICULTURE” is to help the Farmer’s to order the Pesticide/Fertilizer/Seeds from their Android Smartphone’s. By using this application, they can easily order their requirements by sending the image of the diseased plant and we will provide the best suited Pesticide/Fertilizer to the farmer’s door step. So that there is no hassle of searching for Pesticide/Fertilizer in shops. Title:

ANDROID APPLICATION ON AGRICULTURE.

Objectives: They can easily Order the Pesticides/Fertilizer from their Smartphone’s. They can get suggestions from the experts about their doubts. They can learn how to grow crops. They can Know the Today Market Vegetable Prices . Technologies Used: XML JAVA PHP MYSQL

1.INTRODUCTION AMC ENGINEERING COLLEGE

Page 2

Android Application on Agriculture

The main intention of this “ANDROID APPLICATION ON AGRICULTURE” is to help the Farmer’s to order the Pesticide/Fertilizer from their Smartphone’s. By using this application, they can easily order their requirements by sending the image of the diseased plant and we will provide the best suited Pesticide/Fertilizer to the farmer’s door step. So that there is no hassle of searching for Pesticide/Fertilizer shops The developed application contains several modules as described below.

       

Welcome Page which comes when opens the application. Registration or sign up for new customer. Login Page user has to log in for further process. Forgot Password page for the user who lost or forgot his login password. Home Page it is the Main page where user can select the required menu or options. Order Page user can order the required pesticides/fertilizer/seed Learn How to Grow Crops page user can get the required knowledge to grow the crops. Ask Questions in this page user who all are having doubts can be clarified by experts.

2. LITERATURE SURVEY A literature review is much more than a list of separate reviews of articles and books. They are common and very important in the sciences. A literature review is a critical, analytical summary and synthesis of the current knowledge of a topic. It should compare and relate different theories, findings, and so on, rather than just summarize them individually. It should also have a particular focus or theme to organize the review. It does not have to be an exhaustive account of everything published on the topic. But it should discuss all the more significant academic literature important for that focus

2.1 Existing System AMC ENGINEERING COLLEGE

Page 3

Android Application on Agriculture The existing system uses all the manual work, where the farmers should go physically and search for the Agro shop to order pesticides/fertilizers and seeds. In Manual Work the customer will go to a shop and he will share the disease problems with the shopper while explaining the problems he/she may not explain the exact problem so the shopper will understand some other thing and he will provide some different pesticides which is not suited for the diseased crop. So to solve this problem we came up with a solution that is android application on agriculture.

2.2 PROPOSED SYSTEM The application which we are proposing is much easier to understand by user who is familiar with the use of mobile. The options available for users is ordering of pesticides/fertilizers/seeds, user can learn how to grow crops and user can get suggestion about their crop from experienced person. The application is with very basic options available, but the application has lots of options that can be enhanced in future.

3. SYSTEM SPECIFICATIONS 3.1. Hardware Specification: Minimum Server requirements  PROCESSOR: Intel core2Duo or Above    

Version. RAM : Minimum 2GB Hard-disk: 80 GB Server : Xampp-PhpmyAdmin , MySQL Operating System: Windows 7(32/64-bit) or above version.

Minimum Mobile requirements AMC ENGINEERING COLLEGE

Page 4

Android Application on Agriculture  PROCESSOR: Minimum 512MHz.  RAM : Minimum 512MB  Internal Memory: 100 MB  Operating System: Android version 2.2 or above version.

3 .2 Software Requirements for Demonstration and development purpose: Android Studio 1.3 XAMPP (Apache server, MySql, PHP).

3.3. TECHNOLOGY USED: XML (Extensible Markup Language): Extensible Markup Language (XML) is a markup language that defines a set of rules for encoding documents in a format which is both human-readable and machine-readable. It is defined by the W3C's XML 1.0 Specification and by several other related specifications, all of which are free open standards. The design goals of XML emphasize simplicity, generality and usability across the Internet. It is a textual data format with strong support via Unicode for different human languages. Although the design of XML focuses on documents, it is widely used for the representation of arbitrary data structures such as those used in web services.

JAVA Java is a general-purpose computer programming language that is concurrent, class-based, object-oriented, and specifically designed to have as few implementation dependencies as possible. It is intended to let application developers "write once, run anywhere" (WORA) meaning that compiled Java code can run on all platforms that support Java without the need for recompilation. Java applications are typically compiled to byte code that can run on any Java virtual machine (JVM) regardless of computer architecture. As of 2015, Java is one of the most popular programming languages in use, particularly for client-server web applications, with a reported 9 million AMC ENGINEERING COLLEGE

Page 5

Android Application on Agriculture developers. Java was originally developed by James Gosling at Sun Microsystems (which has since been acquired by Oracle Corporation) and released in 1995 as a core component of Sun Microsystems' Java platform. The language derives much of its syntax from C and C++, but it has fewer low-level facilities than either of them.

Android: Android is a mobile operating system (OS) currently developed by Google, based on the Linux kernel and designed primarily for touch screen mobile devices such as smart phones and tablets. Android's user interface is based on direct manipulation, using touch gestures that loosely correspond to real-world actions, such as swiping, tapping and pinching, to manipulate onscreen objects, along with a virtual keyboard for text input. In addition to touch screen devices, Google has further developed Android TV for televisions, Android Auto for cars, and Android Wear for wrist watches, each with a specialized user interface. Variants of Android are also used on notebooks, game consoles, digital cameras, and other electronics. As of 2015, Android has the largest installed base of all operating systems.

Android OS versions:

My SQL (Data Base): MySQL is the most popular Open Source Relational SQL database management system. MySQL is one of the best RDBMS being used for developing web-based software applications. AMC ENGINEERING COLLEGE

Page 6

Android Application on Agriculture

What is Database? A database is a separate application that stores a collection of data. Each database has one or more distinct APIs for creating, accessing, managing, searching and replicating the data it holds. Other kinds of data stores can be used, such as files on the file system or large hash tables in memory but data fetching and writing would not be so fast and easy with those types of systems. So nowadays, we use relational database management systems (RDBMS) to store and manage huge volume of data. This is called relational database because all the data is stored into different tables and relations are established using primary keys or other keys known as foreign keys.

A Relational Database Management System (RDBMS) is software that: 

Enables you to implement a database with tables, columns and indexes.



Guarantees the Referential Integrity between rows of various tables.



Updates the indexes automatically.

 Interprets an SQL query and combines information from various tables.

XAMPP: XAMPP requires only one zip, tar, 7z, or exe file to be downloaded and run, and little or no configuration of the various components that make up the web server is required. XAMPP is regularly updated to incorporate the latest releases of Apache, MySQL, PHP and Perl. It also comes with a number of other modules including OpenSSL and phpMyAdmin. Self-contained, multiple instances of XAMPP can exist on a single computer, and any given instance can be copied from one computer to another. It is offered in both a full, standard version and a smaller version. AMC ENGINEERING COLLEGE

Page 7

Android Application on Agriculture Officially, XAMPP's designers intended it for use only as a development tool, to allow website designers and programmers to test their work on their own computers without any access to the Internet. To make this as easy as possible, many important security features are disabled by default. In practice, however, XAMPP is sometimes used to actually serve web pages on the World Wide Web. A special tool is provided to password-protect the most important parts of the package. XAMPP also provides support for creating and manipulating databases in MySQL and SQLite among others.

4. SYSTEM DESIGN ARCHITECTURE 4.1. Class diagram

4.2. Use case diagram. AMC ENGINEERING COLLEGE

Page 8

Android Application on Agriculture

4.3

Sequence Diagram.

4.4 Data flow diagram.

AMC ENGINEERING COLLEGE

Page 9

Android Application on Agriculture

4.5 Database Design: Database (Screenshots)

AMC ENGINEERING COLLEGE

Page 10

Android Application on Agriculture

5. IMPLEMENTATION The implementation for the proposed system is defined according to the modules available in that particular system.

5.1 MODULES and Modules Description Welcome Page Which comes when user opens the application. The user can move to the further pages which all are described below.

Login Page By giving the registered email id and password user can access this application. The user has to give valid and registered data so AMC ENGINEERING COLLEGE

Page 11

Android Application on Agriculture that there is no hassle of exceptions, otherwise he has to go for forgot password link.

Registration or sign up User can register by giving name, email id, mobile number and required password and he can sign up to the application. Forgot Password page In this form, if the user has been lost his password, by giving the registered email id and mobile number, the password will be forwarded to registered email id. Home Page By completing all the above steps, user will move to the home page. This is the main (menu) form, which consists of the following forms: 1. Order Pesticides / Fertilizers / Seeds a. Pesticides In this form user can order the pesticides by giving full details of the Crop so that, if the user don’t know about the required pesticide to the Plant, then we will suggest what kind of pesticide he has to apply to that diseased crops. If the user is new to this field, then he has to give the following crop details to order the Pesticides. Those are Crop name, Crop days after Planting, Crop stage, Diseases, Comments, Acres of Planting, Liters of Required Pesticides, Customer name, Mobile number, Email Id, and finally Shipping address. By giving all these details in the application the user will get the Ordered Pesticide to his door step through the registered shop. Once the order has been placed by the user then, details of the order and quantity, shop AMC ENGINEERING COLLEGE

Page 12

Android Application on Agriculture address, shipping details all will be send to the given email address, so that he can have the reference of his order. i. Experienced Persons If the user already know the Information about the required Pesticide, then he can directly choose this option and he can order the required Pesticides, By filling the following fields. Those are Pesticides List, Customer name, Mobile number, Email id and Shipping address, So that Ordered Pesticide will be delivered to the Shipping address which has been given by the user and it will be delivered by the registered shop to your door step. Once the order has been placed by the user then, details of the order and quantity, shop address, shipping details all will be send to the given email address, so that he can have the reference of his order.

b. Fertilizers In this form user can order the Fertilizers by giving full details of the Crop so that, if the user don’t know about the required Fertilizer to the Plant, then we will suggest what kind of Fertilizer he has to apply to that diseased crops. If the user is new to this field, then he has to give the following crop details to order the Fertilizers. Those are Crop name, Crop days after Planting, Crop stage, Comments, Acres of Planting, Kgs of Required Fertilizers, Customer name, Mobile number, Email Id, and finally shipping address. By giving all these details in the application the user will get the Ordered Fertilizer to his door step through the registered shop. Once the order has been placed by the user then, details of the order and quantity, shop address, shipping details all will be send to the given email address, so that he can have the reference of his order. AMC ENGINEERING COLLEGE

Page 13

Android Application on Agriculture

i. Experienced Persons If the user already knows the Information about the required Fertilizer, then he can directly choose this option and he can order the required Fertilizer, by filling the following fields. Those are Fertilizer List, Customer name, Mobile number, Email id and Shipping address, So that Ordered Fertilizer will be delivered to the Shipping address which has been given by the user and it will be delivered by the registered shop to your door step. Once the order has been placed by the user then, details of the order and quantity, shop address, shipping details all will be send to the given email address, so that he can have the reference of his order.

c. Seeds In this form user can order the required seeds to their requirements by filling following details. Crop name, Variety name, required Quantity, customer Name, Mobile number, email Id, Shipping address. Once he has given the above details the ordered quantity of seeds will be delivered to the given shipping address by the registered shop. Once the order has been placed by the user then, details of the order and quantity, shop address, shipping details all will be send to the given email address, so that he can have the reference of his order. 2. Learn How to Grow In this form the user can learn how to grow the crops. Consider the example of growing of carrot what are the varieties of carrot, how the soil should be cultivated before planting, AMC ENGINEERING COLLEGE

Page 14

Android Application on Agriculture which is the best season to plant, how much seeds required for an hectare, irrigation, fertilizers that are applied the crop, what are the diseases will affect the particular crop. 3. Today Market Price This form helps the user to know the current day’s vegetable price in the market. So that user can know the price of the vegetables. 4. For any Query If the user got any doubt about Pesticides or Fertilizers or other doubts, then he can post his doubt in this form and he will get the suggestions from the experts and it will be sent to his registered Email Address.

5.2 Design Screenshots: Home Page:

AMC ENGINEERING COLLEGE

Welcome Page:

Page 15

Android Application on Agriculture

Login Page:

AMC ENGINEERING COLLEGE

Register page

Page 16

Android Application on Agriculture

Forgot Password page:

AMC ENGINEERING COLLEGE

Order Page:

Page 17

Android Application on Agriculture

Order Pesticides New page: AMC ENGINEERING COLLEGE

Page 18

Android Application on Agriculture

Order Pesticides Exp Page: AMC ENGINEERING COLLEGE

Order Fertilizers new Page: Page 19

Android Application on Agriculture

Order Fertilizers Exp Page: AMC ENGINEERING COLLEGE

Order seeds page Page 20

Android Application on Agriculture

While Receiving Order: AMC ENGINEERING COLLEGE

On Order Successful: Page 21

Android Application on Agriculture

AMC ENGINEERING COLLEGE

Page 22

Android Application on Agriculture About us:

AMC ENGINEERING COLLEGE

How to Grow:

Page 23

Android Application on Agriculture Growing Carrot:

AMC ENGINEERING COLLEGE

Page 24

Android Application on Agriculture Ask Question:

Shop List:

6.Testing AMC ENGINEERING COLLEGE

Page 25

Android Application on Agriculture Software testing is a critical element of software quality assurance and represents the ultimate review of specification, design and coding. Testing presents an interesting of a system using various test data. Preparation of the test data plays a vital role in the system testing. After preparation the test data, the system under study is tested those test data. Errors were found and corrected by using the following testing steps and corrections are recorded for future references. Thus, series of testing is performed on the system before it is already for implementation. The development of software systems involves a series of production activities where opportunities for injection of human errors are enormous. Errors may begin to occur at the very inception of the process where the objectives may be erroneously or imperfectly specified as well as in later design and development stages. Because of human in ability to perform and communicate with perfection, software development is followed by assurance activities. Unit testing Unit testing focuses on verification effort on the smallest unit of software design module. Using the unit test plans. Prepared in the design phase of the system as a guide, important control paths are tested to uncover errors within the boundary of the modules. The interfaces of each of the modules under consideration are also tested. Boundary conditions were checked. All independent paths were exercised to ensure that all statements in the module are executed at least once and all errorhandling paths were tested. Each unit was thoroughly tested to check if it might fall in any possible situation. This testing was carried out during the programming itself. At the end of this testing phase, each unit was found to be working satisfactorily, as regarded to the expected out from the module. White Box Testing: This is a unit testing method where a unit will be taken at a time and tested thoroughly at a statement level to find the maximum possible errors. I tested step wise every piece of code, taking care that every statement in the code is executed at least once. The white box testing is also called Glass Box Testing. I have generated a list of test cases, sample data. This is used to check all possible combinations of execution paths through the code at every module level.

Black Box Testing: AMC ENGINEERING COLLEGE

Page 26

Android Application on Agriculture This testing method considers a module as a single unit and checks the unit at interface and communication with other modules rather getting into details at statement level. Here the module will be treated as a block box that will take some input and generate output. Output for a given set of input combinations are forwarded to other modules.

TEST RESULT: UNIT TESTING LOGIN FORM:

SL.N

Test Case

Excepted Test Result

o

Result

1

Enter valid name The application Successful and password & should display click on login button Home Page.

2

Enter invalid (Forgot password)

Application will ask successful the user to enter Email Id to forward their Password.

ORDERING ITEMS : 1

By clicking the At first user have to fill all fields with proper data , if Order any Error like entering Pesticides / text data instead of successful Fertilizers / number or entering number instead of text..is Seeds. found then it gives proper message otherwise Adds Record To the Database

AMC ENGINEERING COLLEGE

Page 27

Android Application on Agriculture

7.CONCLUSION The proposed application will make the Ordering of Fertilizers / Pesticides / Seeds. At any time user can Order their Requirements using their Smartphone’s. The user will get Confirmation message through Email and the Shop person will deliver the orderings to their door step. By uploading the image of the diseased crop the user/farmer will get the best suited pesticides/fertilizers. So that the system which is proposed will give the best which is basic, but very effective to do such kind of activity.

8.FUTURE ENHANSMENTS  Project can be further developed with so many new modules. This is just like a beta version.  We are planning to implement this application in local languages so that every farmer can use this application  We are planning to send sms to the customer mobile on the confirmation of the order.  Currently we are having only one shop , in future we will come up with so many shops in different areas.

AMC ENGINEERING COLLEGE

Page 28

Android Application on Agriculture

9.Bibliography: Books referred: 1. Professional android 4 application development – Reto Meier. 2. The Complete Reference J2ME - James Keogh.

Websites referred:

 www.google.co.in  http://developer.android.com  www.w3schools.com

AMC ENGINEERING COLLEGE

Page 29

View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF