International Journal of EmergingTrends & Technology in Computer Science(IJETTCS)
Web Site: www.ijettcs.org Email: editor@ijettcs.org
Volume 3, Issue 3, May June 2014 ISSN 2278-6856
Volume 3, Issue 3 May June 2014 Page 76
Abstract: Today most of the engineering professional are engaged normally working with either on Laptops or with Desktops during working hours and even non-working hours. It is felt that receiving or sending a message from Mobile at these times is laborious. Hence efforts are made in developing developing an application which will enable us to send and receive messages from Laptop or Desktop rather than from Mobiles.
Keywords: Android mobile, laptop, desktop, client, server
1. Introduction In the present era electronic devices have become integral part of day to day life of almost every professional or even a non-professional. To name a few of such devices we have mobiles, laptops, digital cameras, digital watches, washing machines without which ones life is incomplete. Similarly a Professionals life is complete only he uses gadgets like mobiles, laptops and desktops. Nearly all organizations do use laptops and desktops for their official activities. One uses for communication normally the e-mail facility on the laptops or desktops. But whenever the message has to reach immediately to the concerned person, we would use the mobile gadget. But it is found that switching from laptop/desktop to mobile every time whenever the need arises is a tedious process. Also using mobiles during meetings looks very odd. To avoid overcome the above mentioned problematic situations, we can have one solution wherein we can send and receive messages of our mobile through the laptop or desktop.
1.1 Project Objective There are many applications on Mobiles like making calls, sending messages, playing games, managing contacts, clicking photos, shooting videos etc. We use these various applications available based on need. In this project, we shall develop only one application for sending and receiving messages. We shall send messages from one mobile via desktop or laptop to another mobile and shall receive the messages from mobile to the desktop or laptop.
1.2 System Requirements 1. The system shall be able to send messages from mobile via desktop or PC to other mobile. 2. The system shall be able to send single message from mobile via desktop or PC to multiple mobiles. 3. The system shall be able to receive the messages from other mobile to the desktop or PC. 2. System Design The system design has been briefly presented here, pictorially and with detail design as following.
2.1 High Level Design
Fig.1. Communication between client and server via WiFi network
2.2 Detail Design First we run the application on the mobile as an HTTP server using WiFi network. Then we will get the IP address of the mobile. Next we specify the IP address of the mobile in the browser on the desktop or PC in the WiFi network ,we get the mobile environment in the laptop or PC We can create any number of applications of the mobile on the PC or desktop. The desktop or PC acts as a mobile. In the server, we have applications at the top and we have different types of Managers like SMS Manager, Contact Manager etc. These managers act as an intermediate layer between the applications and the kernel. In the project, we are developing application for messages. First part we send messages from desktop or PC to the target mobile, by specifying the mobile number. We can also send a single message or SMS to multiple clients or mobiles. In the second part, we will receive the messages from other mobile to the desktop or PC and send it back to mobile.
3. System Implementation Procedure 3.1 JETTY SERVER Jetty is an Open Source HTTP Servlet Server written in 100% Java. It is both a full featured HTTP/1.1 server and a servlet container.It is designed to be full featured, light weight, high performance, embeddable, extensible and flexible, thus making it an ideal platform for serving dynamic HTTP requests from or for Java. Features of Jetty Server 100% Java Server. Desktop SMS Application for Android
Preeti T 1 and Parikshit Hegde 2
1,2 Department of Computer Science & Engineering, B.V.B.College of Engineering & Technology, Hubli, India
International Journal of EmergingTrends & Technology in Computer Science(IJETTCS) Web Site: www.ijettcs.org Email: editor@ijettcs.org Volume 3, Issue 3, May June 2014 ISSN 2278-6856
Volume 3, Issue 3 May June 2014 Page 77
Open Source License. HTTP/1.1 Protocol Serving Servlets SSL Support Modular Architecture Flexible Configuration. HTML Generation.
3.2 Android Operating System
Fig.2. Android Architectural Diagram
Important blocks of Application framework
Activity Manager: Manages the activity life cycle of applications
Content Providers: Manage the data sharing between applications Telephony Manager: Manages all voice calls. We use telephony manager if we want to access voice calls in our application. Location Manager: Location management, using GPS or cell tower Resource Manager: Manage the various types of resources we use in our Application Applications Applications are the top layer in the Android architecture and this is where our applications are going to fit. Several standard applications come pre-installed with every device, such as: SMS client application Dialer Web browser Contact manager.
3.3 Installation How to install server application on Android mobile First we download Android mobile manager on the desktop. Then we install the application from this Android mobile manager to mobile. Mobile application We write a servlet using Eclipse IDE. This is installed on mobile through Android mobile manager. Android mobile acts as an HTTP server and waits for clients request. Laptops or PCs Any laptop or PC running browser becomes a client and makes request to the server (Android mobile). IP address IP address of the phone is used to connect to laptop or PC. The application will run on PC or laptop. We can send and receive messages from the laptop or PC to other mobiles.
4 User Interfaces
Fig.3. Form to enter phone number and message
Fig.4. Form displayed after message is sent
5 Test Cases Test Case No. Test Case Test Case Description Expected Output 1. Validity check for Send SMS Valid mobile number and blank message Invalid input error message. 2. Validity check for Send SMS Blank mobile number and valid message Invalid input error message. 3. Send SMS Valid mobile number and valid message Message sent to given mobile number.
6. Conclusion and Future Scope The application to send and receive messages from one mobile environment through a desktop or PC to another mobile is useful in many organizations. The same application can be extended by developing applications for Managing contacts, calculator, music, games and others. The same application can be developed in which we need not use mobile phones at all, but instead we will use laptop or desktop directly to send and receive messages. International Journal of EmergingTrends & Technology in Computer Science(IJETTCS) Web Site: www.ijettcs.org Email: editor@ijettcs.org Volume 3, Issue 3, May June 2014 ISSN 2278-6856
Volume 3, Issue 3 May June 2014 Page 78
References [1] Sunguk Lee, Creating and Using Databases for Android Applications International Journal of Database Theory and Application Vol. 5, No. 2, June, 2012 [2] http://en.wikipedia.org/wiki/Android [3] http://developer.android.com/guide/components/ fundamentals.html. [4] http://elinux.org/Android_Architecture. [5] http://developer.android.com/tools/devices [6] http://www.eclipse.org/jetty [7] http://developer.android.com/tools/building/building- eclipse.html [8] www.w3schools.com
AUTHORS
Preeti T has received B.E. degree in Information Science and Engineering from B.V.B.College of Engineering and Technology in 2004. She has served as Lecturer in the Department of Computer Science & Engineering since 2004.She is currently pursuing her 4 th
semester M.Tech Program in Computer Science.
Parikshit Hegde has received B.E. degree in Computer Science and Engineering from R.V..College of Engineering and Technology, Bengaluru in 2005. Completed his M.Tech Program from Siddaganga Institute of Technology, Tumkur in 2009. Presently working as Asst Professor in the Department of Computer Science & Engineering and has teaching experience of nine years.