SlideShare una empresa de Scribd logo
1 de 8
Descargar para leer sin conexión
Multi User Mobile Bluetooth Two Way Text Chat
ABSTRACT:
Bluetooth chatting is an innovative approach to the mobile world. This application
shows use of Bluetooth in terms of chatting. Means persons can chat via Bluetooth.
The main midlet has just a list which has two values server and client. By selecting
one of these two values, the corresponding instance is created. Midlet is used to
initialize the connection. It does following thing at here. First, it starts the application
and search the Bluetooth device. It sends the signal to the server class. Second, it can
run, pause and stop the application. Third, it shows alert using setAlert function on
every changing. Server class goes active when it go signal from the midlet class. It
sends the hello world string with the string to the other devices. Client class works to
respond the other Bluetooth device server.
Bluechat is a bluetooth messaging. Bluechat allows you to see other Bluechat users
around, ping anyone of them, and create either private chat sessions or public
messaging rooms via Bluetooth. This application allows two Android devices to carry
out two-way text chat over Bluetooth. Start the application from the first screen; go to
My Profile and set nickname, age, gender and hobbies. This is an optional step to
provide additional information to other chat buddies. Next, select ‘Look for Friends'
option which attempts to discover other users in the area. Detected user-profiles are
listed as selectable boxes. While a profile is selected, Options menu can be used to
view profile details, initiate a file transfer or to refresh list of detected friends.
EXISTING SYSTEM:
Chatting has largely been a PC-based addiction. But when it comes to chatting
over cell phones, the alternatives are costly like GPRS-based IMs or SMS chat. More
than one user can’t communicate at a time.
DISADVANTAGES OF EXISTING SYSTEM:
One-One chat.
Unable to chat with community
Costly chat and one way chat
PROPOSED SYSTEM:
This is a Bluetooth messaging app you can connect and send messages to other
android devices and see Bluetooth compatible devices around you. No GSM or Wifi
connection required all you need is two Bluetooth compatible android devices in
range of each other and you can text away. To chat with a user, select it from the list
and press ‘Ping' to send a welcome message. The other user may do the same. As the
welcome message is displayed, use right or left soft key to accept or reject the chat
session. Once the session is accepted, the chat starts with colourful text to
differentiate users. In addition to this person-to-person chat, chat rooms can be used
to gather a number of buddies.
ADVANTAGES OF PROPOSED SYSTEM:
• All peers that want to communicate should have Bluechat running.
• It is enough that one peer does the initial "look for friends" operation.
• Everytime a new comer peer does its first "Look for friends" operation, the
operation will reorganize all initial communication and profile sharing stuff.
• Every peer will have an updated list of profiles around automatically and the
profile list will be displayed to warn everyone about the new comer.
• Be aware that if more than one peer do "Look for friends" simultaneously, they
might not be able to see each other (because of Bluetooth running principles)
• Be aware that the set up of the profile list might take up to one minute.
Therefore be patient.
MODULES
• Scanning for other Bluetooth devices
• Querying the local Bluetooth adapter for paired Bluetooth devices
• Establishing RFCOMM channels/sockets
• Connecting to a remote device
• Transferring data over Bluetooth
MODULES DESCRIPTION:
• Scanning for other Bluetooth devices
This application begins searching for devices as soon as it is opened. Options
menu appear only after a successful or unsuccessful search is complete. Other
options are new message alert - vibrate or sound, and refresh rate setting ranging
from 30 seconds to three minutes. Users can manually refresh the list of users as
well. Select a user from the list and use Options.
• Querying the local Bluetooth adapter for paired Bluetooth devices
The BluetoothAdapter is the entry-point for all Bluetooth interaction. Using this,
you can discover other Bluetooth devices, query a list of bonded (paired) devices,
instantiate a BluetoothDevice using a known MAC address, and create a
BluetoothServerSocket to listen for communications from other devices. Use this
to request a connection with a remote device through a BluetoothSocket or query
information about the device such as its name, address, class, and bonding state.
Represents the interface for a Bluetooth socket (similar to a TCP Socket). This is
the connection point that allows an application to exchange data with another
Bluetooth device via InputStream and OutputStream.
• Establishing RFCOMM channels/sockets
In the socket programming model, a socket represents an endpoint of a
communication channel. Sockets are not connected when they are first created,
and are useless until a call to either connect (client application) or accept (server
application) completes successfully. Once a socket is connected, it can be used to
send and receive data until the connection fails due to link error or user
termination.
An RFCOMM BluetoothSocket used to accept incoming connections must be
attached to operating system resources with the bind method. bind takes in a tuple
specifying the address of the local Bluetooth adapter to use and a port number to
listen on. Usually, there is only one local Bluetooth adapter or it doesn't matter
which one to use, so the empty string indicates that any local Bluetooth adapter is
acceptable. Once a socket is bound, a call to listen puts the socket into listening
mode and it is then ready to accept incoming connections.
• Connecting to a remote device
You must request the BLUETOOTH permission in order to perform any
Bluetooth communication, such as requesting a connection, accepting a
connection, and transferring data. Before your application can communicate over
Bluetooth, you need to verify that Bluetooth is supported on the device, and if so,
ensure that it is enabled. you need to ensure that Bluetooth is enabled. A dialog
will appear requesting user permission to enable Bluetooth. Once a connection is
made with a remote device for the first time, a pairing request is automatically
presented to the user. When a device is paired, the basic information about that
device (such as the device name, class, and MAC address) is saved and can be
read using the Bluetooth APIs. Using the known MAC address for a remote
device, a connection can be initiated with it at any time without performing
discovery (assuming the device is within range).
• Transferring data over Bluetooth
Check the manual that came with your cellular phone and read the section on
Bluetooth capabilities to see if your phone has a Bluetooth password. Note down
the password. Power on your cellular phone and access the "Settings" option in
the main menu. Choose the "Bluetooth" option if it is immediately available, or
choose "Connections" and then "Bluetooth." Press the option for "Activate
Bluetooth." Enter in the Bluetooth code that you noted down before if your phone
prompts you for one, or instead enter the standard code of "1111" if you don't
have your manual and aren't sure what the password is. Repeat the process on the
second phone. Navigate to the folder on your phone that holds the file you want to
transfer. Choose the file and then choose the option to "Send." Press the option to
"Send to Phone" and then press the button to send to a connected Bluetooth
phone. Enter in the phone number of the other phone if your cell does not prompt
you to send to an activated Bluetooth phone in range.
SYSTEM REQUIREMENTS:
HARDWARE REQUIREMENTS:
System : Pentium IV 2.4 GHz.
Hard Disk : 40 GB.
Floppy Drive : 1.44 Mb.
Monitor : 15 VGA Colour.
Mouse : Logitech.
Ram : 512 Mb.
SOFTWARE REQUIREMENTS:
Operating system : Windows XP.
Coding Language : Java 1.6
Tool Kit : Android 3.0
IDE : Eclipse

Más contenido relacionado

La actualidad más candente

Setting up a WiFi Network v3
Setting up a WiFi Network v3Setting up a WiFi Network v3
Setting up a WiFi Network v3
Ali Nezhad
 
Tutorial 06 - Real-Time Communication on the Internet
Tutorial 06 - Real-Time Communication on the InternetTutorial 06 - Real-Time Communication on the Internet
Tutorial 06 - Real-Time Communication on the Internet
dpd
 
Machine Problem 1: Let's chat
Machine Problem 1: Let's chatMachine Problem 1: Let's chat
Machine Problem 1: Let's chat
butest
 
Voice over internet protocol (vo ip)
Voice over internet protocol (vo ip)Voice over internet protocol (vo ip)
Voice over internet protocol (vo ip)
Carlos Parra Herrera
 

La actualidad más candente (12)

Setting up a WiFi Network v3
Setting up a WiFi Network v3Setting up a WiFi Network v3
Setting up a WiFi Network v3
 
Arbina project
Arbina projectArbina project
Arbina project
 
Tutorial 06 - Real-Time Communication on the Internet
Tutorial 06 - Real-Time Communication on the InternetTutorial 06 - Real-Time Communication on the Internet
Tutorial 06 - Real-Time Communication on the Internet
 
How to Increase Mobile Registration Conversions
How to Increase Mobile Registration Conversions How to Increase Mobile Registration Conversions
How to Increase Mobile Registration Conversions
 
Machine Problem 1: Let's chat
Machine Problem 1: Let's chatMachine Problem 1: Let's chat
Machine Problem 1: Let's chat
 
Quick start guide
Quick start guideQuick start guide
Quick start guide
 
Voice over internet protocol (vo ip)
Voice over internet protocol (vo ip)Voice over internet protocol (vo ip)
Voice over internet protocol (vo ip)
 
How to know my ip address with iplogger.org
How to know my ip address with iplogger.orgHow to know my ip address with iplogger.org
How to know my ip address with iplogger.org
 
Voice based email system for physically challenged
Voice based email system for physically challengedVoice based email system for physically challenged
Voice based email system for physically challenged
 
IRJET- V-Mail (Voice based E-Mail Application): Review
IRJET-  	  V-Mail (Voice based E-Mail Application): ReviewIRJET-  	  V-Mail (Voice based E-Mail Application): Review
IRJET- V-Mail (Voice based E-Mail Application): Review
 
Online Voting System
Online Voting SystemOnline Voting System
Online Voting System
 
Controlling remote pc using mobile
Controlling remote pc using mobileControlling remote pc using mobile
Controlling remote pc using mobile
 

Destacado

FY16 Executive Budget Recommendation - Governor Susana Martinez
FY16 Executive Budget Recommendation - Governor Susana MartinezFY16 Executive Budget Recommendation - Governor Susana Martinez
FY16 Executive Budget Recommendation - Governor Susana Martinez
Michael Marcelli
 
Influenta factorilor de_mediu_asupra_corpurilor_cu_viata
Influenta factorilor de_mediu_asupra_corpurilor_cu_viataInfluenta factorilor de_mediu_asupra_corpurilor_cu_viata
Influenta factorilor de_mediu_asupra_corpurilor_cu_viata
Ana-Gri
 
О БИТ.СТРОИТЕЛЬСТВО.Продажа недвижимости
О БИТ.СТРОИТЕЛЬСТВО.Продажа недвижимостиО БИТ.СТРОИТЕЛЬСТВО.Продажа недвижимости
О БИТ.СТРОИТЕЛЬСТВО.Продажа недвижимости
Первый БИТ, Челябинск
 
Animalele
AnimaleleAnimalele
Animalele
Ana-Gri
 
БИТ.CRM. Управление коммерческой службой
БИТ.CRM. Управление коммерческой службойБИТ.CRM. Управление коммерческой службой
БИТ.CRM. Управление коммерческой службой
Первый БИТ, Челябинск
 
Tipuri de flori
Tipuri de floriTipuri de flori
Tipuri de flori
Ana-Gri
 
Beauty is healths reward
Beauty is healths rewardBeauty is healths reward
Beauty is healths reward
dermnurse
 
О БИТ.CRM.Управление коммерческой службой
О БИТ.CRM.Управление коммерческой службойО БИТ.CRM.Управление коммерческой службой
О БИТ.CRM.Управление коммерческой службой
Первый БИТ, Челябинск
 

Destacado (20)

FY16 Executive Budget Recommendation - Governor Susana Martinez
FY16 Executive Budget Recommendation - Governor Susana MartinezFY16 Executive Budget Recommendation - Governor Susana Martinez
FY16 Executive Budget Recommendation - Governor Susana Martinez
 
L cron ppp
L cron pppL cron ppp
L cron ppp
 
Near to possession project in noida extension
Near to possession project in noida extensionNear to possession project in noida extension
Near to possession project in noida extension
 
21 Top Travel Destinations for Remote Workers
21 Top Travel Destinations for Remote Workers21 Top Travel Destinations for Remote Workers
21 Top Travel Destinations for Remote Workers
 
Influenta factorilor de_mediu_asupra_corpurilor_cu_viata
Influenta factorilor de_mediu_asupra_corpurilor_cu_viataInfluenta factorilor de_mediu_asupra_corpurilor_cu_viata
Influenta factorilor de_mediu_asupra_corpurilor_cu_viata
 
Lo2
Lo2Lo2
Lo2
 
Изменения в законодательстве 2015
Изменения в законодательстве 2015 Изменения в законодательстве 2015
Изменения в законодательстве 2015
 
О БИТ.СТРОИТЕЛЬСТВО.Продажа недвижимости
О БИТ.СТРОИТЕЛЬСТВО.Продажа недвижимостиО БИТ.СТРОИТЕЛЬСТВО.Продажа недвижимости
О БИТ.СТРОИТЕЛЬСТВО.Продажа недвижимости
 
Animalele
AnimaleleAnimalele
Animalele
 
KnowAtlanta Spring 2006
KnowAtlanta Spring 2006KnowAtlanta Spring 2006
KnowAtlanta Spring 2006
 
LO7 physics 101
LO7 physics 101LO7 physics 101
LO7 physics 101
 
ლოცვა
ლოცვა ლოცვა
ლოცვა
 
БИТ.CRM. Управление коммерческой службой
БИТ.CRM. Управление коммерческой службойБИТ.CRM. Управление коммерческой службой
БИТ.CRM. Управление коммерческой службой
 
Atlanta Track Club member handbook
Atlanta Track Club member handbookAtlanta Track Club member handbook
Atlanta Track Club member handbook
 
კრება უფალთან
კრება უფალთანკრება უფალთან
კრება უფალთან
 
Ukhuwah - Studi Islam Awal Kuliah (Siwak)
Ukhuwah - Studi Islam Awal Kuliah (Siwak)Ukhuwah - Studi Islam Awal Kuliah (Siwak)
Ukhuwah - Studi Islam Awal Kuliah (Siwak)
 
Tipuri de flori
Tipuri de floriTipuri de flori
Tipuri de flori
 
Beauty is healths reward
Beauty is healths rewardBeauty is healths reward
Beauty is healths reward
 
Презентация программы БИТ.Красота
Презентация программы БИТ.КрасотаПрезентация программы БИТ.Красота
Презентация программы БИТ.Красота
 
О БИТ.CRM.Управление коммерческой службой
О БИТ.CRM.Управление коммерческой службойО БИТ.CRM.Управление коммерческой службой
О БИТ.CRM.Управление коммерческой службой
 

Similar a 208 jpa016 --multy-user-mobile-bluetooth-two-way-text-chat-pdf

Bluetooth Technology
Bluetooth TechnologyBluetooth Technology
Bluetooth Technology
Manish Sharma
 
Understanding bluetooth
Understanding bluetoothUnderstanding bluetooth
Understanding bluetooth
Kumar
 
3 Blue Presentation
3 Blue Presentation3 Blue Presentation
3 Blue Presentation
ali100
 
Bluetoothppt
BluetoothpptBluetoothppt
Bluetoothppt
sasidhar
 

Similar a 208 jpa016 --multy-user-mobile-bluetooth-two-way-text-chat-pdf (20)

BLUEJACKING
BLUEJACKINGBLUEJACKING
BLUEJACKING
 
Bluejacking
BluejackingBluejacking
Bluejacking
 
Bluetooth Chat Application.pptx
Bluetooth Chat Application.pptxBluetooth Chat Application.pptx
Bluetooth Chat Application.pptx
 
Bluetooth Technology
Bluetooth TechnologyBluetooth Technology
Bluetooth Technology
 
Blue jacking
Blue jackingBlue jacking
Blue jacking
 
Bluetooth
BluetoothBluetooth
Bluetooth
 
Understanding bluetooth
Understanding bluetoothUnderstanding bluetooth
Understanding bluetooth
 
Understanding bluetooth
Understanding bluetoothUnderstanding bluetooth
Understanding bluetooth
 
Bluejacking
BluejackingBluejacking
Bluejacking
 
Bluejacking
BluejackingBluejacking
Bluejacking
 
Bluetooth
BluetoothBluetooth
Bluetooth
 
3 Blue Presentation
3 Blue Presentation3 Blue Presentation
3 Blue Presentation
 
Bluejacking ppt
Bluejacking pptBluejacking ppt
Bluejacking ppt
 
Bluetoothppt
BluetoothpptBluetoothppt
Bluetoothppt
 
Esp32 bluetooth networking_user_guide_en
Esp32 bluetooth networking_user_guide_enEsp32 bluetooth networking_user_guide_en
Esp32 bluetooth networking_user_guide_en
 
siddharth bt ppt.pptx
siddharth bt ppt.pptxsiddharth bt ppt.pptx
siddharth bt ppt.pptx
 
Bluetooth
BluetoothBluetooth
Bluetooth
 
Bluetooth
BluetoothBluetooth
Bluetooth
 
Bluetooth Chat
Bluetooth ChatBluetooth Chat
Bluetooth Chat
 
Bluejacking
BluejackingBluejacking
Bluejacking
 

Último

Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
MateoGardella
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 

Último (20)

Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 

208 jpa016 --multy-user-mobile-bluetooth-two-way-text-chat-pdf

  • 1. Multi User Mobile Bluetooth Two Way Text Chat ABSTRACT: Bluetooth chatting is an innovative approach to the mobile world. This application shows use of Bluetooth in terms of chatting. Means persons can chat via Bluetooth. The main midlet has just a list which has two values server and client. By selecting one of these two values, the corresponding instance is created. Midlet is used to initialize the connection. It does following thing at here. First, it starts the application and search the Bluetooth device. It sends the signal to the server class. Second, it can run, pause and stop the application. Third, it shows alert using setAlert function on every changing. Server class goes active when it go signal from the midlet class. It sends the hello world string with the string to the other devices. Client class works to respond the other Bluetooth device server. Bluechat is a bluetooth messaging. Bluechat allows you to see other Bluechat users around, ping anyone of them, and create either private chat sessions or public messaging rooms via Bluetooth. This application allows two Android devices to carry out two-way text chat over Bluetooth. Start the application from the first screen; go to My Profile and set nickname, age, gender and hobbies. This is an optional step to
  • 2. provide additional information to other chat buddies. Next, select ‘Look for Friends' option which attempts to discover other users in the area. Detected user-profiles are listed as selectable boxes. While a profile is selected, Options menu can be used to view profile details, initiate a file transfer or to refresh list of detected friends. EXISTING SYSTEM: Chatting has largely been a PC-based addiction. But when it comes to chatting over cell phones, the alternatives are costly like GPRS-based IMs or SMS chat. More than one user can’t communicate at a time. DISADVANTAGES OF EXISTING SYSTEM: One-One chat. Unable to chat with community Costly chat and one way chat
  • 3. PROPOSED SYSTEM: This is a Bluetooth messaging app you can connect and send messages to other android devices and see Bluetooth compatible devices around you. No GSM or Wifi connection required all you need is two Bluetooth compatible android devices in range of each other and you can text away. To chat with a user, select it from the list and press ‘Ping' to send a welcome message. The other user may do the same. As the welcome message is displayed, use right or left soft key to accept or reject the chat session. Once the session is accepted, the chat starts with colourful text to differentiate users. In addition to this person-to-person chat, chat rooms can be used to gather a number of buddies. ADVANTAGES OF PROPOSED SYSTEM: • All peers that want to communicate should have Bluechat running. • It is enough that one peer does the initial "look for friends" operation. • Everytime a new comer peer does its first "Look for friends" operation, the operation will reorganize all initial communication and profile sharing stuff. • Every peer will have an updated list of profiles around automatically and the profile list will be displayed to warn everyone about the new comer.
  • 4. • Be aware that if more than one peer do "Look for friends" simultaneously, they might not be able to see each other (because of Bluetooth running principles) • Be aware that the set up of the profile list might take up to one minute. Therefore be patient. MODULES • Scanning for other Bluetooth devices • Querying the local Bluetooth adapter for paired Bluetooth devices • Establishing RFCOMM channels/sockets • Connecting to a remote device • Transferring data over Bluetooth MODULES DESCRIPTION: • Scanning for other Bluetooth devices This application begins searching for devices as soon as it is opened. Options menu appear only after a successful or unsuccessful search is complete. Other options are new message alert - vibrate or sound, and refresh rate setting ranging
  • 5. from 30 seconds to three minutes. Users can manually refresh the list of users as well. Select a user from the list and use Options. • Querying the local Bluetooth adapter for paired Bluetooth devices The BluetoothAdapter is the entry-point for all Bluetooth interaction. Using this, you can discover other Bluetooth devices, query a list of bonded (paired) devices, instantiate a BluetoothDevice using a known MAC address, and create a BluetoothServerSocket to listen for communications from other devices. Use this to request a connection with a remote device through a BluetoothSocket or query information about the device such as its name, address, class, and bonding state. Represents the interface for a Bluetooth socket (similar to a TCP Socket). This is the connection point that allows an application to exchange data with another Bluetooth device via InputStream and OutputStream. • Establishing RFCOMM channels/sockets In the socket programming model, a socket represents an endpoint of a communication channel. Sockets are not connected when they are first created, and are useless until a call to either connect (client application) or accept (server application) completes successfully. Once a socket is connected, it can be used to
  • 6. send and receive data until the connection fails due to link error or user termination. An RFCOMM BluetoothSocket used to accept incoming connections must be attached to operating system resources with the bind method. bind takes in a tuple specifying the address of the local Bluetooth adapter to use and a port number to listen on. Usually, there is only one local Bluetooth adapter or it doesn't matter which one to use, so the empty string indicates that any local Bluetooth adapter is acceptable. Once a socket is bound, a call to listen puts the socket into listening mode and it is then ready to accept incoming connections. • Connecting to a remote device You must request the BLUETOOTH permission in order to perform any Bluetooth communication, such as requesting a connection, accepting a connection, and transferring data. Before your application can communicate over Bluetooth, you need to verify that Bluetooth is supported on the device, and if so, ensure that it is enabled. you need to ensure that Bluetooth is enabled. A dialog will appear requesting user permission to enable Bluetooth. Once a connection is made with a remote device for the first time, a pairing request is automatically presented to the user. When a device is paired, the basic information about that device (such as the device name, class, and MAC address) is saved and can be
  • 7. read using the Bluetooth APIs. Using the known MAC address for a remote device, a connection can be initiated with it at any time without performing discovery (assuming the device is within range). • Transferring data over Bluetooth Check the manual that came with your cellular phone and read the section on Bluetooth capabilities to see if your phone has a Bluetooth password. Note down the password. Power on your cellular phone and access the "Settings" option in the main menu. Choose the "Bluetooth" option if it is immediately available, or choose "Connections" and then "Bluetooth." Press the option for "Activate Bluetooth." Enter in the Bluetooth code that you noted down before if your phone prompts you for one, or instead enter the standard code of "1111" if you don't have your manual and aren't sure what the password is. Repeat the process on the second phone. Navigate to the folder on your phone that holds the file you want to transfer. Choose the file and then choose the option to "Send." Press the option to "Send to Phone" and then press the button to send to a connected Bluetooth phone. Enter in the phone number of the other phone if your cell does not prompt you to send to an activated Bluetooth phone in range.
  • 8. SYSTEM REQUIREMENTS: HARDWARE REQUIREMENTS: System : Pentium IV 2.4 GHz. Hard Disk : 40 GB. Floppy Drive : 1.44 Mb. Monitor : 15 VGA Colour. Mouse : Logitech. Ram : 512 Mb. SOFTWARE REQUIREMENTS: Operating system : Windows XP. Coding Language : Java 1.6 Tool Kit : Android 3.0 IDE : Eclipse