IJIRAE:: Phone Pal: Remote Mobile Access through Short Message Service

7
International Journal of Innovative Research in Advanced Engineering (IJIRAE) ISSN: 2349-2163 Issue 7, Volume 2 (July 2015) www.ijirae.com _________________________________________________________________________________________________ © 2014-15, IJIRAE- All Rights Reserved Page -62 Phone Pal: Remote Mobile Access through Short Message Service Prof. Mitul K. Patel 1 Gadhiya Janki D. 2 Assistant Professor B.E. Student Computer Department Computer Department Shree Swami Atmanand Saraswati Shree Swami Atmanand Saraswati Institute of Technology, Surat Institute of Technology, Surat Abstract— The usage of smartphones among people are increasing rapidly day by day. Traditional usages of mobile phones were to make a call and send messages to other phone. Earlier, peoples are sending messages for information sharing purpose only. With the phenomenal growth of smartphone use, people want to use same features for multiple purposes like accessing of mobile phone, switching on or off certain applications, accessing system features, etc. This application provides various features like Dynamic Call Divert, Dynamic Message Forward, Location of Device, Contact Access, Default Browser History, List of Recent Applications, Internet ON/OFF, Wi-Fi IN/OFF, and Theft StartUp Service from other mobile phone through SMS. Keywords— Remote access, Data Acquisition, Android, SMS I. INTRODUCTION Now a day, mobile phones have become vital part of day-to-day activities. In earlier days, mobile phones have been used for phone call and to send text messages to other mobile phone. Due to the revolution in technical field of mobile phones, current mobile phones are capable of storing user data as well as sharing of information with other users. The critical user data includes call records, photos and videos as well as saved passwords of Webpages. So loosing of smart phone is not affordable to user because it cause the loss of large amount of irrecoverable data. In such scenarios, remote access to a mobile phone will be helpful to user in order to access information from mobile phone even if user is not carrying mobile phone with him. Accessing the remote data using internet connection was not a difficult task if user can carry computer every time. But in recent times, android mobile phones and smart phones have replaced the need of computers. These devices can be used not only to store user data but also capable of providing various other information like whether forecast, Google map, different chatting applications, etc. By considering a scenario where user forgets to carry mobile phone and wants to retrieve an important data from mobile phone remotely, an idea to develop a new application emerged by which user can access all required data through SMS. II. PROBLEM STATEMENT AND REQUIREMENTS Most of the mobile users can’t remember their all contacts as they have a facility to save them in the phone book of their phone. This can be taken as advantage as well as a disadvantage. When user doesn’t have his/her phone with himself/herself, he/she doesn’t have access to the contacts available in that phone. It may also be possible that user doesn’t know where he/she left his/her mobile phone. In such scenario, user will waste valuable time in finding for mobile phone. If user forgets his/her mobile phone at unknown place, user may miss important phone calls or messages which can cause delay in work. Possible solutions in existing systems are User has to travel back to his home and access all missing information. User may call to his family member or friends in case user know the place of mobile phone and access those information. Alternate solution will be to develop a mobile application by which user can able to access all information from his mobile phone remotely. A. Software Requirements Android (Eclipse) Android is an open source and Linux-based Operating System for mobile devices such as smart phones and tablet computers. Proposed application uses android version 2.2 (i.e. Froyo) or above. Android is the fastest growing operating system. For Application development, Eclipse IDE is used which is a free open source IDE (Integrated Development Environment). Support for Java, HTML, CSS, JavaScript, C++, PHP, and more. SQLite Database SQLite is an Open Source database. It supports Standard relational database features like SQL syntax, transactions and prepared statements. The database requires limited memory at runtime (approx. 250KB) which makes it a good candidate from being embedded into other. Proposed application uses SQLite database to store all users passcode and referral contacts for the security purpose of users as the data available in database is not visible.

Transcript of IJIRAE:: Phone Pal: Remote Mobile Access through Short Message Service

International Journal of Innovative Research in Advanced Engineering (IJIRAE) ISSN: 2349-2163 Issue 7, Volume 2 (July 2015) www.ijirae.com

_________________________________________________________________________________________________ © 2014-15, IJIRAE- All Rights Reserved Page -62

Phone Pal: Remote Mobile Access through Short Message Service

Prof. Mitul K. Patel1 Gadhiya Janki D. 2 Assistant Professor B.E. Student

Computer Department Computer Department Shree Swami Atmanand Saraswati Shree Swami Atmanand Saraswati

Institute of Technology, Surat Institute of Technology, Surat Abstract— The usage of smartphones among people are increasing rapidly day by day. Traditional usages of mobile phones were to make a call and send messages to other phone. Earlier, peoples are sending messages for information sharing purpose only. With the phenomenal growth of smartphone use, people want to use same features for multiple purposes like accessing of mobile phone, switching on or off certain applications, accessing system features, etc. This application provides various features like Dynamic Call Divert, Dynamic Message Forward, Location of Device, Contact Access, Default Browser History, List of Recent Applications, Internet ON/OFF, Wi-Fi IN/OFF, and Theft StartUp Service from other mobile phone through SMS.

Keywords— Remote access, Data Acquisition, Android, SMS

I. INTRODUCTION

Now a day, mobile phones have become vital part of day-to-day activities. In earlier days, mobile phones have been used for phone call and to send text messages to other mobile phone. Due to the revolution in technical field of mobile phones, current mobile phones are capable of storing user data as well as sharing of information with other users. The critical user data includes call records, photos and videos as well as saved passwords of Webpages. So loosing of smart phone is not affordable to user because it cause the loss of large amount of irrecoverable data. In such scenarios, remote access to a mobile phone will be helpful to user in order to access information from mobile phone even if user is not carrying mobile phone with him.

Accessing the remote data using internet connection was not a difficult task if user can carry computer every time. But in recent times, android mobile phones and smart phones have replaced the need of computers. These devices can be used not only to store user data but also capable of providing various other information like whether forecast, Google map, different chatting applications, etc. By considering a scenario where user forgets to carry mobile phone and wants to retrieve an important data from mobile phone remotely, an idea to develop a new application emerged by which user can access all required data through SMS.

II. PROBLEM STATEMENT AND REQUIREMENTS

Most of the mobile users can’t remember their all contacts as they have a facility to save them in the phone book of their phone. This can be taken as advantage as well as a disadvantage. When user doesn’t have his/her phone with himself/herself, he/she doesn’t have access to the contacts available in that phone. It may also be possible that user doesn’t know where he/she left his/her mobile phone. In such scenario, user will waste valuable time in finding for mobile phone. If user forgets his/her mobile phone at unknown place, user may miss important phone calls or messages which can cause delay in work.

Possible solutions in existing systems are User has to travel back to his home and access all missing information. User may call to his family member or friends in case user know the place of mobile phone and access those

information. Alternate solution will be to develop a mobile application by which user can able to access all information from

his mobile phone remotely.

A. Software Requirements Android (Eclipse)

Android is an open source and Linux-based Operating System for mobile devices such as smart phones and tablet computers. Proposed application uses android version 2.2 (i.e. Froyo) or above. Android is the fastest growing operating system. For Application development, Eclipse IDE is used which is a free open source IDE (Integrated Development Environment). Support for Java, HTML, CSS, JavaScript, C++, PHP, and more.

SQLite Database SQLite is an Open Source database. It supports Standard relational database features like SQL syntax,

transactions and prepared statements. The database requires limited memory at runtime (approx. 250KB) which makes it a good candidate from being embedded into other. Proposed application uses SQLite database to store all users passcode and referral contacts for the security purpose of users as the data available in database is not visible.

International Journal of Innovative Research in Advanced Engineering (IJIRAE) ISSN: 2349-2163 Issue 7, Volume 2 (July 2015) www.ijirae.com

_________________________________________________________________________________________________ © 2014-15, IJIRAE- All Rights Reserved Page -63

Google Cloud Messaging Google Cloud Messaging (GCM) for Android is a service that allows developers to send data from their server

to your user’s Android-powered device and also to receive messages from devices on the same connection. Google Console API

To use GCM, we create Google API project. Following are the steps to create API Project: 1. Open the Google Developers Console. 2. Near the top of the screen, Click Create Project. 3. Type a project name. 4. Click Create. 5. Once the project has been created, a page appears that displays project ID and project number. (ex.

670330094152). 6. Take note of your project number. It will be used as GCM sender ID. After creating Project to use the cloud API we have created API server key. Following are the steps: 1. Log into https://cloud.google.com/console with google account. 2. In navigation on the left, go into “APIs & auth > APIs”. 3. Find “Google Cloud Messaging for Android” and click “OFF” button next to it. 4. In the navigation on the left, go into “APIs & auth > Registered apps”. 5. Wait a really long time, apparently. 6. Click the red REGISTER APP button. 7. Give the app a name and choose web application, then click Register. 8. Click the “Server Key” section for server key.

Google Map Google Map is provided by Google and it is used to show the map or direction of some places. Proposed

application has used Google map to show the location of device if user uses pal’s phone to get the location then he/she get the link of google map including latitude and longitude.

B. Smartphone Requirements Android 2.3 or Above Free Space according to application size

III. SYSTEM DESIGN AND DATA FLOW DIAGRAM

Figure – 1 shows communications between pal’s (friend’s) phone and forgotten phone.

Figure – 1 Communication between pal’s phone and forgotten phone

If user uses services through pal’s phone then communication will be established by simple SMS. User needs to send

SMS to on/off service as well as to get information from pal’s phone. Figure – 2 shows data flow diagram which includes detail view of all activities done by users during the usage period of the application.

SMS

Pal’s Phone Forgotten Phone

International Journal of Innovative Research in Advanced Engineering (IJIRAE) ISSN: 2349-2163 Issue 7, Volume 2 (July 2015) www.ijirae.com

_________________________________________________________________________________________________ © 2014-15, IJIRAE- All Rights Reserved Page -64

Figure – 2 Data flow diagram for user activities

The user activities are Register from Application, Login & Setting needed configurations (i.e. passcode and referral contacts), giving feedback, Setting or updating profile. The admin is also having two activities i.e. Checking for feedback and Responding to user.

When user logs in for the first time, he/she needs to set passcode and referral contacts as both are important for using services on Pal’s phone. Passcode is a simple string which is essential for starting, stopping or using any service. It is concerned with the security of personal information of user. This should be kept secret as it can be used for accessing services from forgotten phone. Referral contacts are used for 2 services i.e. forgot password and Theft StartUp service. In forgot password user needs to enter referral contact, if they are correct, the password will be sent to user’s phone as SMS.

Figure – 3 Data flow diagram for all user services

International Journal of Innovative Research in Advanced Engineering (IJIRAE) ISSN: 2349-2163 Issue 7, Volume 2 (July 2015) www.ijirae.com

_________________________________________________________________________________________________ © 2014-15, IJIRAE- All Rights Reserved Page -65

Figure – 3 detail view of using phone pal option as shown in figure – 2. All services shown in figure – 3 can be used by sending simple SMS. User will get reply accordingly. All the services will be driven through passcode so each service is having interaction arrow to “passcodetbl”.

IV. IMPLEMENTATION User has to install and register with the application in order to use features provided by application. When user installs

the application, he/she can see the screen like figure – 4. After clicking on the “Register Now” button, screen like figure – 5 appears in which user can enter data and registers in application. User needs to enter proper information otherwise they cannot register in our application as validations are provided in the application.

Figure – 4 Login Figure – 5 Registration

In case user forgets his password then forgot password feature is also provided using which user will get his password through SMS. When user login in the Android Application (Phone Pal) for the first time then he/she needs to set the passcode and referral contacts to use all services provided by “PHONE PAL”. After login for the first time, user first sets the Referral contacts and to save it he/she will click the button “Save” shown in the figure – 6.

After setting referral contacts, user will be directed to the page shown in the figure – 7 to set the passcode. User must remember this passcode because it is an essential string to use all services provided by an application. After login successfully, welcome page will be shown to user which includes buttons for all the basic functionalities as shown in figure – 8.

Figure – 6 Setting Referral Contacts Figure – 7 Setting Passcode Figure – 8 Welcome Screen

International Journal of Innovative Research in Advanced Engineering (IJIRAE) ISSN: 2349-2163 Issue 7, Volume 2 (July 2015) www.ijirae.com

_________________________________________________________________________________________________ © 2014-15, IJIRAE- All Rights Reserved Page -66

If user clicks the button “Delete Account” from figure – 8 then user deregisters from Application. If user clicks the button “Logout” then he/she will redirected to the main page of the Application. User can also edit his/her profile, referral contacts and passcode as shown in figure – 8.

For the activation of the call divert service, user needs to send a message from his/her pal’s phone which will contain “{passcode} call”. User will get a reply as shown in Figure – 9.

F1or d0eactivation, user needs to send a message from his/her pal’s phone which will contain “{passcode} call off”. User will get the corresponding reply back to pal’s phone.

Figure – 10 & Figure – 11 shows the corresponding messages to the forgotten phone when the call forwarding service is activated and deactivated.

Figure – 9 Call Divert Figure – 10 Call Divert Successful Figure – 11 Call Divert Erase

For the activation of the Message Forwarding service, user needs to send a message from his/her pal’s phone which will contain “{passcode} msg”. User will get a reply as shown in Figure – 12. For deactivation, user needs to send a message from his/her pal’s phone which will contain “{passcode} msg off”. User will get the corresponding reply back to pal’s phone. User just needs to send the message to forgotten phone from pal’s phone. User will get a reply which contains a link to the Google map of forgotten phone’s location (shown in figure – 13). Here, passcode is set as “aru” as shown in figure – 14.

Figure – 12 Message Forward Figure – 13 Location Figure – 14 Location on Map

International Journal of Innovative Research in Advanced Engineering (IJIRAE) ISSN: 2349-2163 Issue 7, Volume 2 (July 2015) www.ijirae.com

_________________________________________________________________________________________________ © 2014-15, IJIRAE- All Rights Reserved Page -67

For the activation of Internet ON/OFF service, user needs to send a message from his/her pal’s phone which will contain “{passcode} Internet on”. User will get a reply as shown in Figure – 15.

For deactivation, user needs to send a message from his/her pal’s phone which will contain “{passcode} Internet off”. User will get the corresponding reply back to pal’s phone.

Similarly, user can activate or de-activate Wifi connection by sending a message from his/her pal’s phone which will contain “{passcode} Wi-Fi on” and “{passcode} Wi-Fi off” respectively to on and off Wi-Fi connection as shown in figure – 16.

User needs to send the message to forgotten phone from pal’s phone. User will get a reply which contains contact numbers from the phonebook of user’s forgotten phone. Here, “aru” is passcode. As shown in figure – 17.

Figure – 15 Internet ON/OFF Figure – 16 WI-FI ON/OFF Figure – 17 Contact Access

In order to access browser history on Pal’s phone, user needs to send message from forgotten phone to pal’s phone as “aru getBrowserHistory”. User will get a reply which contains user’s forgotten phone’s default browser history as shown in figure – 18. To view list of recent application in forgotten phone, user needs to send the message to forgotten phone from pal’s phone as “aru getAppInfo”. User will get a reply which contains list of recent applications in user’s forgotten phone as shown in figure – 19. In similar way, user can access the call history from forgotten phone by sending message as “aru calllog” and user will get complete call log as shown in figure – 20.

Figure – 18 Browser History Figure – 19 Recent Application Figure – 20 Call History

International Journal of Innovative Research in Advanced Engineering (IJIRAE) ISSN: 2349-2163 Issue 7, Volume 2 (July 2015) www.ijirae.com

_________________________________________________________________________________________________ © 2014-15, IJIRAE- All Rights Reserved Page -68

When the Stolen Phone will complete booting process, the screen like Figure – 21 appears to User. User has to enter correct details as required. If details were entered wrong or Back/Home button is pressed, then the location of device will be sent to pre-install Contact Numbers like Figure – 22 & 23.

Figure – 21 Theft StartUp Service Figure – 22 Location Message to Ref-1 Figure – 23 Location Message to Ref-2

V. CONCLUSIONS In this paper, the effort was made to develop an application which overcomes the difficulties faced by the people for

whom “Mobile Phone” is a very important thing and they cannot take a step ahead without their mobile phone because their phone can have important contacts, messages and call details. Such users can use this application for getting their calls and messages remotely. This application has been successfully implements and tested on android mobile phones.

VI. ACKNOWLEDGEMENT

We would like to express our sincere thanks to Arnika R. Patel and Vidhi B. Sutaria for their support during entire project work.

REFERENCES

[1] Deepak Kumar and Mohammed Abdul Qadeer, “SMS Based Emerging Techniques for Monitoring and Controlling Android Mobiles”, International Journal of Engineering and Technology, Vol. 4, No. 6, pp. 798 – 802, December 2012

[2] K.S. Kuppusamy, Senthilraja.R, G. Aghila, “A MODEL FOR REMOTE ACCESS AND PROTECTION OF SMARTPHONES USING SHORT MESSAGE SERVICE”, International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol.2, No.1, pp. 91 – 100, February 2012

[3] Shruti S. Mane, Varshika V. Parmar, Soumitra C. Limaye, Nilambari Joshi, “SMS Based Remote SIM Card’s Address Book Access System”, International Journal of Research in Advent Technology, Vol.2, No.4 ,pp. 204 – 207, April 2014

[4] Prasadgouda B Patil, “Remote Data Acquisition From Android Mobile”, International Journal of Engineering Research & Technology (IJERT), Vol. 2 Issue 6, pp. 2661 – 2667, June – 2013

[5] (2014) The Vogella Website. [Online]. Available: http://www.vogella.com/tutorials/AndroidSQLite/article.html [6] (2015) The Android Developer Website [Online]. Available:

http://developer.android.com/reference/android/widget/Button.html [7] (2012) The Framentos Website. [Online]. Available: http://www.framentos.com/en [8] Jonathan Simon, Head First Android Development, O'Reilly Media, November 30, 2011.