document creator android app

25
DOCUMENT CREATOR 1 Department of Computer Science and Engineering, AISAT Chapter 1 Introduction This paper presents an android application to create documents such as Bio-data, letters, Posters, Notices, faxes etc. within no time. Now a day's people use portable computers such as smart phones, tablets, phablets etc. more than desktops and laptops. So they prefer mobile applications over computer softwares. Even though many text editor applications are available for android smart-phones, None of them provides templates for various documents, by providing templates through the application, the user can easily creates the document with less formatting and less time. Consider a user needs to create an ‘application for leave’ urgently, he/she only needs to open the application and fill the required data such as name, place, subject etc. on the specified fields as the application asks. Designation, subject, format of the letter etc. can be selected from the templates listed . Final stage of the document will be generated by the application according to the data given. A preview of the generated document will be displayed to the user before he/she can print/send the final document. Document creator will be a freeware application for all users and any user who has installed it on their android phone can use it without any Internet access. MODULES 1. Accessing the app. 2. Choosing the template and entering the details needed. 3. Generating the pdf. 4. Listing and viewing the pdf. 1. Accessing the app. Any user can enter into the app without any restrictions or special permissions.(No login required) 2. Choosing the template. In this module the user can choose the type of document he/she wants to create. Templates available will be listed.

Upload: independent

Post on 08-Dec-2023

0 views

Category:

Documents


0 download

TRANSCRIPT

DOCUMENT CREATOR 1

Department of Computer Science and Engineering, AISAT

Chapter 1

Introduction

This paper presents an android application to create documents such as Bio-data, letters, Posters,

Notices, faxes etc. within no time. Now a day's people use portable computers such as smart

phones, tablets, phablets etc. more than desktops and laptops. So they prefer mobile applications

over computer softwares. Even though many text editor applications are available for android

smart-phones, None of them provides templates for various documents, by providing templates

through the application, the user can easily creates the document with less formatting and less

time. Consider a user needs to create an ‘application for leave’ urgently, he/she only needs to open

the application and fill the required data such as name, place, subject etc. on the specified fields as

the application asks. Designation, subject, format of the letter etc. can be selected from the

templates listed . Final stage of the document will be generated by the application according to the

data given. A preview of the generated document will be displayed to the user before he/she can

print/send the final document. Document creator will be a freeware application for all users and

any user who has installed it on their android phone can use it without any Internet access.

MODULES 1. Accessing the app.

2. Choosing the template and entering the details needed.

3. Generating the pdf.

4. Listing and viewing the pdf.

1. Accessing the app.

Any user can enter into the app without any restrictions or special permissions.(No login required)

2. Choosing the template. In this module the user can choose the type of document he/she wants to create. Templates

available will be listed.

DOCUMENT CREATOR 2

Department of Computer Science and Engineering, AISAT

3. Generating the pdf. A pdf document will be generated in the phone storage according to the data given by the user.

4. Listing and viewing the pdf. Pdf document generated will get opened in the app after fetching it from the storage.

DOCUMENT CREATOR 3

Department of Computer Science and Engineering, AISAT

Chapter 2

System Study 2.1 Existing Systems

At present, if we want to create a document (say Bio-data or Letter) what all we normally do is,

we’ll open the M.S Office word or any other similar kind of text editor application and will start

typing .But this consumes time and after all if a PC is not available it’s a tough task. Numerous

text editor applications are available in the software industry, compatible for smart phones and

PCs. M.S Word, Open Office.org Writer, Abi Word, Ted, Turbo editor etc. are some of them. But

most of these applications do not provide templates. By providing templates time can be saved

and less typing and formatting is enough.

• Consumes time.

• Lots of formatting is required.

• Templates are not available.

2.2Proposed System

With your Smartphone or tablet you can make formal letters, bio-data, posters, id-profile etc.

easily using this system. This system will be compatible with your Android phone. All of your

documents can use the same style, colour and fonts so everything will match and look

professional. User will have the option to choose a template of his own from the listed options.

Since various templates are provided to the user, he/she can create the document easily within no

time. The saved document is available in .pdf format. All the saved documents can be listed from

within the application. User only needs to fill the fields provided to him . User can save the final

document after generating the pdf. • Simple interface.

• Easy to use and access.

• Professional looking documents are created.

• All saved documents will be categorized.

DOCUMENT CREATOR 4

Department of Computer Science and Engineering, AISAT

Chapter 3

Software Requirements Specification

1. Introduction

1.1 Purpose

Purpose of Document Creator version 1.0 is to simplify the text editing in emergency cases and

to give a professional look to the documents created using this application. Application allows

users to send those documents as emails.

1.2 Product Scope

It is designed such that it can be used from high as CEO (Chief Executive Officer) to as low as

professional students to create or edit documents easily. As the present era focuses on making a

smarter world easier for the people to live ,this application has a high scope of being a highly

used applications.

1.3 Document Conventions

This document is written with commonly used font ‘Times New Roman’, font size 12. Headings

are made bold and font size has been replaced to 14 to distinguish between headings and contents

clearly. Important words have also been made bold throughout the document.

1.4 Intended Audience and Reading Suggestions

The document is intended for read by developers, users, and testers and contains information about

the application such as perspective, functions, hardware and software requirements, operating

environment etc. Suggested sequence of reading this document is from Introduction section

preceded by Overall description and then External Interface requirements.

DOCUMENT CREATOR 5

Department of Computer Science and Engineering, AISAT

2. Overall Description

2.1 Product Perspective

This application aims at replacing the current system of typing the whole document from scratch.

It can be used by all levels of users from professionals to amateurs

2.2 Product Functions

• User can enter in to the app without any special permissions or restrictions.

• User can select a template from the options listed as he/she likes.

• User can fill the fields available and pdf of the document can be generated quickly.

• Created document can be viewed and can be used as user wishes.

2.3 User Classes and Characteristics

The application will be frequently used by working professionals. Other than the working

professionals students, teachers etc can also uses this application. This application can be used for

storing various documents and the information can be retrieved at any instance of time. User can

email/share any previously saved document as he/she likes. Documents will be saved in '.pdf'

formats.

2.4 Operating Environment

JAVA

Java is a programming language originally developed by Sun Microsystems. It derives much of its

syntax from C and C++.It has a simpler object model and fewer low-level facilities. Java

applications are compiled to byte code that can run on any Java Virtual Machine (JVM).It is

Platform Independent.

MY SQL

My SQL is a relational database management system. My SQL is often used in free software

projects It require a full-featured database management system. My SQL works on many different

system platforms including Linux, Solaris, Symbian, Sun OS, Microsoft Windows etc.

DOCUMENT CREATOR 6

Department of Computer Science and Engineering, AISAT

Programming languages with language-specific APIs include Libraries for accessing My SQL

databases.

MICROSOFT WINDOWS

Microsoft Windows (or simply Windows) is a meta family of graphical operating systems

developed, marketed and sold by Microsoft. It consists of several families of operating systems,

each of which cater to a certain sector of the computing industry.

3 System Features

Ease of Creation

This application provides a simple interface for the user, so that all levels of users can

operate it.This will helps to create documents at ease in case of emergencies, using the provided

templates.

Ease of Storage If the user wishes he/she can store the document in the phone storage itself for future

editing purposes.

4 External Interface Requirements

4.1 Hardware Requirements

Android Compatible Smart Phone.

4.2 Software Requirements

Android Application

Operating System : Android 2.1, API level 7

DOCUMENT CREATOR 7

Department of Computer Science and Engineering, AISAT

5 Other Nonfunctional Requirements

5.1 Performance Requirements

Android application should have the access permission to the storage medium of the devices. The

device should be prevented from sleeping when the application is running.

5.2 Safety Requirements

No safety requirements have been identified.

5.3 Business Rules

It is not possible for more than one user to access the app at the same time.

Glossary API Application Program Interface

ASF Apache Software Foundation

JSP Java Sever Pages

HTML Hyper Text Markup Language

HTTP Hyper Text Transfer Protocol

JVM Java Virtual Machine

SQL Structured Query Language

OS Operating System

PDF Portable Document Format

DOCUMENT CREATOR 8

Department of Computer Science and Engineering, AISAT

Chapter 4

Project Design

CLASS DIAGRAM

Class diagram is a type of static structure diagram that describes the structure of a system by

showing the system's classes, their attributes, operations (or methods), and the relationships among

objects.

Fig. 4.1

Class diagram

DOCUMENT CREATOR 9

Department of Computer Science and Engineering, AISAT

STATE DIAGRAM

A state diagram is a type of diagram used in computer science and related fields to describe the

behavior of systems. State diagrams require that the system described is composed of a finite

number of states. sometimes, this is indeed the case, while at other times this is a

reasonable abstraction. Many forms of state diagrams exist, which differ slightly and have

different semantics.

Fig. 4.2

State Diagram

DOCUMENT CREATOR 10

Department of Computer Science and Engineering, AISAT

USE-CASE DIAGRAM

A use case diagram at its simplest is a representation of a user's interaction with the system that

shows the relationship between the user and the different use cases in which the user is involved.

A use case diagram can identify the different types of users of a system

Fig 4.3

Use case diagram

DOCUMENT CREATOR 11

Department of Computer Science and Engineering, AISAT

Chapter 5

Implementation and Testing

We implemented our project in Eclipse by coding in java and xml(Extensible Markup

Language).All the functionalities of each activities, widgets, text fields etc. are defined and coded

using java. The whole appearance of the project , that is each and every screen UI(User Interface)

is designed using xml codes. The step by step implementation of the project is achieved with the

help of UML diagrams designed in the design phase.

MENU (Launcher Activity)

This is the first activity that will be launched when the app is opened. It is also termed as launcher

activity. Here user will have the privilege to choose the template from the list. When the button

"Create your template is clicked , next activity will appear, where the user can fill the details.

TEMPLATES

According to the users choice in the menu, next activity will be launched. The next activity will

provides the template user selected in menu. Here user can fill in the details required for the

document. At present there are 4 templates available in the application for letter, resume, notice

and id-profile. After entering the details and pressing the submit button, corresponding pdf

document will be created in the phone storage.

LIST VIEW

After creating the document , when the 'list pdf' button is clicked , the app will be navigated to a

new activity which will lists all the previously created documents from there user can view the

document from the app itself.

DOCUMENT CREATOR 12

Department of Computer Science and Engineering, AISAT

5.1 Screenshots

MENU

Fig 5.1

Menu screenshot

DOCUMENT CREATOR 13

Department of Computer Science and Engineering, AISAT

RESUME

Fig 5.2

Resume screenshot

DOCUMENT CREATOR 14

Department of Computer Science and Engineering, AISAT

LETTER

Fig 5.3

Letter screenshot

DOCUMENT CREATOR 15

Department of Computer Science and Engineering, AISAT

ID PROFILE

Fig 5.4

Id Profile screenshot

DOCUMENT CREATOR 16

Department of Computer Science and Engineering, AISAT

NOTICE

Fig 5.5

Notice screenshot

DOCUMENT CREATOR 17

Department of Computer Science and Engineering, AISAT

When 'list pdf' button clicked , an activity that shows the list view of created documents can be viewed.

Fig 5.6

List View Screenshot

DOCUMENT CREATOR 18

Department of Computer Science and Engineering, AISAT

FORMAL LETTER CREATED USING DOCUMENT CREATOR

Fig 5.7 Screenshot of Formal Letter.pdf

DOCUMENT CREATOR 19

Department of Computer Science and Engineering, AISAT

STORAGE DIRECTORY OF THE DOCUMENTS

Fig 5.8

Storage Directory of documents

DOCUMENT CREATOR 20

Department of Computer Science and Engineering, AISAT

5.2 Testing Software testing is an investigation conducted to provide stakeholders with information about the

quality of the product or service under test. Software testing can also provide an objective,

independent view of the software to allow the business to appreciate and understand the risks of

software implementation. Test techniques include the process of executing a program or

application with the intent of finding software bugs (errors or other defects).

At each point of this project implementation, unit testing was performed. Unit testing, also known

as component testing, refers to tests that verify the functionality of a specific section of code,

usually at the function level. In an object-oriented environment, this is usually at the class level,

and the minimal unit tests include the constructors and destructors. These types of tests are usually

written by developers as they work on code (white-box style), to ensure that the specific function

is working as expected. This strategy is intended to increase the quality of the resulting software as

well as the efficiency of the overall development.

Software testing involves the execution of a software component or system component to evaluate

one or more properties of interest. In general, these properties indicate the extent to which the

component or system under test:

• meets the requirements that guided its design and development,

• responds correctly to all kinds of inputs,

• performs its functions within an acceptable time,

• is sufficiently usable,

• can be installed and run in its intended environments, and

• Achieves the general result its stakeholder’s desire.

DOCUMENT CREATOR 21

Department of Computer Science and Engineering, AISAT

Test use case name: Select Options

Test case

number

Test case

scenario

Input parameter Expected

Output

Actual Output Comments

1 Select

Template

Resume

Resume Load

Resume

Template

Load Resume

Template

Pass

2 Select

Template

Notice

Notice Load

Notice

Template

Load

Notice

Template

Pass

3 Select

Template

Letter

Letter Load

Letter

Template

Load

Letter

Template

Pass

4 Select

Template

Id-Profile

Id-Profile Load

Id-Profile

Template

Load

Id-Profile

Template

Pass

5 Select Option

Select one

Select one Stays in

same page

Stays in same

page

Pass

Table 5.1 Test use case for Select Options

DOCUMENT CREATOR 22

Department of Computer Science and Engineering, AISAT

Test use case name: Template Forms

Test case

number

Test case

scenario

Input parameter Expected

Output

Actual Output Comments

1 valid pdf

name

Resume1 Created

Successfully

Created

Successfully

Pass

2 invalid email jacob@

Not valid

email

Not valid

email

Fail

3 valid email jacobgeorge@gmail.

com

Created

Successfully

Created

Successfully

Pass

4 Invalid Name NULL Name Field

Empty

Name Field

Empty

Fail

5 Valid Name Rahul Created

Successfully

Created

Successfully

Pass

Table 5.2 Test use case for Template forms

DOCUMENT CREATOR 23

Department of Computer Science and Engineering, AISAT

Chapter 6

Conclusion

Even though there are many text editor softwares/applications are available in the computer

industry , most of them doesn't provide templates that helps to create documents with efficiency

and less time.

Using this app documents such as bio data , formal letter, notice etc. can be created easily without

consuming much time by filling the fields provided for the user. There is no need of special

permission for accessing the app. After entering in to the app, user can choose the template from

the list .By choosing an option , another activity or screen for entering data into various fields will

appear. After filling in the details and by pressing create pdf ,a pdf document will be generated in

phone storage according to the data given. By clicking the view pdf button user can view the

document created in the storage within the application.

DOCUMENT CREATOR 24

Department of Computer Science and Engineering, AISAT

Chapter 7

Future Scope By adding many more templates of various important documents, market value of our application

can be increased since our app will act as a replacement for most of the text editors when we use

them for creating documents such as formal letters ,bio-data etc. By adding more functionalities

such as, allowing the user to add their own templates and to edit the previously created documents

market value of our application can be increased.

Login page and register page can be added to make the

application more secure. Cloud storage will be enabled for storing the documents online so each

user can access their own documents from anywhere. That is, even if document is lost or deleted

from phone storage, it can be retrieved from the server.

DOCUMENT CREATOR 25

Department of Computer Science and Engineering, AISAT

References

1. https://www.youtube.com/results?search_query=how+to+use+eclipse

-To study the working of eclipse.

2. stackoverflow.com

-For setting constraints in various text fields such as E-mail, phone number etc.

3.tutorialspoint.com.

-For referring JAVA codes.

4.The complete Reference Text Book- JAVA 2, Fifth Edition. By Herbert Schildt.

-To study Java programming.

5.Wikipedia

-For documentation purposes.

6.Creately

-For drawing UML diagrams.