Cell Phone Remote Control PC Through Bluetooth

Embed Size (px)

Citation preview

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    1/43

    Blue Mouse

    Index

    Introduction.

    Objective and Scope of the system.

    Software and Hardware requirements.

    Feasibility Study. Analysis of the system.

    Data Flow Diagram, Use Case Diagram, Activity

    Diagram.

    Software Engineering paradigm.

    System Design.

    Source code.

    Software testing.

    Screen Layout.

    Report Layout.

    Limitation and Future Enhancement.

    Bibliography.

    Gogte College of CommerceBachelor of Computer Application 1

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    2/43

    Blue Mouse

    INTRODUCTION

    Gogte College of CommerceBachelor of Computer Application 2

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    3/43

    Blue Mouse

    Gogte College of CommerceBachelor of Computer Application 3

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    4/43

    Blue Mouse

    Introduction

    In the post-PC era, the market for network-

    connected devices continues to grow at an

    enormous rate. While new classes of devices like

    smart cellular telephones, pagers, and PDAsproliferate, traditional consumer electronics

    including televisions, VCRs, CD players, and game

    machines are also becoming smarter and gaining

    new capabilities. Whether these devices are new

    or just more powerful versions of existing

    products, all are becoming increasingly

    interconnected across a network.

    Today there is a strong need for solutions

    which can make finest use of consumer electronic

    devices like cellular phones and pack the power of

    computer in it. May it be a large enterprise or a

    huge network, user today wants the power to

    manage then through his cellular phone or PDA.

    Gogte College of CommerceBachelor of Computer Application 4

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    5/43

    Blue Mouse

    Every human has a cell phone so why not

    use it for variety of other purposes apart from

    making calls.

    We propose to use the cell phone as

    remote control for a PC or laptop using Bluetooth

    where the user can easily do common tasks from

    his cell phone such as control slides of slideshow

    or control the volume of media player restart or

    shutdown the computer etc.

    The solution for the above problem will

    be incorporating a Mobile application wherein

    through your cellular phone you will be able to

    communicate with the computer executes the

    applications in it.

    The above said solution can be achieved

    by using J2ME on the cellular phone, which will

    send instructions to the software running on the

    Gogte College of CommerceBachelor of Computer Application 5

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    6/43

    Blue Mouse

    PC via Bluetooth and that software will complete

    the requested task.

    OBJECTIVE AND

    SCOPE OF THESYSTEM

    Gogte College of CommerceBachelor of Computer Application 6

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    7/43

    Blue Mouse

    Objectives:

    It gives user an option to use his cell phone as mouse. It gives an impression to user that he is operating the

    computer with remote controller embedded in his cell phone

    itself.

    The remote controller works with the Bluetooth

    technology.

    Scope of the system:

    Gogte College of CommerceBachelor of Computer Application 7

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    8/43

    Blue Mouse

    Cell phone can be used as remote controller.

    Since it is working with the help of Bluetooth

    technology, the user may roam around and operate the

    computer within the Bluetooth range.

    SOFTWARE

    ANDHARDWARE

    Gogte College of CommerceBachelor of Computer Application 8

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    9/43

    Blue Mouse

    REQUIREMENTS

    Software Requirements

    Java Development Kit 1.6.0 (JDK1.6.0)

    J2ME SDK 3.0

    Connected Limited Device Configuration (CLDC)

    Mobile Information Device Profile (MIDP)

    Hardware Requirements

    Gogte College of CommerceBachelor of Computer Application 9

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    10/43

    Blue Mouse

    Min Intel Celeron 600 Processor

    Min 64 MB RAM

    Java Enabled cell phone with Bluetooth

    Languages

    Java 2 Micro Edition (J2ME)

    Java 2 Standard Edition (J2SE)

    Gogte College of CommerceBachelor of Computer Application 10

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    11/43

    Blue Mouse

    FEASIBILITY STUDY

    Feasibility Study

    A feasibility study is conducted to selectthe best system that meets performance requirements.

    This entails an identification description, an evaluation

    of candidate system, and selection of the best systemfor the job.

    Technical Feasibility:

    Gogte College of CommerceBachelor of Computer Application 11

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    12/43

    Blue Mouse

    Required hardware & software tools are easilyavailable.

    No additional hardware is required.

    System is protected with unauthorized access.

    Behavioral Feasibility:

    Very user friendly

    Improved performance

    Time saving

    Economical Feasibility:

    Low cost.

    Time Saving.

    Gogte College of CommerceBachelor of Computer Application 12

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    13/43

    Blue Mouse

    Operational Feasibility:

    User friendly

    No technical training required.

    Unaffected by physical position of system.

    Gogte College of CommerceBachelor of Computer Application 13

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    14/43

    Blue Mouse

    ANALYSIS OF THESYSTEM

    Existing system

    Gogte College of CommerceBachelor of Computer Application 14

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    15/43

    Blue Mouse

    Existing system here would mean a

    computer system with mouse and keyboard attached to

    it. We can operate or control a computer system with

    the help of a mouse and a keyboard. If we want to

    operate computer system then we have to stay near

    computer only. Many times it happens that we want to

    change a slide in a power point presentation or an

    audio record in a media player then we have to move

    near computer system every time.

    Disadvantages:

    1. The system can not be operated from long distance.

    2. Person/operator has to stay near computer system.

    Proposed system

    Gogte College of CommerceBachelor of Computer Application 15

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    16/43

    Blue Mouse

    Today there is a strong need for solutions

    for which can make finest use of consumer electronic

    device like cell phones and pack the power of computer

    in it.

    Now a day everyone has cell phones. So why

    not we use it for verity of other purposes apart from

    making calls.

    We propose to use the cell phone as remote control for

    a pc using Bluetooth, where the user can easily do

    common tasks like changing slides opening new folders

    shut down computers and etc.

    The solution for the disadvantages of existing

    system is incorporating a mobile application wherein

    through cell phone one will be able to control and

    execute applications in it.The solution can be achieved by using J2ME on

    the cell phone, which will send instruction to the

    software running on the pc via Bluetooth and that

    software will complete the request.

    Advantages:

    1. We can operate computer from long distances (within

    the Bluetooth range).

    2. An interface on the cell phone helps for giving proper

    commands.

    Gogte College of CommerceBachelor of Computer Application 16

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    17/43

    Blue Mouse

    3. Person need not stay in front of computer to operate it

    all the time.

    DATA FLOWDIAGRAMS, USE

    CASE DIAGRAM,ACTIVITY DIAGRAM

    Gogte College of CommerceBachelor of Computer Application 17

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    18/43

    Blue Mouse

    DFD for Existing System:

    Context level DFD:

    Top level DFD:

    Gogte College of CommerceBachelor of Computer Application 18

    User UserComputer SystemRequest Request

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    19/43

    Blue Mouse

    DFD for Proposed System:

    Context level DFD:

    Top level DFD:

    Id & password storage

    Gogte College of CommerceBachelor of Computer Application 19

    User Request

    Operation

    Identify operation

    OperationRequest

    Operation

    completion

    Operation

    command

    Acknowledgement

    User UserComputer systemRequest Request

    Re uest

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    20/43

    Blue Mouse

    Detailed level DFD For Opening MyComputer:

    Id & password storage

    Gogte College of CommerceBachelor of Computer Application 20

    USER Login

    Process

    Pc & phone

    connection

    Connection

    requestLogin request

    Communicationrequest

    Request operation

    Process

    Operation request

    Open MyComputer

    Operation request

    Select a drive

    Operationcompletion Process

    OperationCommand

    Acknowledgment

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    21/43

    Blue Mouse

    Use Case Diagram

    Gogte College of CommerceBachelor of Computer Application 21

    USER Login

    Process

    Pc & phone

    connection

    Connection

    requestLogin request

    Communication

    request

    Request operation

    Process

    Operation request

    OpenMyComputer

    Open D drive

    Operationcompletion Process

    OperationCommand

    Acknowledgment

    Creating new

    Folder process

    Drive open

    request

    Option selectionProcess

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    22/43

    Blue Mouse

    Gogte College of CommerceBachelor of Computer Application 22

    Remote Controller System.

    Connection

    establishment

    Select folder

    Command

    Exit

    My computerComputer

    System

    Mobileee

    Save Changes

    Extends

    Extends

    User

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    23/43

    Blue Mouse

    Gogte College of CommerceBachelor of Computer Application 23

    Establish connection

    Authentication

    Loginsucce

    s?

    My computer My applications Start menu Help

    Register

    Opendirectories &

    files

    Create files or

    folders & save

    Close

    Run media

    player

    Play

    Close

    Openprograms or

    documents

    Open a

    document

    Save

    document

    Close

    Provide online

    help

    Do youwant to

    continue?Release connection

    Turn off computer

    Failed

    success

    YesNo

    Activity Diagram:

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    24/43

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    25/43

    Blue Mouse

    Software Engineering ParadigmApplied

    Software Engineering Paradigm can be

    considered as a set of methods, tools and procedures

    that it is used to develop software. A method out lines

    ways of planning a software project, analyzing userrequirements, designing a system, coding it, testing it,

    etc. It also outlines certain diagrams and notations that

    we can use to depict our system-in other words it

    provides the technical how to answers, to actually

    build the software. A tool provides automated or semi

    automated support to implement a method. Procedure

    tells us the sequence in which the software developer

    tasks have to be performed, how quality has to be

    enforced.

    The various engineering paradigms are as follows:

    Water Fall Model

    Evolutionary Model

    Formal System Development

    Gogte College of CommerceBachelor of Computer Application 25

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    26/43

    Blue Mouse

    Spiral Model

    Incremental Model

    Water Fall Model

    Water Fall Model is useful when a system to

    be developed is highly structured means when there is

    a clear procedure to solve the problem this model can

    be used.

    This takes the fundamental process activities of

    specification, validation and evolution and represents

    them as separate process phases such as requirements

    specification, software design, implementation, testing

    and so on.

    The principle stages in Water Fall Model are,

    Requirements analysis and definition: The

    systems services, constraints and goals are establishedby consultation with system users. They are then

    defined in the detail and serve as a system

    specification.

    Gogte College of CommerceBachelor of Computer Application 26

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    27/43

    Blue Mouse

    System and Software design: The system design

    process partitioned the requirements to either

    hardware or software system. It establishes overall

    system architecture. Software design involves

    identifying and describing the fundamental software

    system abstraction and their relationship.

    Implementation and unit testing: During this stage,

    the software design is realized as a set of programs or

    program unit. Unit testing involves verifying that each

    unit meets its specification.

    Integration and System Testing: The individual

    program units and program are integrated and tested

    as a complete system to ensure that the softwarerequirements have been met. After testing, the

    software system is delivered to the customer.

    Gogte College of CommerceBachelor of Computer Application 27

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    28/43

    Blue Mouse

    Operation and Maintenance: Normally this is the

    longest life-cycle phase. The system is installed and put

    into particular use. Maintenance involves correcting

    errors which were not discovered in earlier stages of life

    cycle, improving the implementation of system unit and

    enhancing the systems service as a new requirement

    are discovered.

    The Software Life-Cycle

    Gogte College of CommerceBachelor of Computer Application 28

    Requirements

    Definition

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    29/43

    Blue Mouse

    Gogte College of CommerceBachelor of Computer Application 29

    System and

    Software Design

    Implementation

    and Unit Testing

    Integration and

    System

    Operation andMaintenance

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    30/43

    Blue Mouse

    SYSTEM DESIGN

    Gogte College of CommerceBachelor of Computer Application 30

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    31/43

    Blue Mouse

    SOURCE CODE

    Gogte College of CommerceBachelor of Computer Application 31

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    32/43

    Blue Mouse

    SOFTWARETESTING

    SOFTWARE TESTING

    Testing:

    Testing is the process of testing the code or

    the system to remove the bugs if parents. The bugs

    Gogte College of CommerceBachelor of Computer Application 32

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    33/43

    Blue Mouse

    may be the program errors, exceptions in case of white

    box testing, low response time in case of load testing.

    Testing is not ysed to check the program logic, it only

    checks the bugs if present.

    Testing can be categorized into many types

    depending upon the needs of the system.

    Unit, black box, integration, functional,

    system, end-to-end, smoke regression, load, stress,

    performance, usability, adhoc, exploratory, user

    acceptance, alpha, beta, comparison, mutation.

    Out of these many kinds of testing strategies

    we tested our system using the following test

    strategies:

    Unit Testing - This is done to test the code.

    White Box Testing - This is done to test the code.

    Black Box Testing - This is done to check the

    functionality.

    Integration Testing - This is done to check theclient-server

    connectivity.

    Gogte College of CommerceBachelor of Computer Application 33

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    34/43

    Blue Mouse

    Validation:

    The comparison between the actual characteristics

    of something(e.g. a product of a software project and the

    expected characteristics). Validation is checking that you

    have built the right system. This is done after completing the

    coding.

    Data validation means range of value that main

    world attribute can take if user enters more or less this

    value; he will be warned and asked for re-entry. The data

    validation is been done for many attributes.

    Verification:

    The user should Log-in to valid User name and

    Password.

    The user must specify the respective server name while

    Logging.

    Group name should not contain spaces.

    Gogte College of CommerceBachelor of Computer Application 34

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    35/43

    Blue Mouse

    New user should be authenticated before joining any

    group.

    Unit Testing:

    During the implementation of the system,

    each module was tested separately to uncover error

    within its boundaries. Detailed design description were

    used as a guide in this project. Each unit is tested

    separately using dummy data.

    White Box Testing:

    White box testing is based on

    knowledge of the

    internal logic of an applications code. Test are based

    on coverage of code statements, branches, paths,

    conditions.

    Independent Path Test:

    Gogte College of CommerceBachelor of Computer Application 35

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    36/43

    Blue Mouse

    All independent paths through the

    module were executed to assure that they behave

    desirably.

    Black Box Testing:

    Black box testing is not based on any

    knowledge of internal design or code. Tests are

    based on requirements and functionality.

    Interface Test:

    This test was carried out to assure

    that the information properly flows out of the

    program units.

    Integration Testing:

    Testing of combined parts of an

    application to determine if they function together

    correctly. The parts can be code modules, individual

    applications, client and relevant to client/server and

    distributed systems.

    Gogte College of CommerceBachelor of Computer Application 36

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    37/43

    Blue Mouse

    All the units were integrated and

    test was carried out to ensure that no flow existed in

    the system. Test was successful of the proposed

    system.

    Gogte College of CommerceBachelor of Computer Application 37

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    38/43

    Blue Mouse

    SCREENLAYOUT

    Gogte College of CommerceBachelor of Computer Application 38

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    39/43

    Blue Mouse

    REPORT LAYOUT

    Gogte College of CommerceBachelor of Computer Application 39

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    40/43

    Blue Mouse

    LIMITATIONSAND

    FUTUREENHANCEMENT

    Limitations and futureEnhancement.

    Gogte College of CommerceBachelor of Computer Application 40

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    41/43

    Blue Mouse

    Limitations:

    This system is limited by the range ofthe Bluetooth.

    This system does not replace computerscreen completely.

    Future Enhancement:

    The cell phone could be connected with Serverthrough Internet.

    Gogte College of CommerceBachelor of Computer Application 41

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    42/43

    Blue Mouse

    BIBLIOGRAPHY

    Gogte College of CommerceBachelor of Computer Application 42

  • 8/2/2019 Cell Phone Remote Control PC Through Bluetooth

    43/43

    Blue Mouse

    References:

    Websites:http://www.java.sun.com/wirelesshttp://www.java.sun.com/j2mehttp://www.jguru.com/faq/j2mehttp://www.sun.com/developers

    Books:Wireless Java Programming with J2ME by: Yu Feng andDr. Jun Zha.Wireless Java: Developing with J2ME by: JONATHANKNUDSENDeveloping Java Servlets by: James GoodwillCodeNotes for J2EE by: Rob McGovernAdvanced Programming for the Java 2 Platform by:

    Calvin Austin & Monica Pawlan