summer internship project on "lock screen(android)"

34
A Project Report On Lock Screen Submitted to Amity University Uttar Pradesh In fulfilment of Practical Training -II Of Bachelor of Technology In Information Technology By Dhananjay Yadav Under the guidance of Ms. Ritu Gupta & Ms. Abhilasha Singh Department of Information Technology Amity School of Engineering and Technology Amity University Uttar Pradesh, Noida

Upload: amity

Post on 24-Feb-2023

0 views

Category:

Documents


0 download

TRANSCRIPT

A Project Report

On

Lock Screen

Submitted to

Amity University Uttar Pradesh

In fulfilment of Practical Training -II

Of

Bachelor of Technology

In

Information Technology

By

Dhananjay Yadav

Under the guidance of

Ms. Ritu Gupta & Ms. Abhilasha Singh

Department of Information Technology

Amity School of Engineering and Technology

Amity University Uttar Pradesh, Noida

Lock Screen

1

DECLARATION

I Dhananjay Yadav student of Bachelor of Technology (Information Technology) 2011-15,

hereby declare that the project titled “Lock Screen” which is submitted by me to Department

of Information Technology, Amity School of Engineering and Technology, Amity University

Uttar Pradesh, Noida, as a part PRACTICAL TRAINING –II.

Noida

Date Name

Dhananjay Yadav

Lock Screen

2

CERTIFICATE

Lock Screen

3

CERTIFICATE

On the basis of declaration submitted by Dhananjay Yadav student of Bachelor of Technology

(Information Technology) 2011-15, I certify that the project titled “Lock Screen” which is

submitted as a part Practical Training–II from Department of Information Technology, Amity

School of Engineering and Technology, Amity University Uttar Pradesh, Noida, is an original

contribution with existing knowledge and faithful record of work carried out by him under my

guidance and supervision.

Noida

Date Guide

Ms. Ritu Gupta

Asst. Professor

Department of Information Technology

Amity School of Engineering and Technology

Amity University Uttar Pradesh, Noida

Lock Screen

4

ACKNOWLEDGEMENT

Keep away from people who try to belittle your ambitions. Small people always do that, but

the really great make you feel that you too, can become great.

We take this opportunity to express my sincere thanks and deep gratitude to all those people

who extended their wholehearted co-operation and have helped me in completing this project

successfully.

First of all, I would like to thank Prof. Mrs Nitasha Hasteer (HOD) for creating opportunities

for us to enhance our skill through the project.

Special thanks to Ms. Ritu Gupta & Ms. Abhilasha Singh (Faculty Guide) for all the help and

guidance extended to me by him in every stage during my training. Her inspiring suggestions

and timely guidance enabled me to perceive the various aspects of the project in a new light.

I am highly indebted and graceful to Mr. Siddiq Raghib (Industry Guide) for their strict

supervision, constant encouragement, inspiration and guidance. Working under him was an

enrich experience.

I would also thank to Ms. Sapna Shukla (Programme Leader) for guiding us a lot in completing

this project. We would also like to thank my parents & project mate for guiding and

encouraging me throughout the duration of the project.

Lock Screen

5

ABSTRACT

The Project titled Lock Screen is an android based application that enables people to stop the

unauthorized use of their android powered smart-phone. The aim of the project was to make

user favourable method for the security of their android powered Smart-phone.

In this Project Report we have started with the introduction in which we define about the

android operating system its history then explain about the architecture which give you detail

about the frame-work on which android works

Then we write out on which software this application can be made out with the help of Android

development tools, then we point out what system need to run this application and use its full

features. Then we inserted screen shots of the application like sending pin to the mobile-phone,

security question & answer etc.

After this comes the Test Part, As we know since the application doesn’t have complex or high

end function, we does the manually testing of the application on the required device and on the

Android Virtual Device, in which application run successfully with ease.

Then we discuss the results in which we try to recall all the function we said to develop,

After wards we discuss the conclusion we get after developing this application with the future

prospects of the application in the application. Then we write out all the name of places where

we get resources, books, software to develop this application with accuracy and ease.

Lock Screen

6

TABLE OF CONTENTS

PAGE NO.

1. INTRODUCTION 7

1.1 HISTORY 7

1.2 ARCHITECTURE OF ANDROID SYSTEM 8

1.3 GOAL OF PROPOSED SYSTEM 9

1.4 SCOPE 10

1.5 SOFTWARE USED 10

1.5.1 ECLIPSE 10

1.6 TOOLS USED 11

1.6.1 ANDROID SDK 11

2. SOFTWARE AND HARDWARE SPECIFICATION 12

2.1 SOFTWARE USED 12

2.2 HARDWARE REQUIREMENTS 12

3. PROJECT DESIGN AND IMPLEMENTATION 13

3.1 USE CASE OF ANDROID APPLICATION 13

3.2 SCREENSHOTS OF ANDROID APPLICATION 14

4. TEST CASES 25

5. DISCUSSION OF RESULTS 28

6. CONCLUSION 29

7. FUTURE PROSPECTS 30

8. REFERENCES 31

9. PLAGIARISM REPORT 32

Lock Screen

7

TABLE OF FIGURES

PAGE NO.

FIG 1.1 APPLICATION 8

FIG 1.2 APPLICATION FRAMEWORK 8

FIG 1.3 LIBRARIES 8

FIG 1.4 ANDROID RUNTIME 8

FIG 1.5 HARDWARE ABSTRACTION LAYER 8

FIG 1.6 LINUX KERNAL 9

FIG 1.7 ANDROID VERSIONS 9

FIG 3.1 USE CASE DIAGRAM OF APPLICATION 13

FIG 3.2 SPLASH SCREEN 14

FIG 3.3 LOCK SCREEN CHOICE INTERFACE 15

FIG 3.4 LOCK METHODS 16

FIG 3.5 PIN LOCK METHOD SETUP 17

FIG 3.6 PIN UNLOCK SCREEN 18

FIG 3.7 CHOSSING Q/A METHOD 19

FIG 3.8 Q/A LOCK METHOD SETUP 20

FIG 3.9 Q/A UNLOCK SCREEN 21

FIG 3.10 CHOOSING SMS METHOD 22

FIG 3.11 SMS LOCK METHOD SETUP 23

FIG 3.12 SMS UNLOCK SCREEN 24

Lock Screen

8

1. INTRODUCTION

1.1 HISTORY

Android, Inc. was founded in October 2003 California by the efforts of Andy Rubin who was

co-founder of Danger, Rich Miner who was co-founder of Wildfire Communications, Inc.,

Nick Sears was once VP at T-Mobile, and Chris White which headed design & interface

development of WebTV.

The motive of the company was to develop an advanced operating system which can be used

digital cameras, but when they realised that the market required for that was not large enough

to capture, and they diverted their efforts in producing the operating system which to rival

Symbian and others.

Despite the founders past accomplishments, Android Inc. secretly operated, revealing it was

working on mobile phones software. Google buys out Android Inc. on 17 August 2005.

Android Inc. key employees- Rubin Miner and White stayed in the company after the google

acquisition.

Many assumed that android Inc. at that time was planned to enter the market of mobile phone.

At Android team led by Rubin developed Linux kernel powered mobile phone operating

system.

Google demonstrated the operating system to handset makers and carriers with the vision of

providing a flexible & upgradable system. The Google has taken a series of h/w component

and s/w partners and signalled to carriers that they are open up more co-operation.

On 5 November 2007 Android’s powered mobile device platform built on the Linux kernel

version 2.6.25 is launched. HTC Dream was first commercially available android powered

Smartphone released on October 22, 2008.

In 2010 Google launched series of devices named-Nexus

Lock Screen

9

1.2 ARCHITECTURE OF ANDROID SYSTEM

FIG 1.1 APPLICATION

FIG 1.2 APPLICATION FRAMEWORK

FIG 1.3 LIBRARIES

FIG 1.4 ANDROID RUNTIME

FIG 1.5 HARDWARE ABSTRACTION LAYER

Lock Screen

10

FIG 1.6 LINUX KERNAL

FIG 1.7 ANDROID VERSIONS

1.3 GOAL OF PROPOSED SYSTEM

The primary goal of the project is to design, develop and test an Android Application “Lock

Screen”. The proposed system is to enables people to stop the unauthorized use of their android

powered smart-phone. The aim of the project was to make user favourable method for the

security of their android powered Smart-phone.

Our goals in developing the proposed Android Application are:

Accuracy: The level of accuracy in the proposed system will be higher. All operation would be

done correctly and it ensures that whatever information is coming from the centre is accurate.

Access: The Lock Screen has a specially designed interface that will let you do operation easily

& effectively.

Lock Screen

11

Immediate retrieval of information: The main objective of proposed system is to provide for a

quick and efficient retrieval of information.

Easy to Operate: The system should be easy to operate and should be such that it can be

developed within a short period of time and fit in the limited budget of the user.

1.4 SCOPE

Big, easy to use Lock screen Interface.

Full access to all of your Lock method.

Big friendly button, great for quickly getting some operation going.

Large text, brilliant for lock in a rush.

Locking with just a touch on the screen.

Lock orientation.

Ability to lock screen easily without hurting screen lock button.

Easy to access options with just a touch on the screen.

Shiny, reflective, catchy app screen.

Horizontal mode orientation.

Provide Security to your Android Smart-Phone.

Use low battery in running since it is not using most of services.

1.5 SOFTWARE USED

1.5.1 ECLIPSE

IBM VisualAge is the initial codebase. For java developers the eclipse SDK which includes

the java development tools is really meant a lot.

Users can enhance their eclipse platform for developing in different programming language by

simply installing plug-ins in eclipse & they can also make their own plug-ins which can used

Lock Screen

12

in the eclipse SDK. Eclipse SDK is open source software although it is not compatible with

GNU General Public License. It is one who run under GNU Classpath & can be easily run

without in IcedTea.

Plug-ins which are installed in the eclipse provide more functionality to the developers with in

& on top of the runtime system vs some others whose functionality is hard coded.

Eclipse runtime system is on Equinox, which is an implementation of OSGi Framework

specification.

In Eclipse everything is a plug-in with the exception of small run time kernel which also mean

that every plug-in are integrates exactly same ways as other plug-in which is said to be created

equally in terms of the features.

Eclipse SDK offers a java developers with built in java compilers with a full java source files.

This allows advanced code analysis

1.6 TOOLS USED

1.6.1 ANDROID SDK

The android software development kit consist of many packages. It is extensively used for

development of android application. The SDK get linked with the eclipse & provide the whole

integrated development environment for the application development which will run on the

android operating system powered smartphone.

Software development kit consist of debugger, libraries, documentation, sample code,

tutorials, emulator which run similar like a handset devices & it has some default handset

devices profiles.

Lock Screen

13

2. SOFTWARE AND HARDWARE SPECIFICATION

2.1 SOFTWARE USED

S/W Tool: Eclipse Juno

Operating System: Windows 7 (x86 & x64)

Platform: Android SDK

2.2 HARDWARE REQUIREMENTS

Android Operating System (2.3.3 – 4.4.4)

256 MB RAM minimum

Lock Screen

14

3. PROJECT DESIGN AND IMPLEMENTATION

3.1 USE CASE OF ANDROID APPLICATION

FIG 3.1 USE CASE DIAGRAM OF THE APPLICATION

Splash Screen

Choice Screen

Use Previous Create New

PIN Unlock

Q/A Unlock

SMS Unlock

PIN Setup

Q/A Setup

SMS Setup

Home Screen

Lock Screen

15

3.2 SCREENSHOTS OF ANDROID APPLICATION

FIG 3.2 SPLASH SCREEN

Lock Screen

16

FIG 3.3 LOCK SCREEN CHOICE INTERFACE

Lock Screen

17

FIG 3.4 LOCK METHODS

Lock Screen

18

FIG 3.5 PIN LOCK METHOD SETUP

Lock Screen

19

FIG 3.6 PIN UNLOCK SCREEN

Lock Screen

20

FIG 3.7 CHOSSING Q/A METHOD

Lock Screen

21

FIG 3.8 Q/A LOCK METHOD SETUP

Lock Screen

22

FIG 3.9 Q/A UNLOCK SCREEN

Lock Screen

23

FIG 3.10 CHOOSING SMS METHOD

Lock Screen

24

FIG 3.11 SMS LOCK METHOD SETUP

Lock Screen

25

FIG 3.12 SMS UNLOCK SCREEN

Lock Screen

26

4. TEST CASES

Manual testing was chosen as the method for testing. The randomness of the test cases is one

of the characteristic of manual testing.

Ref No. Test Data

Expected

Outcome

Final Result

1. Install the Android

Application on the

Android Operating

System (2.3.3 –

4.4.4)

Application is

installed on the

Android Device

Successfully

Pass

2. Start the Application

by clicking its icon

Application is

started

Pass

3. Splash Screen Of the

Application

Splash Screen is

coming after the

starting of

Application

Pass

4. Coming of Lock

Screen after the

Splash Screen

Intent has been

successfully working

Pass

5. Opening of Lock

Screen choice

Screen

Intent has been

successfully working

Pass

6. Selecting Create

new password by

pressing create new

Choose one method

screen comes

Pass

7. Selecting PIN

Method

PIN Method set up

comes

Pass

8. Selecting Q/A

Method

Q/A Method set up

comes

Pass

Lock Screen

27

9. Selecting SMS

Method

SMS Method set up

comes

Pass

10. Enter two different

password in PIN

setup

System say Incorrect

password

Pass

11. Enter two different

password in Q/A

setup

System say Incorrect

password

Pass

12. Enter two different

password in SMS

setup

System say Incorrect

password

Pass

13. Enter two same

password in PIN

setup

Enter password to

unlock the screen

comes

Pass

13. Enter two same

password in Q/A

setup

Enter password to

unlock the screen

comes

Pass

14. Enter two same

password in SMS

setup

Enter password to

unlock the screen

comes

Pass

15. Enter wrong

password in PIN

Unlock Screen

System say Incorrect

password

Pass

16. Enter wrong

password in Q/A

Unlock Screen

System say Incorrect

password

Pass

17. Enter wrong

password in SMS

Unlock Screen

System say Incorrect

password

Pass

18. Enter Right

password in PIN

Unlock Screen

Main Home Screen

Comes

Pass

Lock Screen

28

19. Enter Right

password in PIN

Unlock Screen

Main Home Screen

Comes

Pass

20. Enter Right

password in PIN

Unlock Screen

Main Home Screen

Comes

Pass

Lock Screen

29

5. RESULTS

In the course of developing this project we have achieved the following milestones-

• Lock Screen Application has been successfully created.

• The user version of the software has been brought into focus. The first prototype model are

now functional and cater to different types of people

• It is an android based application, it is easily accessible to any version from 2.3.3 – 4.4.4. This

justifies its ease of use.

• The Application provide needed Security to the android powered Smart-Phone

• Lock Screen Application provide three methods to lock the Screen.

• PIN Method use numeric password which is created by the user only.

• SMS Method send password to mobile number which user has submitted in the application.

• Q/A Method will ask user that question only which user provided in the set-up interface.

Lock Screen

30

6. CONCLUSION

The project titled Lock Screen is an android based application. The aim of the project was to

make your android powered smart-phone secure

The project has been completed successfully which covering the maximum requirement given

by Industry Mentor. The constraints has been met and overcome with success. The system is

designed as like it was decided earlier in design phase. The project gives good idea on

developing a user-friendly application which satisfying different user.

The system is made flexible and versatile. This application has a user-friendly screen that

enables the user to use the lock screen application without any inconvenience. Validation

checks induced have greatly reduced errors in the lock screen application. Provisions have been

made to upgrade the lock screen application. The application has been tested with live user and

has provided a successful result. Hence the application has proved to work efficiently.

The system created met its objectives, by being simple to use, will be easy to download from

app store. This software is developed with scalability in mind. Additional modules can be easily

added when necessary. However there is still a lot of scope for future improvement and add on

in functionality. Some of the major ones being developing for other mobile operating system

like windows, etc.

Lock Screen

31

7. FUTURE PROSPECTS

The Future Prospects are as follows:

Applications in Android platform are growing at unimaginably high pace. Android has rapidly

become the fastest-growing mobile OS with largest installed base. Every day more than

900,000 new Android devices are activated worldwide. Android’s openness has made it a

favourite for consumers and developers alike, driving strong growth in app consumption.

Android users download more than 1 billion apps and games from Google Play each month.

With its partners, Android is continuously pushing the boundaries of hardware and software

forward to bring new capabilities to users and developers. For developers, Android innovation

lets us build powerful, differentiated applications that use the latest mobile technologies.

Google Play is the premier marketplace for distributing Android apps

I propose to continue my development activities in Android, Java to be part of the ongoing

Innovations happening in the Industry.

I also would seek to found a company to slowly build on Android development leveraging

Google App Engine.

I hope to work under the guidance and facilitation of the Amity faculty to interact with the

Industry (both Developer community and Hardware manufacturers) for enabling me to

undertake live projects as per requirements of the Industry.

Lock Screen

32

8. REFERENCES

[1] Getting Started with Android referred from developer.android.com/.

[2] J. F. DiMarzio, “Android - A Programmer's Guide 1st Edition”, 2010, Tata McGraw -

Hill Education ISBN 9780071070591.

[3] Ed Burnette, “Hello, Android: Introducing Google's Mobile Development Platform 3rd

Edition”, 2011, Pragamatic publications.

[4] Reto Meier, “Professional Android 4 Application Development”, 2012, Wiley India.

[5] Referred the book written by Roger Pressman, titled Software Engineering - a

practitioner's approach.

[6] Gerhard Fischer, "The Software Technology of the 21st Century: From Software Reuse

to Collaborative Software Design"

[7] K.K.Aggarwal & Yogesh Singh, “Software Engineering”, 2013, New Age International

Publication.

Lock Screen

33

9. PLAGIARISM REPORT