Professional Documents
Culture Documents
PDT To Audio Thesis
PDT To Audio Thesis
PDT To Audio Thesis
Session (2018-22)
BSSE (Hons)
Submitted By
Supervised By
Department of IT
This is to certify that I have read the project report titled “PDF to Audio Convert Android
App” submitted by the following students of BCS 8th semester.
It is my judgment that this project report is of sufficient standard to warrant its acceptance by
COMMITTEE
Supervisor ____________________________________
i
ACKNOWLEDGEMENT
In the name of ALLAH, the Most Gracious and Most Merciful, all praises to ALLAH for
the strengths and his blessing to me for the completion of the project. I am very thankful to
almighty ALLAH who showers his blessing always on me.
I am also thankful to the chairman and all the teaching Staff of our department. Their
guidance and suggestions give us the potential to complete our project.
We are also thankful to all our friends who support and encourage us throughout our project.
ii
PREFACE
The basic objective of this project is to create App which will convert PDF file to audio.
Reading PDF files may cause problem in a professional life. E.g. irritation in eyes or getting
bore while continuous reading. Something new should develop that give comfort to reader.
He doesn't need to watch computer screen for a long period so you are required to develop an
application which convert your PDF file into audio file .Reading need full attention of reader
so reader cannot perform any other task during reading. However through this application, he
can do multitasking. Moreover, visually impaired people may also get benefit from this
application. This application will handle only a PDF File having paragraphs written in
English.
Ahsan
iii
ABSTRACT
The PDF to Audio Converter project provides an alternative was to access the PDF books for
blind, lazy, readers and others. Using this PDF to Audio Converter the user will be able to
listen to his\her favorite PDF and can do their daily routine. The application can be used to
read any PDF which has English text.
iv
TABLE OF CONTENTS
CHAPTER 1 INTRODUCTION................................................................................ I
1.2 Features.................................................................................................................1
1.4.1 Java....................................................................................................................3
1.4.2 XML..................................................................................................................3
1.4.3 SQLite......................................................................................................................3
1.5 Scope.....................................................................................................................4
1.6 Feasibility..............................................................................................................4
v
3.1.2 Time factor...............................................................................................................7
3.2 ARCHITECTURE................................................................................................7
3.6.1 Actor......................................................................................................................11
3.6.2 Association.............................................................................................................11
CHAPTER 4 TESTING....................................................................................................7
4.1 Introduction.........................................................................................................15
4.5 Deployment.........................................................................................................16
5.2 Consistency.........................................................................................................18
vi
5.4 User Friendly.......................................................................................................18
5.6 Efficiency............................................................................................................18
CHAPTER 6 REFERENCES............................................................................................16
Bibliography..............................................................................................................27
vii
LIST OF FIGURES
LIST OF TABLES
Table 1 Test Case 1..............................................................................................................................17
Table 2 Test case 2...............................................................................................................................17
Table 3 Test Case 3..............................................................................................................................17
viii
ABBREVIATIONS
SRS Software Require Specification
PC Personal Computer
APP Application
UML Unified Modeling Language
API Application Programming Interface
IDE Integrated Development Environment
NO Number
UC Use Case
TC Test Case
XML Extensible Mark-up Language
APK Android Package File
ix
CHAPTER 1
INTRODUCTION
1.1 Project Definition
Reading PDF Files of 100 or more pages may cause problem in a professional life. For-
Example, irritation in eyes or getting bore while continuous reading. Something new should
develop that give comfort to reader. He doesn't need to watch computer screen for a long
period so you are required to develop an application which convert your PDF file into audio
file .Reading need full attention of reader so reader cannot perform any other task during
reading. However through this application, he can do multitasking. Moreover, visually
impaired people may also get benefit from this application. This application will handle only
a PDF File having paragraphs written in English.
In the current busy routine people do not have time to take book an spend time reading it,
instead every one need an alternative access to read the content. If a person is travelling, he\
she cannot read a book, instead of reading they can listen to it. Reading stories or essays or
any text can be arduous however an audio book would make the task easy, by reading the
text. However, an audio reading of text is convenient and do not require much concentration
as reading requires. When a person tends to read a book, it requires to invest his/her time in
reading. Whereas the audio book makes the task easy and user can perform their own task as
well as listening to the audio. In this project, I have implemented a simple pdf to audio
converter using Java (Android App). This App will ask the user to select any pdf file and will
count the pages in the pdf and extract data from the pdf page by page and read the extracted
data to the user after that will be converted into Audio.
1.2 Features
Following are some of the important features
1
Upload PDF File
Convert PDF File into Audio
Listen PDF File
Save time
2
1.4 Tool used in the Project
1.4.1 Java
1.4.2 XML
1.4.3 SQLite
SQLite is an open source SQL database that stores data to a text file on a device.
Android comes in with built in SQLite database implementation. SQLite supports all
the relational database features. In order to access this database, you don't need to
establish any kind of connections for it like JDBC,ODBC etc.
It's the most basic tool for Android developers. Created by Google in 2013, it has
pretty much become the standard software for Android Developers. It's a great tool
because it has the support of Google as well as a large community of developers.
3
1.5 Scope
The proposed system is helping those peoples who have eye sight problem or getting bore
when learning pdf files. This App will help those peoples and easily can listen audio
instead of learning PDF Files. Users doesn't need to watch computer screen for a long
period so you are required to develop an application which convert your PDF file into
audio file .Reading need full attention of reader so reader cannot perform any other task
during reading. However through this application, he can do multitasking. Moreover,
visually impaired people may also get benefit from this application. This application will
handle only a PDF File having paragraphs written in English.
1.6 Feasibility
In feasibility study will determine whether the project should go ahead. The people
carrying out the study will take into account labor and material costs.
Financial feasibility is the analysis of a project's cost and revenue with the
Organization and determined that the organization is satisfied or not in term of
financial power. In the perspective of the financial feasibility this system is
very feasible. The cost and superiority of this system make it economically
feasible. The project will be a good investment of the organization. How much
spend on the website the organization will easily offer for it.
4
1.6.3 Technical Feasibility
5
Chapter 2
Present System
2.1 THE PRESENT SYSTEM
The Blind and Dyslexic people would find it difficult to read, to support those people
different computer solutions have provided many alternative ways to convert text to audio.
Readings of a book are stored on tapes. Consortium and standardized in 2002 by the National
Information Standards Organization (NISO). The DTB standard describes how multimedia
information, such as audio files, text files and images are composed to create an audio book.
Many other solutions are to convert PDF files to MP3 players using third party applications
or web applications. Peoples have problem to read 100 of pages, it may create problem for
example, Getting peoples bore during reading, or irritation in eyes with continues reading.
He doesn't need to watch Mobile or Computer screen for a long period so you are required to
develop an application which converts your PDF file into audio file.
We create an Application which will convert pdf file to audio then Users can
easily listen pdf instead of reading pdf, Peoples can get bore when read
something, instead we build an App where User can easily Listen and get
work done.
6
2.3.2 Time Factor
When you read something it will take lots of time as well, so in App user can easily
listen and it will not take too much time, because we know that when we read
something it is taking time, instead in App User can easily listen as well as do multi-
tasking as well.
PDF to audio converter project provides an alternative way to access the PDF Books
for blind, lazy, readers and others. Using PDF to Audio converter the user will be able
to listen to his/her favorite PDF and can do their daily routine. The application can be
used to read any PDF which will convert English Text into Audio.
7
Chapter 3
Design of Proposed System
3.1 Proposed System
In this current busy routine people do not find time to read a book, or to convert the PDF file
into MP3 player using third party applications or web application. In this system I am
developing an application using Java to convert the PDF file into audio format and read out to
the user. The application is more used friendly as it not requires any audio file or MP3 player.
The user will have to select the PDF file which user wants to listen.
Following are some of the important reasons why Food delivery on running train is
important.
We create an Application which will convert pdf file to audio then Users can easily
listen pdf instead of reading pdf, Peoples can get bore when read something, instead
we build an App where User can easily Listen and get work done.
When you read something it will take lots of time as well, so in App user can easily
listen and it will not take too much time, because we know that When we read
something It is taking time, instead in App User can easily listen as well as do multi-
tasking as well.
3.2 ARCHITECTURE
PDF to Audio Converter is a Android application contains play, pause (buttons) and label to
display text which allows the user to select the PDF files and the user has to click on the play
8
button in order to extract text from PDF file and will read the text. The application has been
developed in a way that the until the speaker read’s out the extracted text the player cannot be
paused. The App is also, provided with a label to display the text, the text will only be
displayed only after reading the extracted text.
In this PDF to Audio Converter the user needs to select any PDF file from the desired
location.
After selecting the PDF file, the user needs to click Convert button.
If the PDF file contains page numbers, the PDF file will be extracted..
The extracted text will be then read.
Now, after reading the text the text will be converted into audio.
9
3.4 Flow Chart
A flowchart is a diagram that depicts a process, system or computer algorithm. They are
widely used in multiple fields to document, study, plan, improve and communicate often
complex processes in clear, easy-to-understand diagrams. Flowcharts, sometimes spelled as
flow charts, use rectangles, ovals, diamonds and potentially numerous other shapes to define
the type of step, along with connecting arrows to define flow and sequence. They can range
from simple, hand-drawn charts to comprehensive computer-drawn diagrams depicting
multiple steps and routes. If we consider all the various forms of flowcharts, they are one of
the most common diagrams on the planet, used by both technical and non-technical people in
numerous fields. Flowcharts are sometimes called by more specialized names such as process
flow chart Process Map, Functional Flowchart, Business Process Mapping, Business Process
Modeling and Notation (BPMN), or Process Flow Diagram (PFD). They are related to other
popular diagrams, such as Data Flow Diagrams (DFDs) and Unified Modeling Language
10
3.5 FLOW CHART
SELECT PDF
If pdf has
greater than 7 If pdf has less than or equal to 7
thousand thousand characters
characters
Less than 7
thousand
Greater than 7
thousand
Read extracted text
Exit
Exit
11
3.6 Use Case Diagram
3.6.1 Actor
An actor in use case modeling specifies, A role played by user or any other system
object that interact with the subject.
3.6.2 Association
A relationship between classes of objects that allows one object instance to cause
another to perform an action on its behalf.
A use case is a methodology used in system analysis to identify, clarify and organize
system requirements.
12
13
3.7 ERD (Entity Relation Diagram)
User Table
UserId
UserFirstName
userLastName
UserMobile
userEmail
userPassword
A Shared Preferences object points to a file containing key-value pairs and provides simple
methods to read and write them. Each Shared Preferences file is managed by the framework
and can be private or shared. This page shows you how to use the Shared Preferences APIs to
store and retrieve simple values.
Boolean
Int
Long
Float
String
stringSet
Custom data structure
14
3.10 Stored PDF to Audio File.
We will save all the converted audio files in mobile phone directory.
App will automatically create this directory in any phone that has this “APP”.
DIR
Files/pdftoaud/
In proposed System we will have lots of Tool to build the projects. In order to talk about the
project we will build Mobile App. We will use Technologies used in mobile app
development.
Tool Description
JAVA Java is a popular programming language,
created in 1995. It is owned by Oracle, and
more than 3 billion devices run Java. It is
used for: Mobile applications (especially
Android apps) Desktop applications. It is a
simple programming language. Java makes
writing, compiling, and debugging
programming easy. It helps to create
reusable code and modular programs. Java
is a class-based, object-oriented
programming language and is designed to
have as few implementation dependencies
as possible.
15
XML Extensible Mark-up Language or XML: A
mark-up language created as a standard
way to encode data in internet-based
applications. Android applications use
XML to create layout files. Unlike HTML,
XML is case-sensitive, requires each tag be
closed, and preserves whitespace.
16
Chapter 4
Testing
4.1 Introduction
Testing is to check the working of the application that is it working in the desire way that we
want or not. It is an important phase in development it is also use to check the errors and bugs
in the application if any exits due to texting programmers are able to remove them from the
application.
1) Module testing
2) Integrated testing
3) Deployment
4) Black-Box testing
We made the PDF to Audio Converter which has login/register module, Select pdf module,
and convert to audio module, than listen audio file module.
Then we combine all the modules together and then tested them. We combined all the main
modules and tested them as a whole like one application.
16
4.5 Deployment
A strategy in which a software component is treated like an opaque box is called Black box
testing. In this testing strategy tests case designers’ focus on determining how well the
component conforms to the published requirements for the component, instead of worrying
about the implementation details.
Black box testing focuses on the functional requirement of the software. This testing strategy
enables us to derive sets of input conditions that willfully exercise all functional requirements
for a program. Black box testing is necessary and alternative to white box testing. Rather, it is
a complementary approach that is likely to uncover a different class of errors than white box
testing method. For the present system we have used Black Box Testing strategy.
Interface errors.
Performance errors.
Test cases are specifications of the inputs to the test and the expected output from the system.
The following test cases are used for this project.
17
Table 1 Test Case 1
Test Number 1
Actor User
Test Number 2
Actor User
18
Table 3 Test Case 3
Test Number 3
Actor User
Explanation When user Click on any file in App will start audio and user can listen PDF.
19
Chapter 5
Reference Manual & Screen Shots
5.1 User Interface Design
It is particularly important first to design how the system will look and respond to user be
before designing the website structure. The most critical and creative aspect of development
is to design the user interface. User interface design determines how the system will look for
the user from the outside. The basic design principles, considered the user interface design,
are the following.
5.2 Consistency
Consistency is the ability of user to predict that the software is going to do in each situation
based on the experience with the product. It means to provide the sets of behavior in the
response to user actions and generalize knowledge about one aspect of the system to other
aspects.
Good user interface gives user clues about what to do next in each situation. It means to
provide clear and obvious ways for the user to get something done.
To make the system user friendly, right level and right kind of response should be given to
user against each user action with an input device. Lack of proper feedback can be a big
problem when nothing appears to have happened. In design of many project proper and
immediate feedback is provide at different stages to make the system user friendly.
It means that system should be so simple and flexible that user is able to concentrate on
getting the task at hand done with a minimum of distraction. The system is also making
simple by redundancy.
5.6 Efficiency
20
5.7 Front End
In application used by the silent to access database engines or to present information to the
user is called frond end. My front-end tools are available in market. We have selected
macromedia dream weaver as a front end to access databases, because the dream weaver is
the fastest and easiest way to develop web application for windows.
Forms served as a window used to customize the interface of application. Controls, graphics
and pictures are added to the form to create a desired look. Forms are the foundation for
creating interface of an application. Forms can be used to add windows and dialog boxes to
application. Forms are container for other controls and objects.
Forms provide the data gathering functionality to the webpage. It is very useful if the web site
is used to advertised and sell products. Forms can automatically submit data collected in its
controls to a web server.
Input validation is a proactive process, it happens while data is being entered. It is the process
of checking the data entered by the user before that data is stored to the database. If an error
occurs from the user, then it should simply display meaningful display message
The web pages, of which the entire website is comprised of, have been designed in such a
way to streamline the page vs. information flow, so that the visitor may feel easy to navigate
through the website, yet comfortable with page layout. I have designed a page template, on
the basis of which all the other pages are presented on the visitor’s browser.
The web page is designed to best fit on a 1024*768 pixels resolution, but if it is viewed on a
800*600 pixels resolution, only the background will shrink, while the page size remain the
same at the center. This flexibility has been maintained because a considerable number of
visitors use 800*600 pixels resolution on their screen.
These are containing links to Admin area, User area, and vehicles.
21
5.12 Main Page Area
This section will contain the actual contents of the web page. It would elongate enough to
accommodate the contents.
22
Figure 4 Front Page Registration
23
Figure 5 Home Login Screen
24
Figure 6 App Home page
25
Figure 7 Upload PDF
26
Figure 8 Converting PDF to Audio
27
Figure 9 Listening Audio
28
Chapter 6 References
Bibliography
[3] G. Search,
"https://www.irjmets.com/uploadedfiles/paper/volume2/issue_12._december_2020/5297/
1628083212.pdf," [Online]. Available:
https://www.irjmets.com/uploadedfiles/paper/volume2/issue_12._december_2020/5297/1
628083212.pdf. [Accessed sunday june 2022].
29