GPS Based Friend Tracker Android Application

Introduction

In past five years, social networking applications had gained a lot of support and popularity all over the world.”The world is a global village “; this terminology has proven true in this aspect. So taking this thought into consideration, we are developing an application which would be a different view point in social networking world.

An application named “Friend tracker” will serve its users with a new picture of social networking. Generally in such(Social Networking) applications, people stay in touch through posting and sharing their comments, pictures, videos, and much more.

Purpose

There are times, when people like to know the current location of his/her friend/(s) or colleague/(s), apart from staying in touch, which we do in social networking applications. Taking this thought into consideration, we are planning to develop an application which will behave as follows:

This application will provide user with his/her friends location using GPS (Global Positioning System). It will provide global position of that device itself the user is holding,and through satellite. The premises of application are not premised up to this extend only.  It also facilitates user to make new friends that are using that particular application and are connected through internet.

Overview

The application offers an ability to work with location sensitive information. It will allow the user to login/register to the system. The user can also make friends by searching the application users and sending request to them. He/she can also accept or reject the request received by him/her from other application users.

He can select particular friend from his friend list and can trace his/her current location, provided that he owes Android GPS based mobile phone and his GPS facility should be activated.

Application gives surety that user’s personal and location based information is never shared without users permission. For accessing this application, user has to be connected through internet.

Requirement Specification:

Registration for very first time
Description: The user of the application has to register him/her for the very first time usage of the application. The registration details include username, E-mail id, gender, city, mobile, picture (optional).

Login into the system
Description: The user has to login into the system for usage of application. Login details include verification of username and his password.

Viewing location of his/her friend
Description: User should be able to view the location of any of his/her friend from friend list, provided that GPS of that particular friend should be on.

Sending Request
Description: The user of the application should be able to send request to the other user/(s) of application, and wait for the respond, in form of acceptance.

Responding to Request Received
Description: The user of the application can also receive request from other users of the application.

Manage Profile
Description: User of the application can manage his/her personal profile details by editing and updating it as and when he/she wishes.

Friend List
Description: User of the application should be able to see his/her friend list on demand, from where he/she can view location of any of his friend.

Store Location Details
Description: The user of the application should be able to store location of any of his/her friend along with date and time.

Removing a Friend
Description: User of the application should also be able to remove the any of his/her friend whenever he/she wishes to.

Trace current Location
Description: Once login into the system, user must be provided with its own current location to be displayed on map.

TOOLS AND TECHNOLOGY

  • Hardware

o   An android phone consisting of GPRS.

  • Software

o   Operating System:  Android 2.2 or higher.

o   GPS enabled in a device.

  • Development Tools

o   Eclipse

o   Android-sdk version 2.2 or higher

o   A Personal Computer with minimum configuration will do, for better performance of application, configuration can be enhanced.

Use case Diagram
Main Use Case

Friend Tracker Use Case Diagram

The above use case contains all the activities that user of the application can carry out while using the application.

Individual Use cases
1) View Friend’s Location
Friend Tracker - View Friend’s Location
The application user selects the friend and tracks its current location.

2) Sending Friend Request
Friend Tracker - Sending Friend Request
User has to search a friend among the users of the application before sending friend request.
3) Responding to friend request
Friend Tracker - Responding to friend request
While receiving friend request from other user of the application, user can view his profile details before accepting or rejecting a request.

4) Managing Profile
Friend Tracker - Managing Profile
Application user can view his personal details before editing/updating those details.

5) Removing from friend list
Friend Tracker - Removing from friend list
While removing a person from his friend list, application user has to select him from that list. User can also view her personal details before removing that person from his friend list.

Sequence Diagram

1) Searching a friend

Processing: List of people already registered to the application will be created.
2) Getting friend’s location

Processing: Calculation of the latitude and longitude will take place and based on that data, position of the user will be located in the map.
3) Managing Profile

Processing: Details of the user will be selected and in second processing, updation of the details will be done in the database.

 Class Diagram

User can register him/her self for using this application. He can send request, accept friend request and from that friend list will be maintained. User can trace the location of the user who is his/her friend.

Structure of Classes used

User Interface Design

Outline of User Interface Layouts
1) Login to the system

When user starts using this application, he will be shown this login page. If he is already registered into the application, than he just have to click on “Login” button and he will be redirected to the main page. If he is not registered into the application, than he has to click to “Register” button to use the application. And if he clicks on “Register” button, than he will be redirected to the register page.

2) Register to the system

On entering these details and on clicking on “Create Account” button, s/he will be registered to the application. And after that he will be redirected to the main page.

3) Map will be shown with options:

User can view the map and the above shown options. If s/he clicks on “Friends Location” s/he will be redirected to the Friends List page.
4) Friends List

Selecting one of the friends from list and clicking on “Location” button s/he can view his/her friend’s location. And on clicking on “Unfriend” button that person will be removed from his list
5) Manage Profile

User can edit his/her details. And after editing it, s/he can save that updates.

6) Search

He can search new friends and can send them friend request.

7) Request remaining to be accepted

User can view, who have send them the request. And he/she can also view sender’s profile and on that basis s/he can accept or reject the request

Screen Snapshots

Login Page

GPS Based FriendTracker output Screenshots
Application starts with the login page. On entering login details and on clicking to login button, user will be successfully logged in to the system. If s/he is an anonymous user than s/he can register himself/herself to the application.

Current Location Page Menu

After getting logged in to the application, user will be shown his/her current location. Being on current location page and clicking on menu, user will be shown this menu from which he can select any of the option.

Friend’s Location List of friends for viewing their location

If user wants to view location of his/her friend than he can select “Friend’s Location” and he will be redirected to the page containing list of users. On selecting one of the friend from the above list, he will be redirected to the page containing the details of that friend.

Friend’s Detail Page

On clicking on “View Location” he can view the location of that particular friend.

Location of the friend is viewed.

Latitude and longitude of the friend will be shown on toast. Address of that friend will be shown on the toast.

Message Dialog Change View

On having a long press on the screen, message dialog will be opened. On clicking on “Change View “ option user can change the view from street view to satellite view. On clicking on get distance user can get the distance between him and his friend. On clicking on address, he can view the address of his/her friend. On clicking on “Change View” user can the view from satellite view to street view.

View Location View Distance

Firstly, user will be shown his own location and than the diastane between him and his friend. Distance between user and friend will be shown to the user.

Manage Profile Manage Profile

On clicking on Manage Profile, user will be shown with his own details. On updating his details and on clicking on “UpdateAccount”, user can update his details.

Search Friend Search Friend

On clicking on “Search Friend”, user will be shown . User can select particular user and he will be redirected to his personal details.

Search Friend Search Friend

On clicking on “Send Request”, user can send request to that particular user. If that person is already his friend than he will be shown an message like “Friend Request sent ERROR..!!”

Pending Request Pending Request

On clicking on “Pending Request”, user will be shown list of friends who are waiting for their request to be accepted . On selecting particular friend, user will be shown with the friend’s detail.

Pending Request

On accepting the request, user will be shown with the above message.

Future Expansions:

• The height of the user from the surface of earth will be calculated.
• User can set destination location.
• User can find the distance between its current location and destination.
• User can find remaining time to reach the destination.
• User can search specified location.

295 Replies to “GPS Based Friend Tracker Android Application”

  1. sir i liked this project , i would like to include this thing as a part of my project , i would take this as one module of my project…

  2. I have implemented such types of but map is not showing as like this , I am getting exact user location in the form latitude and longitude and by this i am getting real address but map is not showing in map , if you are able to help me so please help me

  3. Hello Sir, I would be grateful if you could sent me the project and the source code for my study.
    Thank you.

  4. sir, please provide me the source code of this project “GPS based friend tracker” as soon as possible. I’ll be very thankful to u..

  5. sir,
    Please provide me the source code of this project “GPS based friend tracker” as soon as possible. I’ll be very thankful to you..

  6. Please provide me the source code of this project.I will be highly delightful to you for the same.Thank you in advance

  7. sir i need this project for referance for my froject a kind of safety oriented app… can u plz send me this project source code

  8. Hey I am interested in this project. I am planning to do this as my final year project. Can you help me by providing base paper and any useful codes

  9. hello, could you please provide me the surce code of this application. i want to make similar application for my major project in college..

  10. I need your help ….. I am thinking to build a project on my university which is just like seems to your project so plz if u can…..mail me source code
    Thank u
    pawansaini13n@ gmail.com

  11. I need your help ….. I am thinking to build a project for my mini project which is just like seems to your project so plz if u can…..mail me source code
    Thank u

    1. Hii dear friend gauthm i want to ask you something. Can u tell me the main objective of this project? Plz help me why we’ll track my friends…

  12. i dont think this is ethical ,apart from parents using to track their kids when there are moments of crisis… apart from it i would like to improvise a Little as in making only 1 person per day to be tracked.. i would be grateful if i am allowed to study the code..
    thanks and great work

  13. Sir, I am working on this project but my code is not woking correctly. Could You Please Send Me The code.

  14. We have been working on a similar kind of project and would appreciate if we are given the source code. Did anyone get the source code?

  15. Hi there can you send me the source code please asap. I am learning Android and I want to know how it’s done.

    Thank you

  16. i would like to work on our project for my final semester, so would you please share your source code with me.

  17. my project is somehow similar as yours so can i get some help like how do you started and all like this. can u plz send me the source code and documentation

  18. i am working on monitoring app. Your app will be very help ful in my final year project. please send me document and source code to my eamil

  19. Is it possible to track the device even it is switched off. if it is possible means plz send me the ideas and source code Sir. It is very helpful for my project sir.

  20. hai sir i need this project because i doing my mca final year project like this so please send this project source code to me…… pls…

  21. I am working on a similar project something like friend tracker,can you send me the source code and db to my email pls,it is very helpful for my project,thx alot

  22. I am working on a similar project something regarding to Staffs tracker to detect their current location for students emergency purpose,can you plz send me the source code and database to my email id,it is very helpful for successfully make my project.

  23. I am working on a similar project can you please send me the source code and db to my email. It will be very useful .

  24. Please help by known to me that how i can i devolope like this project or get the source code of this project.

  25. heloo , i am working on this project can u send me the source code of this project on my email ..
    pls.

  26. Can you give me video of this tutorial for better understanding? If yes, then send me through email.

  27. Where is source code I want to work out on this
    kindly if you want to share then I will work on that
    share me here at my email.
    Regards
    Raja

  28. plz, sir send me this project. bcoz tomorrow is my external and I have to give project to friend finder so plz help me, sir, this is my email id

  29. sir send me this project. I have to give project to friend finder so plz help me, sir, this is my email id

Leave a Reply

Your email address will not be published. Required fields are marked *