Android App Project 14
Android App Project 14
on
BILL GENERATOR
(ANDROID APPLICATION)
Submitted
In partial fulfillment
For the award of the degree of
Bachelor of Technology
In
Information Technology
Project Guide:
Mr .Ashish Payal
Assistant Professor
USICT,GGSIPU
Submitted by:
Gurteg Sawhney
Roll No: 01416401511
B.Tech IT 7th Semester
USICT,GGSIPU
CERTIFICATE
This is to certify that the project report entitled Bill Generator(ANDROID Application)
done by Mr Gurteg Sawhney, Roll NO.01416401511 is an authentic work carried out by
him at University School of Information and Communication Technology under my
guidance.The matter embodied in this project work has not been submitted earlier for the
award of any degree or diploma to the best of my knowledge and belief.
Date:
ACKNOWLEDGEMENT
I am deeply indebted to my project guide Mr.Ashish Payal ,Assistant Professor in
University
School
of
Information
and
Communication
Technology,
whose
help,stimulating suggestions and encouragement helped me during the working with the
project on Bill Generator(ANDROID Application).
Gurteg Sawhney
01416401511
B.Tech IT,7th semester
USICT,GGSIPU
List of figures
CHAPTERS
ii
PAGE NO
1) Introduction
1.1 Project Background
1.2 Overview
1.3 Objective
1.4 Development Requirements
7
8
9
2) Preparation
2.1 Introduction
ii) Introduction to Android
iii) Features of Android
iv) Android Architecture
v) Application Framework
vi) The Dalvik Virtual Machine
vii) Lifecycle of an Android Application
10
11-12
13
13-14
14
15
16
17-20
3) Requirement Specifications
i) Functional Requirements
ii) Non - Functional Requirements
22
23-24
24-26
28
29
30-34
35-36
5) Project Implementation
37-68
69-80
81-84
89
List of Figures
Chapter 1
Introduction
1.2 Overview
This application is based on the features of Background services and SQLite Database for
data storage and retrieval.Android supports applications and services designed to run in
the background while our application isnt being actively used.Modern mobiles and
tablets are by nature multifunctional devices,however,their screen sizes and interaction
models mean that generally only one interactive application is visible at any time.
applications that dont need your constant attention.Background services make it possible
to create invisible application components that perform automatic processing without
direct user action.
In our application,once the user makes a call or sends a message to any
number,the corresponding number,the duration of the call,date and time of the call or sms
are stored in the database.The call rates per second and the sms charges can be set as per
your service providers charges.The duration of the call in sec is multiplied by thecall rate
per second and similarly the sms charge is multiplied by the number of messages sent to a
number,the total bill is generated by adding the previously obtained call and sms charges.
.
The purpose of the project is to present the requirement of the Computerization of
Telephone Billing System. The project thus calculates the telephone bills automatically. It
does almost every work which is related to automatic telephone billing connection system
via- new connection , customer record modification, viewing customer records & all
works related to rate of bills, meter readings in addition to bill calculation and bill
generation. Telephone Billing
requirement to speed up the work and incorporate a new work culture. Thus a new
software has been proposed to reduce manual work, improving work efficiency, saving
time and to provide greater flexibility and user-friendliness as the system previously
followed was totally manual one with lots of errors.
1.3 Objective
The objectives of this project were to create an Application:
i.
That can give the call details such as mobile no. on which call was made,date and
time of the call,duration of the call and the call charges for the last 15 /30 days.
ii.
That can give the sms details such as mobile no. on which the sms was sent,date and
time of the sent message and the sms charges for the last 15/30 days.
iii. That generates a mobile bill for all the calls and all the messages sent by the userin
the last 15/30 days.
Operating System:Windows 7
Programming Languages:Java
Softwares:
Eclipse Indigo
Android SDK
Chapter 2
Preparation
2.1 Introduction
System analysis is the performance management and documentation of activities related
to the four life cycle phases of any software namely:
System analysis is a vast field of study through which system analyst puts his thoughts
and searches for the solution of problem. He has to get a clear idea of what he has in hand
and what he has to produce. He has to extract the essence of expectations. He has to
satisfy the user in the very possible way. System analysis needs and should include the
following steps of study:
Study of current methods, the basic inputs available and output desired.
The splitting of a variable inputs into (.dbf) files so as to reduce
redundancy and increase consistency.
Give the idea of key field (if any) .
language that utilizes Google-developed Java libraries, but does not support programs
developed in native code.
The unveiling of the Android platform on 5 November 2007 was announced with
the founding of the Open Handset Alliance, a consortium of 34 hardware, software and
telecom companies devoted to advancing open standards for mobile devices. When
released in 2008, most of the Android platform will be made available under the Apache
free-software and open-source license.
2.2.3 Hardware
Google has unveiled at least three prototypes for Android, at the Mobile World
Congress on February 12, 2008. One prototype at the ARM booth displayed several basic
Google applications. A 'd-pad' control zooming of items in the dock with a relatively
quick response.
A rich and extensible set of Views that can be used to build an application,
including lists, grids, text boxes, buttons, and even an embeddable web browser
Content Providers that enable applications to access data from other applications
A Notification Manager that enables all applications to display custom alerts in the
status bar
An Activity Manager that manages the life cycle of applications and provides a
playback and recording of many popular audio and video formats, as well as static image
files, including MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG
LibWebCore - a modern web browser engine which powers both the Android
execution of an application. This means that standard Java SE applications and libraries
cannot be used directly on the Android Dalvik virtual machine.
Dalvik however stands at the center of the Android value proposition. Its low
electrical power consumption, rich libraries, and unified, non-fragmented application
programming interfaces make it stand out, or so Google hopes, over the fragmented
ecosystem that is Java ME35 today.
Furthermore, since Dalvik uses the Java programming language but not the Java
execution environment (JVM), Google is free to develop Android without the need to
license or obtain certification from Sun Microsystems Inc, the legal owner of the Java
trademark and brands.
start a Service from the IntentReceiver, so the system knows that there is still active work
being done in the process.
To determine which processes should be killed when low on memory, Android
places them into an "importance hierarchy" based on the components running in them and
the state of those components. These are, in order of importance:
1.
A foreground process is one holding an Activity at the top of the screen that
the user is interacting with (its onResume () method has been called) or an IntentReceiver
that is currently running (its onReceiveIntent () method is executing). There will only
ever be a few such processes in the system, and these will only be killed as a last resort if
memory is so low that not even these processes can continue to run. Generally at this
point the device has reached a memory paging state, so this action is required in order to
keep the user interface responsive.
2.
A visible process is one holding an Activity that is visible to the user on-
screen but not in the foreground (its onPause() method has been called). This may occur,
for example, if the foreground activity has been displayed with a dialog appearance that
allows the previous activity to be seen behind it. Such a process is considered extremely
important and will not be killed unless doing so is required to keep all foreground
processes running.
3.
A service process is one holding a Service that has been started with the
startService() method. Though these processes are not directly visible to the user, they are
generally doing things that the user cares about (such as background mp3 playback or
background network data upload or download), so the system will always keep such
processes running unless there is not enough memory to retain all foreground and visible
process.
4. A background process is one holding an Activity that is not currently visible
to the user (its onStop() method has been called). These processes have no direct impact
on the user experience. Provided they implement their activity life cycle correctly (see
Activity for more details), the system can kill such processes at any time to reclaim
memory for one of the three previous processes types. Usually there are many of these
processes running, so they are kept in an LRU list to ensure the process that was most
recently seen by the user is the last to be killed when running low on memory.
5.
components. The only reason to keep such a process around is as a cache to improve
startup time the next time a component of its application needs to run. As such, the
system will often kill these processes in order to balance overall system resources
between these empty cached processes and the underlying kernel caches.
When deciding how to classify a process, the system picks the most important
level of all the components currently active in the process.
Chapter 3
Requirement
Specifications
This chapter will cover the initial stage of development in which the various requirements
for the mobile application is gathered . the requirements are grouped into functional and
non- functional requirements.
Provide user with the ability to view the total call and sms tariffs.
ii.
Allow user to save the call and sms rate as per his/her service provider.
iii.
iv.
Keep log of the call and sms details for the last 15/30 days.
ii.
Usability: The UI of the application should be fairly simple for any user to
understand.
iii.
iv.
v.
Recovery: The application should be able to recover from an error upon relaunch and the data should rollback to the state prior to the error.
Chapter 4
Requirement
Analysis and Design
Chapter 5
Project Implementaion
fig
Chapter 6
Conclusion
BIBLIOGRAPHY
1.
2.
3.
4.
http://en.wikipedia.org/wiki/Android_(operating_system)Wikipedia
Information
5.
6.
http://www.webopedia.com/TERM/A/Android_SDK.html
7.
http://developer.android.com/guide/basics/what-is-android