Design of Chatting Application Based on Android Bluetooth



Similar documents
A Complete Study of Chatting Room System based on Android Bluetooth

ANDROID LEVERED DATA MONITORING ROBOT

ANDROID BASED SECURITY AND HOME AUTOMATION SYSTEM

LIBRARY ACCESS SYSTEM SMARTPHONE APPLICATION USING ANDROID

"ASM s INTERNATIONAL E-Journal on Ongoing Research in Management and IT"

LOCATIONS AROUND ME (ANDROID)

Remote Monitoring and Controlling System Based on ZigBee Networks

Event Manager Application for Android

Connecting your Aiki phone to a network

Fig. 1 BAN Architecture III. ATMEL BOARD

Wireless LANs vs. Wireless WANs

Android Phone Controlled Robot Using Bluetooth

Keywords RFID READER, FPGA, GSM.

A Review of Different Comparative Studies on Mobile Operating System

Introduction to Android

Mobila applikationer och trådlösa nät

8x8 Virtual Office Mobile User Guide for Android

Android Mobile Security with Auto boot Application

Challenges in Android Application Development: A Case Study

AN INFORMATION AGENT SYSTEM FOR CLOUD COMPUTING BASED LOCATION TRACKING

ENABLING WIRELESS DATA COMMUNICATION IN CONSTRUCTION MANAGEMENT SYSTEM

Android Development. Lecture AD 0 Android SDK & Development Environment. Università degli Studi di Parma. Mobile Application Development

Introduction to Android

Understanding Android s Security Framework

WAITER: A Wearable Personal Healthcare and Emergency Aid System

ANDROID OPERATING SYSTEM

Bluetooth Messenger: an Android Messenger app based on Bluetooth Connectivity

Telephony Calls over Bluetooth. By Ajinkya Salunke, Prashant Shelke & Apurva Sahasrabudhe Sinhgad college of Engineering, Pune

Design of a Wireless Medical Monitoring System * Chavabathina Lavanya 1 G.Manikumar 2

Multiplexing on Wireline Telephone Systems

Issues in Android on Mobile Platform and Their Resolution

CMR Journal of Engineering and Technology Vol.1 Issue.1 January 2016

A Short Introduction to Android

Development and Implementation of Location Based Native Mobile Application

An Intelligent Middleware Platform and Framework for RFID Reverse Logistics

VEHICLE TRACKING SYSTEM USING GPS. 1 Student, ME (IT) Pursuing, SCOE, Vadgaon, Pune. 2 Asst. Professor, SCOE, Vadgaon, Pune

Using the Wireless Music Bridge

COPYRIGHT RESERVED TEAM MYSTERIOUS MANIACS HOME AUTOMATION via BLUETOOTH (Using ANDROID PLATFORM)

A MEDICAL HEALTH CARE SYSTEM WITH HIGH SECURITY USING ANDROID APPLICATION

Development of a new service using Wi-Fi Direct

Vehicle Monitoring Quick Reference Guide

Thwarting Selective Insider Jamming Attacks in Wireless Network by Delaying Real Time Packet Classification

REVIEW ON IMPROVED VEHICLE MONITORING SYSTEM WITH ARRIVAL TIME PREDICITION

ENGN4536 Mobile Communications

DAB+P Smart DAB Radio Receiver Quick Start Guide

VOL. 2, NO. 1, January 2012 ISSN ARPN Journal of Science and Technology ARPN Journals. All rights reserved

Smartphone as a Remote Control Proxy in Automotive Navigation System

Nighthawk AC1900 Smart WiFi Router Dual Band Gigabit

Android. Seminar report. Submitted in partial fulfillment of the requirement for the award of degree of Computer Science

ANDROID BASED MOBILE APPLICATION DEVELOPMENT and its SECURITY

XBEE PROTOCOL COMPARISON

BLUETOOTH SERIAL PORT PROFILE. iwrap APPLICATION NOTE

Linksys WAP300N. User Guide

Professur Technische Informatik Prof. Dr. Wolfram Hardt. Network Standards. and Technologies for Wireless Sensor Networks. Karsten Knuth

ITL BULLETIN FOR AUGUST 2012

Jabra CRUISER2. User manual. MUTE VOL - VOL + jabra

Published by: PIONEER RESEARCH & DEVELOPMENT GROUP ( 1

Bluetooth wireless technology basics

JABRA STYLE. User Manual. jabra.com/style

Wlan Monitoring Using Android Phone

Performance Measuring in Smartphones Using MOSES Algorithm

Design of Wireless Home automation and security system using PIC Microcontroller

TRANSMISSION OF ARM BASED REAL TIME ECG FOR MONITORING REMOTELY LOCATED PATIENT

Evolution of Smartphones And Android Operating System

Messaging and Voice Conferencing through Wi-Fi Network

Intelligent Home Automation and Security System

Comparative Study of Different Mobile Operating Systems

Chapter 7 Low-Speed Wireless Local Area Networks

Consumer Attitude Towards the Cell Phone: A study on Young Generations of Chittagong Metropolitan City, Bangladesh

Android based Secured Vehicle Key Finder System

Reduce Mobile Phone Expense with Avaya Unified Communications

GETTING STARTED WITH ANDROID DEVELOPMENT FOR EMBEDDED SYSTEMS

Mobile Device Management and Security Glossary

Computer Networking. Definitions. Introduction

Implementing SAAS: Cloud Computing and Android Based Application Framework for C Programming

Mapping of Services on Bluetooth Radio Networks

Iknaia Asset and Personnel Tracking Management System for the Construction Industry

Module 5. Broadcast Communication Networks. Version 2 CSE IIT, Kharagpur

ECM (ELO-KIT-ECMG2-AND)

Q3 USER GUIDE. Read Me to Get the Most Out of Your Device...

Desi g n Document. Life Monitor. Group Members: Kenny Yee Xiangxiong Shi Emmanuel Panaligan

Behavior Analysis of TCP Traffic in Mobile Ad Hoc Network using Reactive Routing Protocols

Jabra FREEWAY. User manual.

Analysis of advanced issues in mobile security in android operating system

IJREAT International Journal of Research in Engineering & Advanced Technology, Volume 1, Issue 1, March, 2013 ISSN:

ANDROID A Workshop on Android Application Development Organized by Computer Science & Engg Dept Lingaya s University

Workshop on Android and Applications Development

Wi-Fi and Bluetooth - Interference Issues

Mobile Access by Axis. Wireless Access Points

APRS and the Android Smartphone

BTX180 Wireless Bluetooth Speaker

Internet and Services

Remote Patient Monitoring in Telemedicine using computer communication network through Bluetooth, Wi-Fi, Internet Android Mobile

Smart Home Security System Based on Microcontroller Using Internet and Android Smartphone

Transcription:

Available Online at www.ijcsmc.com International Journal of Computer Science and Mobile Computing A Monthly Journal of Computer Science and Information Technology IJCSMC, Vol. 3, Issue. 3, March 2014, pg.712 717 RESEARCH ARTICLE ISSN 2320 088X Design of Chatting Application Based on Android Bluetooth Nikita Mahajan, Garima Verma, Gayatri Erale, Sneha Bonde, Divya Arya Students, Department of Computer Technology, K.D.K. College of Engineering, Nagpur, India Abstract Bluetooth provides the communication on low-cost, low-power basis. Wireless communication can also be done with the help of Bluetooth technology in a mobile communication. Short-range establishment of two-way communication has occurred without any support of the network. Bluetooth is integrated into Android which is a mainstream Smartphone platform as a mean of mobile communication. Nowadays Android becomes the latest technology in the Smartphone s which provides the open sourcing and powerful application API. Thus we design a chatting application based on android Bluetooth which establishes a connection between smart phones using Bluetooth and then messages are exchanged between them. Keywords: Component; Android; Bluetooth; Wireless Communication ; chat 1. Introduction In recent years, with the development of mobile communication and Mobile terminal, especially the release of Android smart phone platform has injected new vitality to the mobile space. Android is an open sourcing mobile operating system based on Linux which is a completely open and integrated platform for mobile devices. Android platform consists of the operating system, middleware and user interface and application software. Bluetooth technology is a mature short- range wireless communication technology. The working frequency band of Bluetooth does not need a license around the globe. The advantage of Bluetooth technology is reflected in the low price, easy to control and non-visual distance limitations. Bluetooth is an important feature of the smart phone, which is integrated into the Android platform, as the Android mobile network communication module. The Android system provides many Bluetooth APIs for developers to call The majority of the phone communicates with each at her generally through China Mobile or China Unicom gateway, which have to pay related costs. The purpose of the chat room which based the Bluetooth of android is connect phones into a local area network, then we can communicate with each other without any cost.this paper carry out a chat system via the API of the Bluetooth on the Android platform. Through the Bluetooth module, android phones can be divided into client and server and then the real-time chat between friends strangers can be accomplished. 2014, IJCSMC All Rights Reserved 712

2. Literature Review The name Bluetooth and its logo are trademarked by the privately held trade association named the Bluetooth Special Interest Group (SIG). The name Bluetooth was a code name used by developers of this wireless technology. But as the time past name Bluetooth Stuck. 10th Century s Danish king Harald Bluetooth had been influential in uniting Scandinavian tribes in single kingdom after the war when the region was turn into parts. Now these days Bluetooth implication of Bluetooth does the same reunite different industries such as Computers with cell phones with single low power globally available short range radio frequencies named as Bluetooth The concept behind Bluetooth had its origins in 1994 when Ericsson began researching the idea of replacing cables connecting accessories to mobile phones and computers with wireless links. The actual history of Android starts when Google has had purchased and Android inc. in 2005. But the development did not start immediately. The actual progress on android platform starts when 2007 Open Handsets Alliance has announced the Android as Open Source platform and year later the Android SDK 1.0. In the same 2008 the G1 phone was produced by HTC and was retailed within the T-Mobile carrier. In the next two years came out 4 versions of Android. In 2010 there were at least 60 devices running android and it becomes second after Blackberry the best spread mobile platform. (Gargenta 2011, 3-6). And hence developing the research and design of chatting application based on android Bluetooth. 3. Design of Android Bluetooth communication This is to use the Bluetooth API provided by the Android platform to implement communication between Bluetooth devices. Bluetooth communication is based on unique MAC. Taking into account the security issues, the Bluetooth device must been paired before using Bluetooth communication. The connected devices will be shared with a RFCOMM channel to transmit data. Therefore, the process of Bluetooth communication includes Query Bluetooth, we can use Bluetooth Adapter to get the Bluetooth Activity and the method of onactivityresult () to get the Bluetooth connection intent. Figure3 shows the query pairing process. Figure 3 shows the query pairing process. Finding Devices, we need to open the Bluetooth user name and MAC address to pair the Bluetooth. Connecting Bluetooth. Figure 4 shows the process of pairing connection. Bluetooth communication to achieve the following. Following is the detailed design of the Bluetooth communication. Figure 1. Bluetooth inquiries, the pairing process Bluetooth communication, similar to TCP traffic, we need to have the server and client. In this chat system, an Android phone as a Bluetooth server-side, the other Android phone as a Bluetooth client. Client connected to the server and receives message txt from server, also send message text to the server. The server also able to send and receive text messages. 2014, IJCSMC All Rights Reserved 713

This system mainly used the Android system components is the Activity and Service. In the Android system each Activity is an independent process, each Service is an independent process, while the Activity and Service must be communicate with each other, then you need to use the Binder mechanism [4].Android Binder mechanism abstract defined by Binder interface. In the upper, its concrete implementation is complete by AIDL. The main program of this system includes three files: BluetoothChat.java BluetoothChatService.java and DeviceListActivity.java, detailed features can be seen below the description shown in Figure 2: Figure 2. The system as call sequence diagram This uses the method of start Discovery () int the class Bluetooth Adapter to execute an asynchronous way to get around the Bluetooth device, Because it is an asynchronous method so we do not need to consider t he thread i s blocked. The whole process takes about 12 seconds [3]. Then we register a Broadcast Receiver object to receive the Bluetooth de vice information. We filter ACTION FOUND Intent action to obtained tailed information for each remote device. Additional parameters in the Intent field EXTRA DEVICE an EXT RA CLASS, which contains the device type of the object and the object of Bluetooth Device. Pairing a Bluetooth device we can call the method of getbondeddevices () in the class Bluetooth Adapter to obtain a paired device. The method will return Bluetooth device array to distinguish between each paired device. 4. Implementation Results This research and design of chatting application using android Bluetooth contains the text messaging through Bluetooth between the two android smartphones. Following window result shows the server window containing issues like Send Message, Start server, Clear message and Close App. 4.2 Implementation 2: The Second window result is for the client window side which shows the connection with device properly means connection is established between both the android smart phones. Consisting of stat client, receive, clear message and close App. Some of which the functionalities are same as the server side. 4.1 Implementation 1: 2014, IJCSMC All Rights Reserved 714

Figure 4.1 Server Bluetooth chat window1 showing all features Figure 4.2 Client Bluetooth chat window1 showing all features Start Server will Enable the Bluetooth on server side and active for the communication after scanning for the devices and choosing one of them for the communication. When server sends the message to client by entering into the text field and the pressing send Message button will send the above entered message to the client as shown in fig 4.3. Server can also receive message. 2014, IJCSMC All Rights Reserved 715

Start client will enable the Bluetooth on client side if not enable Receive will receive the message coming from the server side. Close The client receives the message as soon as the connection is established between the two devices. The client can also send message to the server or another device after the establishment of the connection. Bluetooth enables or provides the better improvement over the android devices. By receiving message from the server the similar connection can also be established within the same range. Area to be covered into the Bluetooth range is limited. Figure 4.3 Server sends message to the client window2 Figure 4.4 Client receives the message from the Server window2 2014, IJCSMC All Rights Reserved 716

5. Conclusion 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. References [1] Andre N Klingsheim. J2ME Bluetooth Programming [D]. Department of Informatics University of bergen,2004 [2]Yang Fengsheng. Android Inside [M]. Machinery Industry Press.2008 [3}IEEE International Conference on Consumer Electronics, Communications & Networks, 2012-2013. [4] Consumer Electronics, Communications and Networks (CECNet), 2012 2nd International Conference on 21-23 April 2012 [5] The Bluetooth Special Interest Group.Bluetooth Specification Core v4.0.(2009-02).http://www.bluetooth.org. [6] E2ECloud studio. Google Android [M] Posts & Telecom Press. 2009 [7]Hello, Android:Introducing googles Mobile Development platform(paperback) by Ed Burnett 2014, IJCSMC All Rights Reserved 717