An Internet Download Manager for Mobile Phones

Embed Size (px)

Citation preview

  • 8/6/2019 An Internet Download Manager for Mobile Phones

    1/22

  • 8/6/2019 An Internet Download Manager for Mobile Phones

    2/22

    Introduction

    This project is to develop a mobile application named as

    ...An Internet Download Manager which as the name says

    download files from the internet and keep track on URLs.

    Use HTTP Protocol to download files.

    Supports to all the mobile phone users who are

    ...downloading data from the internet.

    People moving on to special devices like PDA and java

    ...enables mobile phones.

    An Internet Download Manager for Mobile Phones

  • 8/6/2019 An Internet Download Manager for Mobile Phones

    3/22

    Problem Description

    The Objectives of doing this project is to,

    Management of the downloaded files.

    Download files anywhere at any time.

    An Internet Download Manager for Mobile Phones

  • 8/6/2019 An Internet Download Manager for Mobile Phones

    4/22

    Functionalities of the System

    Download Documents, Images, Audio, Video files.

    Supports different file formats for download.

    Download multiple files simultaneously.

    Manages downloaded URLs (Download History).

    Run downloaded files.(Inbuilt player).

    Delete all download files and URLs.

    An Internet Download Manager for Mobile Phones

  • 8/6/2019 An Internet Download Manager for Mobile Phones

    5/22

    Secondary Research

    HTTP headers.

    HTTP request headers.

    HTTP response headers.

    Content type formatting.

    Data Handling Techniques.

    An Internet Download Manager for Mobile Phones

  • 8/6/2019 An Internet Download Manager for Mobile Phones

    6/22

    HTTP headers

    HTTP is called a stateless/Connectionless protocol because

    ...each ..command is executed independently.

    The Application needs to understand the web host server

    ....before retrieving ...the file.

    The application (Client) requests files from the server then it

    ...generates http request and http response from the both client

    ...and server ends.

    An Internet Download Manager for Mobile Phones

  • 8/6/2019 An Internet Download Manager for Mobile Phones

    7/22

    HTTP request headers

    An Internet Download Manager for Mobile Phones

    Method type : GET /tharangasp/112.txt HTTP/1.1

    Host Name: geocities.com

    User-Agent: (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Firefox/3.0.5

    Accept: text/html,application/xhtml+xml,application

    Accept-Language: en-us,en;q=0.5

    Accept-Encoding: gzip,deflate

    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7

    Keep-Alive: 300

    Connection: keep-alive

  • 8/6/2019 An Internet Download Manager for Mobile Phones

    8/22

    HTTP response headers

    An Internet Download Manager for Mobile Phones

    HTTP/1.x 200 OK

    Date:Mon, 26 Jan 2009 17:44:55 GMT

    Last-Modified: Fri, 21 Nov 2008 05:20:37 GMT

    Accept-Ranges: bytes

    Cache-Control: private

    Connection: close

    Transfer-Encoding: chunked

    Content-Type: text/plain

    Content-Encoding: gzip

  • 8/6/2019 An Internet Download Manager for Mobile Phones

    9/22

    Content type formatting

    An Internet Download Manager for Mobile Phones

    GZIP, X-ZIP Encoding..

    HTTP headers that can be utilized to improve the speed of

    request-response cycle.

    The header tells the web server is that the requesting client is

    ...capable of receiving response in the encoding format as specified

    ...in the list.

  • 8/6/2019 An Internet Download Manager for Mobile Phones

    10/22

    Data Handling Techniques

    An Internet Download Manager for Mobile Phones

    Record management system (RMS)..

    RMS approaches records as collection of data is regarded as a

    ..Record Store.

    This record store has a collection of data which remains even after

    .. exit in theMIDlet.

    This persistent storage mechanism can be viewed as a simple ..

    ...record-oriented database model.

  • 8/6/2019 An Internet Download Manager for Mobile Phones

    11/22

    Design: High-level Use case diagram

    An Internet Download Manager for Mobile Phones

  • 8/6/2019 An Internet Download Manager for Mobile Phones

    12/22

    Design:- Class Diagram

    Attribute Diagram Class DiagramAn Internet Download Manager for Mobile Phones

  • 8/6/2019 An Internet Download Manager for Mobile Phones

    13/22

    Implementation

    An Internet Download Manager for Mobile Phones

    Packages used

    javax.microedition.io.HttpConnection.

    javax.microedition.io.Connector.

    java.io.InputStream.

    javax.microedition.media.Manager.

    javax.microedition.rms.RecordStore.

  • 8/6/2019 An Internet Download Manager for Mobile Phones

    14/22

    Success Criteria

    An Internet Download Manager for Mobile Phones

    Implemented the system to establish the connection between

    client and the server.

    Able to download document, Image, Audio, Videos.

    Support different file formats.

    Implemented the application to downloadMultiple files

    simultaneously.Able to run Downloaded files.

    Able to generate the download history.

  • 8/6/2019 An Internet Download Manager for Mobile Phones

    15/22

    Implementation Issues Faced

    An Internet Download Manager for Mobile Phones

    Download different types of file formats (Supports .Txt, Jpeg,

    GIF, Png,Mpg ,wav).

    Download multiple files simultaneously (Max 5 URLs at a time).

    View downloaded files.

    Handling record store exceptions (when using byte arrays).

  • 8/6/2019 An Internet Download Manager for Mobile Phones

    16/22

    Testing

    001

    2002

    2003

    An Internet Download Manager for Mobile Phones

    Unit Testing

    It was properly tested and evaluated every component is

    working properly approximately 100%.

  • 8/6/2019 An Internet Download Manager for Mobile Phones

    17/22

    Limitations

    Download maximum offive URLs.

    Application doesnt support to download large files.

    Application runs only java enabled mobile phones.

    An Internet Download Manager for Mobile Phones

  • 8/6/2019 An Internet Download Manager for Mobile Phones

    18/22

    Future Enhancements

    An Internet Download Manager for Mobile Phones

    Make the compatibility with mobile browsers.

    Schedule downloads.

    Accelerate the downloads

    Integrate Ftp client.

  • 8/6/2019 An Internet Download Manager for Mobile Phones

    19/22

    Conclusion

    An Internet Download Manager for Mobile Phones

    System suits well in java enabled mobile phones.

    Downloading facilities successfully implemented.

    All the core system functionalities identified

    All the functions are working 100%.

  • 8/6/2019 An Internet Download Manager for Mobile Phones

    20/22

    System Demonstration

    An Internet Download Manager for Mobile Phones

  • 8/6/2019 An Internet Download Manager for Mobile Phones

    21/22

    Q & A

    An Internet Download Manager for Mobile Phones

  • 8/6/2019 An Internet Download Manager for Mobile Phones

    22/22