12

6

Click here to load reader

Transcript of 12

Page 1: 12

A MAJOR PROJECT SYNOPSIS

ON

WI-FI CHAT ROOM

IN ANDROID

Submitted By

Shitanshu Bansal (09563)

Rajat Tiwari (09535)

Muneesh (09537)

Pankaj Jaldeep (09544)

Under the guidance of

Dr. Narottam Chand

Department of Computer Science and Engineering

National Institute of Technology, Hamirpur (H.P.)

November, 2012

Page 2: 12

Page 1

ABSTRACT

The term chat room is primarily used by mass media to describe any form of

synchronous conferencing, occasionally even asynchronous conferencing. Often mobile

users want to have a meeting, even though it is not planned in advance and there is no

Internet connection available. In those situations, requiring each user to connect to a

wide-area network to communicate with each other may not be convenient or practical

because of the lack of Internet connectivity. In those situations the “Wi-Fi Chat Room”

would help the employees to send and receive the information which the employees want

to share. This application is based on “Android Operating system”. The main objective of

this project is to connect different people that are in the range of a same Wi-Fi access

point. This application is developed in the Java programming language using the Android

Software Development Kit (SDK). The development platform or integrated development

environment (IDE) is Eclipse using the Android Development Tools (ADT) Plugin.

We have developed an application where user does not need any web

browser to chat with other user. It has its own user interface. The user can connect to any

available Access Point for chat with another user connected with same access point.

Tethering & portable hotspot utility available on android can also be used for creating an

access point. User Datagram Protocol (UDP) is used for sending the packets across the

network.

Page 3: 12

Page 2

INTRODUCTION

With the availability of mobile computing devices, mobile users have a natural tendency

to share information between them. Often mobile users want to have a meeting, even

though it is not planned in advance and there is no Internet connection available. For

instance, there may be situations that employees find themselves together in a meeting

room, or friends or business acquaintances may encounter each other in an airport

terminal, or some scholars and researchers may meet in a hotel ballroom for a conference

or workshop. In those situations, requiring each user to connect to a wide-area network to

communicate with each other may not be convenient or practical because of the lack of

Internet connectivity or because of the time or cost required for such a connection.

So, in those situations the “Wi-Fi Chat Room” would help the employees to send

and receive the information whit the employees want to share. This application will be

based on “Android Operating system”. The chat messages sent are of two types:-

1. Public Chat Messages

2. Private chat Messages

Public messages are delivered to all other chat clients nearby, while private

messages are directed to a specific recipient. As in most chat applications, there is no

history and clients do not expect to receive messages sent earlier or when disconnected.

Disconnection can occur at any time while clients are exchanging messages.

Page 4: 12

Page 3

OBJECTIVES

The main objective of this project is to connect different people that are in the range of

same Wi-Fi access point. This will be completely free and no external source of internet

will be needed. The chat will be public, means messages will be broadcasted to every

user that is connected.

ANDROID EMULATOR

Page 5: 12

Page 4

THREE USERS IN CHAT ROOM

REFERENCES

[1] http://developer.android.com/guide/topics/fundamentals.html/: OL. Google

Android Developers, Android Develop Guide.

[2] M. Fengsheng Yang, Android Application Development Revelation, China

Machine Press, 2010.

[3] Mark L. Murphy, Beginning Android, Springer-Verlag New York, Inc., 2010.

[4] http://developer.android.com/guide/components/index.html/: Android

Components.

Page 6: 12

Page 5

[5] http://vidhatha.com/android-projects/: Project Overview

[6] http://developer.android.com/reference/java/net/DatagramPacket.html: Datagram

Packet Class

[7] http://developer.android.com/reference/java/net/InetAddress.html: InetAddress

Class

[8] http://developer.android.com/reference/android/app/NotificationManager.html:

NotificationManager Class

[9] http://developer.android.com/reference/java/net/DatagramSocket.html: Datagram

Socket Class

[10] http://developer.android.com/reference/android/net/wifi/WifiManager.html: Wi-Fi

Manager Class

[11] http://developer.android.com/reference/android/net/wifi/WifiInfo.html: Wi-FiInfo

Class

[12] D. Muthukumaran et al., Measuring Integrity on Mobile Phone Systems, Proc.

13th ACM Symp. Access Control Models and Technologies, ACM Press, 2008,

pp. 155–164.

[13] Fiawoo, S.Y., Design and development of an Android application to process and

display summarized corporate data, Adaptive Science & Technology (ICAST),

2012 IEEE 4th International Conference, 25-27 Oct. 2012, pp. 86 – 91.