institute of computing and information technology gomal

Transcription

institute of computing and information technology gomal
Financial Studio: Android Based Application for Computing Tax, Pension, Zakat and Loan
A Thesis
Submitted by
Ulfat Batool
Farheen Bibi
&
Kishwar Fakhra
In partial fulfillment for the award of the degree
Of
MASTER OF COMPUTER SCIENCE (MCS)
(Session: 2013-2015)
INSTITUTE OF COMPUTING AND INFORMATION TECHNOLOGY
GOMAL UNIVERSITY
DERA ISMAIL KHAN, KHYBER PAKHTUNKHWA, PAKISTAN
DECEMBER, 2015
i
ii
ACKNOWLEDGEMENT
First of all, we express our special thanks and heartfelt gratitude to Almighty Allah, the creator
of the whole universe, for His countless blessings to make us capable of completing the MCS
project work.
We extend our special thanks to our supervisor, Dr. Muhammad Zubair Asghar, Assistant
Professor of this institute for his for his full-time cooperation, help and timely guidance. We
will always remember his guidance and support.
We also pay thanks to our Director, Dr. Abdur Rashid Khan, for his attention and support. He
helped us a lot during this work.
We would like to express our great thanks to Sir Jamal Abdul Nasir, Assistant Professor of this
institute, who helped us a lot during this work. We are also thankful to our fellows in the
android cluster, namely: Anam Habib, Amara Habib, and Iqra Sana, for their support and
guidance during group discussion.
Finally, we express our heartfelt thanks to our beloved parents for their love and prayers.
Ulfat Batool, Farheen Bibi and Kishwar Fakhra
iii
ABSTRACT
This work deals with the development of android-based financial studio, an integrated
application for calculating tax, pension, zakat, and loan. Financial studio can facilitate
employers of any department and other individuals. It will assist to assess, how much, we
should invest every month to get a desired amount at the end of an investment. It can quickly
calculate taxes, retirement plans, pension, loans, financial investments, and zakat. It has four
modules namely, (i) tax calculation module, (ii) pension calculation module, (iii) Zakat
calculation module, and (iv) loan calculation module.
The tax calculation module is used to perform tax related calculations required by a salaried
person in government and non-organization the tax rules and rates are based on government
of Pakistan (2014-15) regulations. This module calculates income tax to be paid on their
income.
The pension calculation module is used to perform calculations pertaining to pension related
issues of a retired person of some organization. The application assists in computing
computing total gratuity, net pension, increases on pension, medical allowances, and total
monthly pension.
The third module is related to zakat calculations payable on gold, silver, cash, business, and
property. The loan calculation module is used to perform loan related calculations on the
basis of input provided by the user and assists the users for know about the payments to be
made on monthly and yearly basis. The application is user friendly, interactive and provides
easy to use options for the aforementioned financial computations.
iv
Table of Contents
Chapter.1 Introduction ............................................................................................................... 1
1.1Background /Context......................................................................................................... 2
1.2 Motivation ........................................................................................................................ 2
1.3Objectives…………………………………………………………………………… …2
1.4 Problem statement………………………………………………………………………3
1.5Materials………………………………………………………………………………
3
1.6 Thesis breakup………………………………………………………… …………… 3
Chapter.2 Existing System ......................................................................................................... 4
2.1 Tax-related applications ................................................................................................... 4
2.1.1 Web-based income tax calculator for Pakistan.......................................................... 4
2.2.2 Web-based application for Pakistan salary/income tax calculation (2012-13) ......... 4
2.2.3 Android based application for Pakistan income tax calculator ................................. 5
2.2.4 Android based application for Pakistan tax calculation ............................................ 6
2.2.5 Android based application for tax calculator Pakistan .............................................. 6
2.2.6 Android based application for tax calculation in India (2015-16)............................. 7
2.2 Pension-related applications ............................................................................................. 8
2.2.1 Web based application for Pension calculator ........................................................... 8
2.2.2 Android based application for Pension calculator ..................................................... 8
2.2.3 Android based application for The Pension Calculator ............................................. 9
2.3 Zakat-related applications ............................................................................................ 10
2.3.1 Web based application for zakat calculator by Islamic Research Foundation ........ 10
2.3.2 Web based application#2 for zakat calculator ......................................................... 10
2.3.3 Web based application#3 for zakat calculator in Urdu/Hindi ................................. 11
2.3.4 Android based application#1 for zakat calculator ................................................... 11
2.3.5 Android based application#2 for zakat calculator ................................................... 12
2.4 Loan-related applications ............................................................................................... 12
2.4.1 Web based application#1 for loan calculator .......................................................... 12
2.4.2 Web based application for loan payment amount calculator ................................... 13
2.4.3 Android based application for simple loan calculator ............................................. 13
2.4.3 Android based application#2 for loan calculator ..................................................... 14
Chapter.3Proposed System ...................................................................................................... 15
3.1 Layout design ................................................................................................................. 16
3.2 Main screen .................................................................................................................... 16
v
3.3 Tax calculation module .................................................................................................. 16
3.3.1 How it is works ........................................................................................................ 17
3.4 Pension calculation module ............................................................................................ 19
3.4.1 How it is works ........................................................................................................ 20
3.5 Zakat calculation module ............................................................................................... 21
3.5.1 How it is works ........................................................................................................ 21
3.6 Loan calculation module ................................................................................................ 25
3.6.1 How it is works ........................................................................................................ 25
Chapter.4Results ...................................................................................................................... 27
4.1 Tax calculation module .................................................................................................. 27
4.2Pension calculation module ............................................................................................. 27
4.3 Zakat calculation module ............................................................................................... 28
4.4 Loan calculation module ................................................................................................ 29
Chapter.5Tools and Technologies ........................................................................................... 30
5.1 App Inventor .................................................................................................................. 30
5.2 What kind of apps can we build? ................................................................................... 30
5.2.1 Games ...................................................................................................................... 30
5.2.2 Educational software ............................................................................................... 30
5.2.3 Location-aware apps ................................................................................................ 30
5.2.4 High-tech apps ......................................................................................................... 31
5.2.5 SMS apps ................................................................................................................. 31
5.2.6 Apps that control robots .......................................................................................... 31
5.2.7 Complex apps .......................................................................................................... 31
5.2.8 Web-enabled apps.................................................................................................... 31
5.3 The App inventor environment ...................................................................................... 31
5.4 Tools and technologies ................................................................................................... 31
5.4.1 Special features ........................................................................................................ 32
5.4.2 Step by step procedure to get started, go to App inventor ...................................... 32
5.5 Major Tools .................................................................................................................... 34
5.5.1 Component Designer ............................................................................................... 35
5.5.2 Block Editor ............................................................................................................. 35
5.5.3 Emulator .................................................................................................................................... 40
Chapter.6 Conclusion and future work........................................................................................... 42
vi
References ....................................................................................................................... 43-45
Appendices ...................................................................................................................... 46-53
vii
Chapter.1
Introduction
A financial studio is an android-based suit of applications to perform different financial
computations, such as income tax, loan, zakat, and pension, which are commonly needed. The
financial studio can facilitates employers of any department and other individuals. It will assist
to assess, how much, we should invest every month to get a desired amount at the end of an
investment. Financial studio application can quickly calculate taxes, retirement plans, pension,
loans, financial investments, and zakat.
1.1Background /Context
Numerical problems that were once very difficult, almost impossible are now solved in seconds
with a little calculators.
A web based expert system for income tax calculation is proposed by [1].This web-based tax
calculator applies income tax rates in Pakistan on taxable income of salaried persons and
salaried class. A salaried person class is applicable, where the salary income exceeds more than
50% of the total taxable income.
A web based Pension calculator is developed for Government of Khyber Pakhtunkhwa Finance
Department [3]. It is very simple calculator and requires some inputs to calculate pension. We
can also develop a simple and easy pension calculator that calculates the pension of pensioner
of any department.
The web based zakat calculator [5] is used for calculation of zakat based on 2.5% of the total
net worth that is available at the end of one lunar year.
The loan calculator [7] helps in calculating the monthly payments on a loan. Users have to
simply enter the loan amount, term and interest rate in the fields to calculate. This system can
be used for mortgage, auto, or any other fixed loan types. We can also create an application of
loan calculator that calculate both monthly and yearly loan amount.
An Android based application for income tax calculation is developed by [9]. This application
is very useful for Pakistani people to calculate Income Tax for the year 2013-2014. It is simple
Page 1 of 53
and has a user friendly interface and give complete details of the monthly income tax amount,
annual income tax amount and the tax slab.
Pakistan Income Tax Calculator [10] is very useful for salaried people to compute their annual
income tax and for tax filing. It is very simple and easy to use. We can customize the tax slab.
The pension calculator [14] application allows public sector workers to calculate the pension
entitlements, they will receive from their superannuation scheme at retirement, based on their
years’ service. This application also allows us to calculate what potential extra retirement fund
we could accumulate by contributing to an AVC today.
Zakat is one of the five pillars of Islam so avis Team built an android app [16] to assist in
calculating Zakat by making the zakat payables easy, and accurate. To calculate loan, an easy
to use system is developed by [17] on the basis of annuity, differentiated, and fixed payments
calculation.
The existing literatures [20, 21, 22, 23, 24, 25, 26, 27] of different studies are conducted for
the development of financial-related content analysis in the context of opinion mining.
However, most of such studies are web-based and desktop-based.
The above mentioned systems are not available in single android application and lack most of
the important features, which is what we will address in our proposed work.
1.2 Motivation
As the use of Android mobile phone is drastically increasing and the people have an easy access
to it, so from that we found an idea to make an applicationon Android phone that will facilitate
employers and other individuals in a better way to calculate their income taxes, pension, zakat,
and loan amount in a single application on android phone.
1.3 Objectives
We want develop a self-help tool in which we integrate multiple applications related to
financial calculations. It includes four modules and in each module, we ask some inputs like
Name, CNIC, Designation and others related to app from users, from which the required output
is produced. For example, if the user wants to calculate the income Taxes. This application
quickly calculates the income taxes of salaried persons. Secondly, the pension calculation
Page 2 of 53
application calculates the pension of pensioner and also calculates increases on pension from
2010 to 2015 and medical allowances. Thirdly the zakat calculator calculates zakat on gold,
silver, cash, business, and property. Finally, loan application calculates loan amount, monthly
and yearly amount to be paid. We aim to integrate all applications in a single suite, called
“Financial Studio”.
1.4 Problem statement
Different financial computations, such Zakat, pension, income tax and loan are essentially
needed by most the people. Therefore, the development of the android-based financial studio
can assist and facilitates employers of any department and other individuals. The existing
android applications lack many important features needed on a daily basis. This is what we
address in this work.
1.5 Materials
Window 7 HP laptop
MIT App Inventor 2 Software
Samsung Tablet
Blue stack Emulator
1.6 Thesis breakup
The remaining chapters of the thesis are organized as follows:
Chapter two: Existing System, in this chapter we have discussed on the existing system related
to our application.
Chapter three: Proposed system, describes the development process of our application
Chapter four: Results, we present the results that our system generated by including screenshots along with their objective.
Chapter five: Tools and technology, which provides the description of the tool we have used.
Page 3 of 53
Chapter.2
Existing system
In this chapter, we present the detail about the already developed web based and android based
applications with focus on solving financial calculations.
2.1 Tax-related applications
Following are the different systems for tax calculations.
2.1.1 Web based income tax calculator for Pakistan
This web based tax calculator applies income tax rates in Pakistan on taxable income of salaried
persons with respect to salaried class [1]. A salaried person class slabs are applicable when the
salary income exceeds than 50% of the total taxable income (Fig.2.1).
Fig.2.1Tax calculator for 2014/15
2.2.2 Web-based application for Pakistan salary/income tax calculation (2012-13)
This application calculates tax calculator, available on the FBR new income Tax calculation
website [2], as shown Fig.2.2.
Page 4 of 53
Fig.2.2 FBR new income tax calculations
2.2.3 Android based application for Pakistan income tax calculator
This application is very useful for Pakistani peoples to calculate Income Tax for year 2013 2014.It provides a simple and user friendly interface and gives complete details of the monthly
income tax amount, annual income tax amount, and the tax slab (Fig.2.9).
Fig. 2.9Pakistan income tax calculator
Page 5 of 53
2.2.4 Android based application for Pakistan tax calculation
It is anothersimple and easy to useapplication for salaried people to compute their annual
income tax. It is very. The tax slab can be customized by the user easily. The default tax slab
is set to financial year 2013-14 (Fig.2.10).
Fig.2.10Incometax calculator
2.2.5 Android based application for tax calculator Pakistan
This application calculates tax liability on the basis of data provided by the user [11]. Presently,
it supports the tax years for 2014-15 and 2015-16 (Fig. 2.11).Further years will be added in the
forthcoming versions.
Fig.2.11 Tax calculator for Pakistan
Page 6 of 53
2.2.6 Android based application for tax calculation in India (2015-16)
This android application is used to calculate income tax for Indian users. The user can instantly
calculate tax, tax splits, and can decide how much more investment is needed to save tax on
the one’s income. It supports further features including exporting details and multiple user
entries, as shown in the Fig.2.12.
Fig.2.12 Tax calculator India for 2015-16.
Page 7 of 53
2.2 Pension-related applications
Following are the different systems for pension calculations.
2.2.1 Web based application for Pension calculator
This application is developed for online pension calculation for finance department of
government of Khyber Pakhtunkhwa [3] to calculate the pension, increases on pension and
medical allowances, as shown in Fig. 2.13
Fig.2.3Pension calculator
2.2.2 Android based application for Pension calculator
This application is developed for pension calculation of central govt. employees of India [13].
This application assists in computing gratuity, basic pension and total pension amount, as
shown in Fig.2.13.
Page 8 of 53
Fig.2.13Pension calculator
2.2.3 Android based application for The Pension Calculator
The pension calculator application allows public sector workers to calculate their pension
entitlements to be received from their superannuation scheme at the time of retirement. This
application facilitates to calculate the potential extra retirement fund, shown in Fig.2.14. [14]
Fig.2.14 Pension calculator by larish
Page 9 of 53
2.3 Zakat-related applications
Following are the different systems for zakat calculations.
2.3.1 Web based application for zakat calculator by Islamic Research Foundation
This zakat calculator is developed through IRF Islamic research foundation [4].This calculator
calculates total zakat payable by the user. The screen shot of the application is shown in Fig
2.4.
Fig.2.4IRF zakat calculator
2.3.2 Web based application#2 for zakat calculator
This web based application is used for the zakat calculations based on 2.5% of the total worth
of the assets on the savings at the end of one lunar year [5], as shown in Fig.2.5.
Fig.2.5 Zakat calculator application#2
Page 10 of 53
2.3.3 Web based application#3 for zakat calculator in Urdu/Hindi
This zakat calculator, as shown in Fig.2.6, is used to calculate zakat in Urdu/Hindi in India,
Pakistan, and UAE [6].
Fig.2.6Urdu/Hindi zakat calculator
2.3.4 Android based application#1 for zakat calculator
This application helps theuser in computing zakat payable at their part. The system is
available at[15], as shown in Fig. 2.15.
Fig.2.15 Zakat calculator application#1
Page 11 of 53
2.3.5 Android based application#2 for zakat calculator
An android based zakat calculator is developed by [16], to facilitate the users for computing
zakat on hand held devices a screen shot of this is shown in Fig. 2.16
Fig.2.16 Zakat calculator application#2
2.4 Loan-related applications
Following are the different systems for Loan calculations.
2.4.1 Web based application#1 for loan calculator
This web based application assist the users for performing computation related to loan, such
as loan amount, term, interest rate. The system is available at [7], and its screen shot is shown
in Fig. 2.7.
Fig.2.7 Loan calculator
Page 12 of 53
2.4.2 Web based application for loan payment amount calculator
This application [8], assist the users for performing different loan related computation. Its
screen shot represented Fig. 2.8.
Fig.2.8Loan payment amount calculator
2.4.3 Android based application for simple loan calculator
An android based application for loan related computation is developed by [17], its screen
shot is presented in Fig. 2.17.
Fig.2.17 Simple loan calculator
Page 13 of 53
2.4.3 Android based application#2 for loan calculator
A simple loan calculator to help based on android platform is developed by [18], and shown
in Fig. 2.18.
Fig.2.18 Loan calculator application#2
The system presented above here several limitations, such as non-availability of all financial
calculators in a single system. More over most of the systems are either offline or web based,
where as in today society android based applications are preferred. Therefore, there is a need
to develop an android based financial system calculation which assists the user to perform
different operations including tax calculation module, Pension calculation module, zakat
calculation module, and loan calculation module as a single system.
Page 14 of 53
Chapter.3
Proposed system
The proposed system aims are developing a suit of financial application namely, tax, pension,
zakat, and loan using android based platform. It assists different users including employees and
others to perform the required financial calculations on their hand held device easily as
mentioned in the existing system chapter, currently no such application exists in android based
environment to perform calculations pertaining tax, pension, zakat, and loan in a single and
integrated application. The conceptual design of proposed system is shown in Fig. 3.1
Tax Calculation
Module
(Screen 2)
Pension Calculation
Module
Financial Studio
Start Program
(Screen 3)
Title page
(Screen 1)
Zakat Calculation
Module
(Screen 4)
Loan Calculation
Module
(Screen 5)
Fig. 3.1 Frame work
The proposed framework is shown in above Fig. 3.1 is based on multi screens.
3.1 Layout design
The proposed system is comprised of four modules namely, (i) tax calculation module, (ii)
pension calculation module, (iii) zakat calculation module, (iv) loan calculation module.
Page 15 of 53
Fig.3.2 Financial Studio
3.2 Main screen
The main screen of the proposed system is presented in Fig. 3.2, which provides four choices
for users to select any of the desired calculation.
3.3 Tax calculation module
This module can be used by the employees of any government department for calculating
income tax to be paid on their income. The screen shots of this module are shown in Fig.3.3
(a) to Fig. 3.3 (b).
Page 16 of 53
Fig. 3.3 (a)Screen shot#1 of tax calculation Fig. 3.3 (b) Screen shot#2 of pension
calculation
3.3.1 How it is works
•
When user click on screen1 button tax calculation module then screen2 (Tax
Calculation module) is appear.
•
This is income tax calculation for salaried persons. The given labels (Employees Name,
Employees CNIC, Employees NTN, Designation, posting city ,Employer NTN, Tax
year, Date, Monthly Income) and tax boxes are used for required data of employees for
Calculations of Tax.
•
There are 5 buttons on it.
•
1st one is already paid tax button. If users have already paid any tax then click on
already paid tax button a drop down list of textboxes is appears user fill these boxes for
calculating tax. The screen shot is shown in Fig. 3.4.
Page 17 of 53
Fig. 3.4 Already paid tax
•
2nd one is teacher exemption button. If user is a teacher then click on teacher exemption
button a checkbox is appear check this for 40% exemption of tax. The screen shot is
shown in Fig. 3.5.
Fig. 3.5 Teacher exemption
•
3rd one is Calculate tax button when user click on it result is appear. The screen shot is
shown in Fig. 3.6
Page 18 of 53
Fig. 3.6 Calculate tax
•
4th one is Back button when user click on it user back to the screen 1 or title page.
•
5th button is Exit when user click on it application close.
3.4 Pension calculation module
This module is used to calculate the pension amount, gratuity and increases to be received by
a retired government sector employee. The screen shots of this module are shown in Fig. 3.7
(a) to Fig. 3.7 (b)
Fig. 3.7 (a) Screen shot#1of pension Fig. 3.7 (a) Screen shot#1of pension
Page 19 of 53
3.4.1 How it is works
•
When user click on screen1 button pension calculation module then screen3 (Pension
calculation module) is appear.
•
This is screen2 & pension calculator. This is pension calculator for retiring attaining
the age of superannuation (60 years alive).The given labels (Name of pensioner, Date
of Birth, Date of Appointment, Date of Retirement, BPS, Last Basic Pay, Qualifying
service) and text boxes are used for required data of pensioner for calculations of
pension.
•
There are 3 buttons on it.
•
1st one is Calculate button when user click on it result is appear. The screen shots are
shown in Fig. 3.8 (a) to Fig. 3.8.
Fig. 3.8 (a) Calculate Pension
Fig. 3.8 (b)Calculate pension
•
2nd one is Back button when user click on it user back to the screen 1 or title page.
•
3rd one is Exit button when user click on it application close.
Page 20 of 53
3.5 Zakat calculation module
This module facilitates in calculating the zakat to be paid on the basis of gold, silver, cash,
business, and property. The screen shots of this module are shown in Fig. 3.9.
Fig. 3.9 Zakat calculation module
3.5.1 How it is works
•
When user click on screen1 button Zakat Calculation module then screen4 (Zakat
Calculation module) is appear.
•
There are 7 Buttons on it.
•
1st one is gold button if user calculates a zakat on gold then clicks on Gold button a
drop down tax boxes appear fill these boxes. The screen shots are shown in Fig. 3.10.
Page 21 of 53
Fig. 3.10 Zakat on gold
•
2nd one is Silver button if user calculates a zakat on silver then clicks on silver button
a drop down tax boxes appear fill these boxes. The screen shot is shown Fig. 3.11.
Fig. 3.11 Zakat on silver
•
2nd one is Silver button if user calculates a zakat on silver then clicks on silver button a
drop down tax boxes appear fill these boxes.. The screen shot is shown in Fig 3.12.
Page 22 of 53
Fig. 3.12Zakat on cash
•
4th one is Business button if user calculates a zakat on business then clicks on business
button a drop down tax boxes appear fill these boxes. The screen shot is shown in Fig.
3.13.
Fig. 3.13 Zakat on bussiness
•
4th one is Business button if user calculates a zakat on business then clicks on business
button a drop down tax boxes appear fill these boxes. The screen shot is shown in Fig.
3.14.
Page 23 of 53
Fig. 3.14 Zakat on property
•
6th one is Calculate Zakat button when user clicks on calculate zakat button Results
appears on it. The screen shot is shown in Fig. 3.15.
Fig. 3.15 Calculate zakat
•
7th one is Back Button when user click on it user back to the screen 1 or title page.
•
8th one is Exit Button when user click on it application close.
Page 24 of 53
3.6 Loan calculation module
This module is used to perform calculations related to loan and assists the users for know
about the payments to be made on monthly and yearly basis the layout is shown in Fig.3.16.
Fig. 3.16 Loan calculation module
3.6.1 How it is works
•
When user click on screen1 button Loan Calculation module then screen5 (Loan
Calculation module) is appear.
•
This is Screen5 and Loan calculation module. The given labels (Loan Amount, Rate of
Interest (Annually) in %,Number of Months/Years) and text boxes are used for required
data for Calculations of loan.
•
There are 3 Buttons on it.
•
1st one is Calculate button when user clicks on it result is appear on screen.
Page 25 of 53
Fig. 3.17 Calculate Loan
•
2nd one isBack button when user click on it user back to the screen 1 or title page.
•
3rd one is Exit button when user click on it application close.
Page 26 of 53
Chapter.4
Results
This chapter deals with the description of results obtained by executing our application
through different screen shots.
4.1 Tax calculation module
The purpose of this screen is to provide calculations for tax calculation module, as shown in
Fig. 4.1. For example, when user enters a value in the tax boxes and click the calculate button
then results appears on the screen.
Fig. 4.1 Tax result
4.2Pension calculation module
The purpose of this screen is to provide pension-related calculations, as shown in Fig.
4.2 (a) to Fig. 4.2 (b). For example, when user enters value in the tax boxes and clicks the
calculate button then the results appears on the screen.
Page 27 of 53
Fig. 4.2 (a) Pension result
Fig. 4.2 (b) Pension result
4.3 Zakat calculation module
The purpose of this screen is to provide calculations for zakat calculation module, as
shown in Fig. 4.3. For example, when user enters value in the tax boxes and click the
calculate button then results appears on the screen.
Fig. 4.3 Zakat result
Page 28 of 53
4.4 Loan calculation module
The purpose of this screen is to provide loan-related calculations, as shown in Fig. 4.4.
For example, when user enters value in the tax boxes and click the calculate loan button
then results appears on the screen.
Fig. 4.4 Loan result
Page 29 of 53
Chapter.5
Tools and Technologies
5.1 App Inventor
The App Inventor is an android-based open source application invented by google and now
maintained by MIT Massachusetts Institute of Technology.
The development of android based applications app inventor allows the user. It uses graphical
interface and allows drag and drop visual objects to development of applications for android
devices. App inventor work done within Google on online development environments.
App inventor is the part of ongoing work of Seymour paper and the mit logo group in the
1960s in computers and education. App inventor is an easy way to create android
applications.
5.2Kinds of apps we can build in app inventor
We can build different types of apps in app inventor. following are there.
5.2.1 Games apps
In app inventor people easily building games like draw funny pictures app, change faces app.
we can build our own type of complex games we can also use the phone’s sensors.
5.2.2 Educational apps
In app inventor we can build educational apps like study app, quiz app, test preparation app,
and group study app. Educational app facilitate the students.
5.2.3 Location aware apps
App inventor provides GPS location sensor to access the location. In app inventor
environment we can create apps like, that know where we are and help us where we parked
our car, location of our own school, workplace and location of our friends at concert.
Page 30 of 53
5.2.4 High tech apps
Through app inventor we can easily build high tech apps like phone calls apps, take pictures
app, scan bar codes app, music app, and detection of phone’s orientation or acceleration app.
5.2.5 SMS apps
In app inventor environment we can build app like broadcast hub that helps to coordinate
large events. We can also create text messages apps, send SMS to our friends. One of the
example of SMS app is No texting while driving app.
5.2.6 Robots control apps
In app inventor we can build robots control apps we use phone as remote control. The rebot
and and phone communicate via Bluetooth. We can create apps that control other Bluetooth
devices through Bluetooth component of app inventor.
5.2.7Complex type apps
App inventor provide lower entrance barrier to programming and easy to create high level
apps .in app inventor language provide loop, programming and logic to build complex type
apps.
5.2.8 Web enabled apps
In this type of apps app inventor provides communication of apps with the web. we can build
apps like Amazon bookstore browser that online check the cast of book by barcode scanning.
5.3 The App inventor environment
We can use app inventor using app inventor environment instructions at [19]. App inventor
runs through browser and then downloads software on our device. For testing we use android
emulator.
5.4 Tools and technologies
Tools to create apps in app inventor for android platform are developed by Google and
maintained by MIT. Users use like a popular tool for app development. these tools provide
very easy and user friendly environment to develop apps.
Page 31 of 53
5.4.1 Features
Following are some of the features of app inventor
1. OOP object oriented programming tool.
2. GUI Graphical user interface environment.
3. In layout and code design phase app inventor uses drag and drop approach
4. For testing providing emulator on windows on PC to check the android platforms result.
5. Development of APK files app inventor provides different ways like QR code, mailing
APK to platform. To be installed and set up on the Android based smart phones.
6. Providing free web development environment.
5.4.2 Step by step procedure to go app inventor
For open the app inventor following steps are performed first of all go to the ai2.app
inventor.mit.edu and then click the “Create” button from the app inventor.
The screen shot is shown in Fig. 5.1.
Fig. 5.1 Create app
For create app the most significant login to app inventor with a Gmail account, put user
name and password. As shown in Fig. 5.2.
Page 32 of 53
Fig. 5.2 Login
Click "Continue" button to dismiss screen. As shown in Fig. 5.3.
Fig. 5.3 Start MIT
For start a project click on the “New project” appear on top of the title bar.
The screen shot is shown in Fig. 5.4.
Page 33 of 53
Fig. 5.4 Set the name of the project (underscore are allowed. Space are not) and Click Ok.
The screen shot is shown in Fig. 5.5.
Fig. 5.5 Project name
5.5 Major Tools
Following are the major tools.
1) Component Designer
2) Block Editor
3) Emulator
Page 34 of 53
5.5.1 Component Designer
In component designer tool drag and drop visual programming and user simply design and
arrange interface components and connect logic blocks to create their mobile application. As
shown in Fig. 5.6.
Fig. 5.6 Designer screen
5.5.2 Block Editor
In “Block Editor” tool, where program logic is created Click "Blocks" to go to the
Block Editor. Think of the Designer. The screen is shown in Fig. 5.7.
Fig. 5.7 Go to Block screen
The Block Editor is whose screen where we program the behavior of our app. There are
Built-in blocks that handle things like math, logic and text. Below that are the blocks that go
with each of the components in our app. we have to add that component to our app through
the designer.
Page 35 of 53
Fig. 5.8 Block screen
Fig. 5.9 Block of coding
We have three option for setting up live testing while we build apps
Option one: Builds apps with an android device and Wi-Fi connection(preferred).if we
have a computer, an android device, and a Wi-Fi connection , this is easiest way to test our
apps.
Page 36 of 53
Fig.5.10 Real time testing through WiFi
App Inventor connect to our phone for live testing. If we have an Android phone, tablet, we
connect app inventor to our phone for live testing.
Fig.5.11 Connect with AI companion
We easily get the MIT AI2 companion from the play store and install it on our phone.
Page 37 of 53
Fig. 5.12 Install MIT
For installation of MIT to download the AI2 companion App to our device directly (skip this
step if you already got the app from play store).if for some reason we can not connect to the
Google Play store, we can download the AI2 Companionas explained here. First of all, we
will need to go into our phone setting and choose "Security" and then scroll down to allow
“Unknown Sources”,which allows apps that are not from the play store to be installed on the
phone.Second perform the following steps:
Scan the QR code, click the "Need help finding..." link and we will be taken to the download
page.From there we can download theMITAI2 campanion apk file to our computer and then
move it by double click over to our device to install it.
Page 38 of 53
Fig.5.13 Scan code
Option Two: If we don’t have an Android device then the other way to use the emulator. We
work on emulators and share a few devices. As shown in fig. 5.13.
Page 39 of 53
Fig. 5.14 Real time testing on computer
4.5.3 Emulator
Emulator is used for the testing the apps or program test can be conducted without
connecting to a mobile phone .one of the neatest thing about App Inventor is that we can see
and test our app while we were building it, on a connected device. Open the Block Editor,and
click the “ Connect” button at the top of the window and then click the emulator.
1) The emulator will appear with an empty black screen.
2) Wait until the emulator is ready with a colored screen background.
3) Even after the background appears , we should wait until the emulated phone has
finished preparing its SD card there will be a notice at the top of the phone screen
while the card is being prepared.we might also need to use our mouse on the emulated
phone screen to unlock the device by dragging the green lock button to the right.
Page 40 of 53
Fig.5.15 Emulator testing
The emulator work like as a phone with some limitation. After unlock the emulator, click the
"Connect the Device..." button and then click the emulator. When the phone icon turns to
green, its mean emulator is connected.
Option Three: If Wi-Fi is not available builds app with an android device and USB cable
some firewalls within school and organization disallow the type of Wi-Fi connection
required. If Wi-Fi does not work for you, try USB.
Fig.5.16 Real time testing with other device
Page 41 of 53
Chapter.6
Conclusion and future work
This work deals with the development of android based financial studio, an integrated
application for calculating tax, pension, zakat, and loan. It has four modules namely, (i) tax
calculation module, (ii) pension calculation module, (iii) Zakat calculation module, and (iv)
loan calculation module.
The tax calculation module is used to perform tax related calculations required by a salaried
person in government and non organization the tax rules and rates are based on government of
Pakistan (2014-15) regulations.
The pension calculation module is used to perform calculations pertaining to pension related
issues of a retired person of some organization. The application assists in computing computing
total gratuity, net pension, increases on pension, medical allowances, and total monthly
pension.
The third module is related to zakat calculations payable on gold, silver, cash, business, and
property. Finally the loan calculation module is used to perform loan related calculations on
the basis of input provided by the user.
The proposed system has shown an efficient performance with respect to user friendly and
interactive design by using app inventor technology.
Future directions:Following are the possible future directions:(i)To incorporate currency
convertor module, (ii) to extend the current pension calculation module by incorporating
pension calculation related to death cases, (iii) to enhance the existing tax calculation module
to incorporate tax calculations for business and property.
Page 42 of 53
References
[1]HISAAB.PK availableat:http://hisaab.pk/income-tax-calculator-pakistan-2014-2015/ last
accessed 1-12-2015.
[2] FBR available at:http://www.taxcalculator.com.pk/ last accessed 2-11-2015.
[3] Government of Khyber Pakhtunkhwa Finance Department available at:
http://www.agkhyberpakhtunkhwa.gov.pk/pencalc.html last accessed 10-12-2015.
[4] Islamic Research Foundation available at:http://www.irf.net/zakaat_caculator/ last
accessed 12-12-2015.
[5] Hidaya Foundation, available at: http://www.hidaya.org/zakat-calculator, lastaccessed
16-12-2015.
[6]PAKstatus available at: http://www.pakstatus.com/2014/07/zakat-calculator-2014-inurduhindi-for-gold-india-pakistan-uae/ last accessed 13-12-15.
[7]Bankrate available at: http://www.bankrate.com/calculators/mortgages/loancalculator.aspx last accessed 14-12-2015.
[8] EasyCalculation.com available at: https://www.easycalculation.com/mortgage/loanpayment-amount.php last accessed 18-12-2015.
[9] Google Play available
at:https://play.google.com/store/apps/details?id=com.thebeyondit.taxcalculator last
accessed13-12-2015.
[10] Google Play available at:
https://play.google.com/store/apps/details?id=com.tappalm.salarytaxcalculator last accessed
22-12-2015.
[11] Google Play available at:
https://play.google.com/store/apps/details?id=com.ams.studios.paktaxcalc.lite last accessed
16-12-2015.
Page 43 of 53
[12] Google play available at:
https://play.google.com/store/apps/details?id=com.quintetsolutions last accessed 13-12-2015.
[13] FILEDIR available at: https://filedir.com/android/finance/pension-calculator10947540.html last accessed 23-12-2015.
[14]Apkpureavailable at: http://apkpure.science/64-the-pension-calculator/com.ipf.ipfapp last
accessed 1-11-2015.
[15] Google play available
at:https://play.google.com/store/apps/details?id=com.subroto.zakatcal last accessed 15-122015.
[16] Google play available at:
https://play.google.com/store/apps/details?id=com.avistechltd.zakatcalculator last accessed
10-12-2015.
[17] Google play available at:
https://play.google.com/store/apps/details?id=ee.smkv.calc.loan last accessed 27-12-2015.
[18] Google play available at:
https://play.google.com/store/apps/details?id=net.androgames.widget.loan last accessed 2612-2015.
[19] MIT app inventor available at: http://appinventor.googlelabs.com/learn/setup/ last
accessed 29-12-2015.
[20] Asghar D, Zubair M, Kundi FM, Khan AR. Inheritance Evaluation System using Islamic
law. Journal of Higher Education Institutions. 2004; 9(6):163-71.
[21] Saqib SM, Asghar MZ, Ahmad S, Ahmad B, Jan MA. Framework for Customized-SOA
Projects, International Journal of Computer Science and Information Security. 2011 May 1;
9(5):240.
[22] Ahmad B, Saqib SM, Asghar MZ, Jan MA, Ahmad S. Concentration on Business
Values for SOAServices: A Strategy for Service's Business Values and Scope. International
Journal of Computer Science and Information Security. 2011 May 1; 9(5):205.
Page 44 of 53
[23] Saqib SM, Jan MA, Ahmad B, Ahmad S, Asghar MZ. Custom Software under the Shade
of Cloud Computing. International Journal of Computer Science and Information Security.
2011 May 1; 9(5):219.
[24] Kundi FM, Asghar MZ, Zahra SR, Ahmad S, Khan A. A Review of Text
Summarization. Language: 6(7):8.
[25] Asghar, Muhammad Zubair, Maria Qasim, Bashir Ahmad, Shakeel Ahmad, Aurangzeb
Khan, and Imran Ali Khan. "HEALTH MINER: OPINION EXTRACTION FROM USER
GENERATED HEALTH REVIEWS. “International Journal of Academic Research 5, no. 6
(2013), International Journal of Academic Research [ISSN: 2075-4124], Vol.4 Issue. 2 & pp.
96-117
[26] Asghar, Muhammad Z., Aurangzeb Khan, Fazal M. Kundi, Maria Qasim, Furqan Khan,
Rahman Ullah, and Irfan U. Nawaz. "Medical opinion lexicon: an incremental model for
mining health reviews." International Journal of Academic Research 6, no. 1 (2014): 295302.
[27] Asghar, Dr, Muhammad Zubair, and Dr Ahmad. "A Review of Location Technologies
for Wireless Mobile Location-Based Services." Journal of American Science 10, no. 7
(2014): 110-118.
Page 45 of 53
Appendices
Appendix-I(Block-level coding of financial studio)
Page 46 of 53
Appendix-II (Block-level coding of tax calculation module)
Page 47 of 53
Appendix-II (Block-level coding of tax calculation module) Continue
Appendix-III(Block-level coding of pension calculation module)
Page 48 of 53
Appendix-III (Block-level coding of pension calculation module) Continue
Page 49 of 53
Appendix-IV(Block-level coding of Zakat calculation module)
Page 50 of 53
Appendix-IV (Block-level coding of Zakat calculation module) Continue
Page 51 of 53
Appendix-IV (Block-level coding of Zakat calculation module) Continue
Appendix-V (Block-level coding of loan calculation module)
Page 52 of 53
Appendix-V (Block-level coding of loan calculation module) Continue
Page 53 of 53
plag-report-ulfat-thesis-17feb- 2016
by Dr. Zubair
FILE
ULFAT_THESIS_NEW- 17 - FEB- 2016.DOCX (20.72M)
TIME SUBMITTED
17 - FEB- 2016 04 :32PM
WORD COUNT
5879
SUBMISSION ID
633074183
CHARACTER COUNT 385
plag-report-ulfat-thesis-17-feb-2016
ORIGINALITY REPORT
12
%
SIMILARIT Y INDEX
11%
2%
%
INT ERNET SOURCES
PUBLICAT IONS
ST UDENT PAPERS
PRIMARY SOURCES
1
2
www.behsoroosh.ir
Int ernet Source
"New No-Cost Social Networking App
"Zangoo Chat" by Zangoo Inc. is the Best
Way to Talk, Text, Video ", Financial Services
Monitor Worldwide, Sept 5 2015 Issue
3%
1%
Publication
3
4
5
6
7
8
lizarum.com
Int ernet Source
ethesis.nitrkl.ac.in
Int ernet Source
dev-explore.appinventor.mit.edu
Int ernet Source
apps-games.net
Int ernet Source
www.mdqacademy.org
Int ernet Source
www.fairbanks-group.com
<1%
<1%
<1%
<1%
<1%
Int ernet Source
9
10
11
12
13
14
15
16
17
18
19
www.hidaya.org
Int ernet Source
financekpp.gov.pk
Int ernet Source
www.androidopensourceapplications.com
Int ernet Source
raovatsinhvien.vn
Int ernet Source
hydrology.nws.noaa.gov
Int ernet Source
cadcam.yonsei.ac.kr
Int ernet Source
arxiv.org
Int ernet Source
Annals of Information Systems, 2010.
Publication
www.gu.edu.pk
Int ernet Source
nifcon.anglicancommunion.org
Int ernet Source
Zia, Z., A. Rashid, and K. uz Zaman.
"Software cost estimation for componentbased fourth-generation-language software
<1%
<1%
<1%
<1%
<1%
<1%
<1%
<1%
<1%
<1%
<1%
<1%
applications", IET Software, 2011.
Publication
EXCLUDE QUOTES
ON
EXCLUDE
BIBLIOGRAPHY
ON
EXCLUDE MATCHES
< 5 WORDS