Wednesday, July 17, 2019

Instant Car-Pooling on the Android Platform

CS 8803 AIAD bound bug out bailiwick team2 CS 8803 AIAD Project Re look. flash bulb railway gondola-Pooling on the android Plat throw Vinaya Shenoy Parikshit Sudumbrekar Madhura Tipnis 1 CS 8803 AIAD TERM drop news report squad2 T sufficient of Contents Introduction Objectives Motivation app double-dealingd science Over envision Related Work Architecture Project Screen-Shots valuation prox Work Project Experience terminal figure References 3 3 3 4 5 5 6 14 14 15 16 17Table of systema skeletales intention 1 Android technical Over conniption Figure 2 machine puddle cover get-go window Figure 3 auto family operation Create a new eccentric Figure 4 elevator machine family sort outing Contact List Figure 5 Carpool action Events Created history Figure 6 Carpool activity program SMS for political machinepool invitation trustworthy Figure 7 Carpool Application Car pool Invitation elaborate Figure 8 Carpool Application Details for the grammatical case creator Figure 9 Carpool Application Map showing survival of the fit show-up points 4 6 7 8 9 10 11 12 13 2 CS 8803 AIAD TERM put constitutionTEAM2 Introduction With increasing convergence betwixt diverse techno logies exchangeable the cubicleular world, internet (IP) world, assorted actions accommodate become popular and many to a greater extent atomic shape 18 under development. One of the prominent function popular amongst the substance ab exploiters is the arrangement Based Services and film. The current fixture-based cultivates out in that localisation of function in the market function the policy of broadcasting locations objet dart enabling any activity amid the unlike drug substance ab officers. This whitethorn lead to unintend receiving systems being the beneficiary of certain chargets.With this in mind, we puzzle to develop an natural covering/service that would enable selective delivery of cases/ nitty-grittys to the mean recipients base d on their location. This would facilitate in avoiding thousands of hearts being sent to unintended recipients. Thus, non only the location of the intended recipient is civilisen into consideration precisely the mount of the location is also taken into consideration. In this take to, we define the context of the recipient as its length from the provoker of the matter. Objectives The objectives of the Instant Car Pooling Application? end be stated as follows 1.Enable consumptionrs to create solutions that would lay the following discipline? The total va burncy in the simple machine. ? The duration at which the position is going to take place. ? The Final finishing. 2. Development of the logic that would enable? sheet in the location information of from each one(prenominal) the intended recipients. ? Take decision based on the context on the location. ? Send sms? to tot bothy the selected recipients and handle the sure or rejected messages heard from the recip ients. 3. Generate a Google Map that shows the provoker the mathematical function between his location, all the recipients that agreed to his gondola political machine pooling return and the final destination.We aim to demonstrate all these scenarios on the Android aper?. Motivation The employment under consideration, the Instant Car Pooling? application, is a novel idea which has never been utilise before. This became our source of motivation for going ahead with this project. wholly the current railroad car pooling methods be 1. Time consuming. 2. posit a lot of before-hand planning. 3. Require several rounds of communications in the form of series of e-mails or a series of telephonic conversations. 3 CS 8803 AIAD TERM befuddle REPORT TEAM2 Also, at that place gibems to be an absence of a Car Pooling? pplication on the wide awake send fors. This motivated us to develop our application on the Android Platform? , one of the early and current mobile curricul ums launched by Google. A different source of motivation behind the development of this application is that of the Georgia Tech India Club?. in all the members of this nightspot complained virtually receiving thousands of mails which both requested for a Car Pool or which offered a Car Pool. Thus, dulled students used to receive such(prenominal) mails. We thought wherefore not develop a mobile-based instant Car Pooling application? s our gift to the student conjunction of Georgia Tech? This really gave us the passion to go afterward the completion of this project. The initiator of the event could select intended recipients from the gain call. The application thereforece checks for the relative context of the location of all the selected recipients and expectwards the event to only those recipients that satisfy the context. Technology Overview Figure 1 Android Technological Overview Android is a new operate system for the G1 bring forward that has been released by Goo gle in 2008.The main difference that sights the Google G1 phone by from different operating systems is that the Android is based on an open source platform. This implies that anyone usher out view and even modify the source code. This results in constant organic evolution of the software. In case a developer senses that there is a certain feature that is currently not acknowledge thus he or she hind end carry it in the phone and the software would develop. Since it is a middling new platform, it is not as 4 CS 8803 AIAD TERM foresee REPORT TEAM2 developed as other mobile operating systems.But considering the open source nature and other features, it derriere go a long way beyond other mobile operating systems. The hardware associated with the phone is provided by various companies. As and when the hardware becomes more than(prenominal) advanced, the Android OS depart be able to affirm more features functions. Related Work 1. billet tracking is the most essential t hing and a definite pre requisite for any mobility related application. This clear be done in different ways. 2. A social tool has been developed which befriends the user get in touch with people around him. This tool has been developed on the Symbian Operating System.The location of the user is detected in the cellphone phone by getting information from the cell tower. This application doesn? t need GPS. severally user can keep up with what is chance with people in the friend? s tendency. broadcast of messages is the approach followed in this tool. It also provides other features deal connecting people with similar interests. It helps the user explore various places in and around the location detected. 3. There is a mobile social networking service called Loopt which broadcasts the location of the user even when the phone is closed.It also allows sending of messages or sharing of photos between contacts. This Loopt is currently limited to the flair network. Architecture Th e users that mystify this application installed on their cell phones can use this application as both initiators of car pooling event or as nodes for a car pooling event. When the user launches this application, the user is accustomed triplet options to choose from. The user can create a new car pool event, view the events that he has created earlier or view invitations for car pool event from other users.When the user chooses to create a new event, he is given a form which has fields such as subject of the car pool, time of the car pool, vacancies in the car, destination look at of the car pool, and a button to choose from the careen of his contacts. The user enters the values in the fields and then clicks on the contact list. The contact list is introductioned from which the user selects the contacts he wants to send the invitation of the car pool to. All the gather upes depart be sent an SMS with the detail of the carpool event.When the aske assumes an invitation, th e carpool application on his phone will resolve sand to the initiator with the current GPS location of the client. When the initiator gets sustain the positive reply from an invitee, he will retrieve the location co-ordinates from the sms and using reverse geocoding functionality of the Geocoder utility(prenominal) will calculate the street hide of the contact. at present when the initiator views the event generated, he can see all those who all consider availed to the event. A Google map is created with the locations of all those who have responded to the event.It gives the order of pick up as per the order in which the invitees have responded. We have used the Google Map API here for 5 CS 8803 AIAD TERM go steady REPORT TEAM2 generation of the route map based on the location as detected by the geo coder. at a time the vacancies are full, the other invitees who try to accept the invite later are displayed a message which says that the car is full. Project Screenshots Fi gure 2 Carpool Application Starting Window This is the primary harbour that appears on the cell phone display when the user starts the application. There are three options that are provided.They are ? ? ? Create an event This allows the user to start a new car pool. View created events This allows the user to go back and view the car pool events that have been created earlier by him. View Invitations This option lets the user view invitations for other car pooling events from his friends. 6 CS 8803 AIAD TERM PROJECT REPORT TEAM2 Figure 3 Carpool Application Create a new Event This screen appears on the cell phone display when the user chooses to create a new car pooling event. In the subject box, the user can fictional character out a short description of the purport of the car pool.Since it is an instant car pooling application, the day is set to the current day as recorded in the cell phone. The user is given a list of times to select from when he clicks on the pick a tim e option. Also the user is allowed to restrict the number of vacancies in his car to go to a particular destination. The user enters his destination spoken communication in the destination 7 CS 8803 AIAD TERM PROJECT REPORT TEAM2 box. Then the user can select contacts from his contact list to whom all the event will be sent to. Figure 4 Carpool Application Contact List This screen is the contact list.The user can select the contacts he wishes to send the car pool event invite to, with the help of check boxes provided next to the names of the contacts. When the user clicks on add to event, the invitation is sent to the selected contacts from the contact list. This event is sent in the form of a sms?. 8 CS 8803 AIAD TERM PROJECT REPORT TEAM2 Figure 5 Carpool Application Events Created history This screen is displayed on the cell phone display when the user chooses to view the car pool events created by him. The user can click on the individual events to view the details of each ev ent.This list contains all the past events as well as the pending events. 9 CS 8803 AIAD TERM PROJECT REPORT TEAM2 Figure 6 Carpool Application SMS for carpool invitation received When the message is sent to the contacts, the message as shown above appears on the display of the contacts to which the message is sent. The name of the car pool event informant also appears in the message pop up. 10 CS 8803 AIAD TERM PROJECT REPORT TEAM2 Figure 7 Carpool Application Car Pool invitation details When the user clicks on view invitation option on the main page, the user is displayed the screen above.The invitation gives details of the car pool which includes the subject of the car pool, the name of the initiator of the event, the time at which the car pool is scheduled to take place, the destination of the car pool and the status of the reply. The user is given to options to respond to the message of either attending or not attending. The user can click on either one depending on his choi ce. Once the user responds to a message he won? t be given an option to change his decision. 11 CS 8803 AIAD TERM PROJECT REPORT TEAM2 Figure 8 Carpool Application Details for the event creatorThis page will be displayed to the user who created the events. It will give him a summary of the event with details such as the subject, the time of the event, vacancies in the car, destination of the car pool, invitees to the event, and the order of getaway of the invitees who responded. The order of pickup is heady on first come first serve basis currently. Also the user is given an option to check the map of the route directly by clicking on show route map. 12 CS 8803 AIAD TERM PROJECT REPORT TEAM2 Figure 9 Carpool Application Map showing pick-up pointsThe route map is displayed to the creator of the car pool event when he clicks on the show route map option. Along the route, the pick-ups in the order of first come first serve are plotted. The interesting thing about this application i s that in the beginning when no recipient has accept the invitation, the initiator of the event can view a map of source (his location) and the final destination. As and when recipients accept the car pooling invitation, the map is updated and it shows all the intermediate pick-up points (the locations of the recipients who have accepted the car pooling invitation).Thus, the initiator of the event at one time has the entire map, wherein he has all the information about the route to follow. 13 CS 8803 AIAD TERM PROJECT REPORT TEAM2 Evaluation/ interrogatory We tested our application by running quaternity instances of the ape on the same machine. In each emulator we terminald three contacts with their numbers being the port numbers on which the other three emulators were running. We then tested the following scenario 1. When a user creates a new event, the event is created properly ensuring that all the parameters are valid. For eg, the user can? put a time in the future or put a negative vacancy, give no invitees. Also, we verify the destination address provided by the user to ensure that the address is correct and exists on the map. 2. Once the event is created, we affirm that all the invitees got an sms message with the proper details and the invitation is displayed in their invitation list. 3. When an invitee accepts an invitation a reply sms with his GPS coordinates is sent back to the initiator. 4. When the initiator gets a accept response, the event is updated and the initiator can see the pickup location of the invitee on the map. . When the carpool for an invite becomes full, all invitees who respond after that get a carpool full response sms. Future Work This project provides a proof of image of the Car Pooling? application. It is a stripped down transformation of our dream Car Pool? application. There are a lot of improvements that can be corporate into this project that makes it more complete and feature rich. The future work with regards to this project can be summarized as follows 1. Currently, the initiator sends car pooling invitation to his friends from his contact list.Their location is forwarded back to him when they accept the invitation. This helps in the creation of the Google Map for the event initiator. In the future, we could have a web service that handles all this location information. This would also solve slightly privacy related issues uniform the publishing of recipient location etcetera 2. At the moment, the routes are decided on the First Come First fare? basis. This inwardness, the route is decided on the order in which the recipients accept the car pooling invitation. But the path obtained from this may not always be the shortest path.Thus we could have algorithms like the Dijkstra? s? algorithm or Algorithmic concepts like Dynamic Programming? to calculate the shortest path between source, destination and all the recipients. Thus, optimization on this front can be obtained. 3. The web servi ce can be programmed to handle the context of the location. The context of the location can be adjustd by its law of proximity to the location of the event creator. Thus, the web service can determine a radius and determine the recipients which plunge within the 14 CS 8803 AIAD TERM PROJECT REPORT TEAM2 adius as the ones who would receive the car pooling event message while those which lie outside the radius would be ignored. Thus, broadcasting of the event can be avoided. 4. Other features can include displaying only the events that are pending when the user clicks on the View Created Events? button. All the past and completed events could be stored in a separate history log?. 5. Currently, the final destination needs the complete address of the location. In the future, the final destination address could be populated by extracting information from the subject? of the event and using Google Maps functionalities.For example, if the user types in Trip to Wal-Mart? as the subject, then the final destination address could be filled automatically by the closest Wal-Mart store located near him. Project Experience works on the project was a learning process with a lot of interesting discoveries. The Android platform being comparatively new was a altercate to work on, since very less documentation was operable as well as little support was available through the online communities. During the initial phase of the project, all the various APIs that were supported were studied to determine their use and feasibility towards the project.During this initial feasibility study, we know that certain API support have been removed from the latest version of Android. This included the crucial one of Google Maps, which our project was dependent on. Thus, began another study to determine the use of actual Google Map APIs through the Android code. Also the basic idea of the project make us realize that how convenient car pooling can be made with this application. The project e xposed us to the latest technology in the area of mobile platform development. In class the various issues in mobile computing were covered.Also there was an extensive exposition of mobile computing in general. This discussion helped us a lot in the project. We realized that issues such as less power on the device, etc. can be a problem if there are huge amounts of computations to be done. Thus, we made a point to keep the client as this as possible and with this aim in mind, we also aim to develop a web service in the future that would completely take care of all the computation and make the clients really thin?. Location based services were extensively covered in the class. This motivated us to incorporate them into our project.We have extensively used locations in our project, in fact we have the plotted the Google Map by making use of them. Due to such background developed in class, we thought of experimenting on the Android platform. It gave us a boost to explore the yet not in all discovered areas in Android API usage. 15 CS 8803 AIAD TERM PROJECT REPORT TEAM2 Initially we wanted to test the project by executing instances of the Android emulator on different machines. These emulators would then communicate between each-other through means of messages. But, we were not able to demonstrate in this devise due to certain technological challenges.In the end, we demonstrated the application by executing different instances of the Android emulator on the same machine. We further aim to test the performance of our application by adding a number of recipients and measuring the time taken for the Google Map to build. This would help us in determining whether the time ashes for large number of recipients, finding the bottle-necks if any and pathetic towards a cut-off for the number of recipients for which the application shows normal performance time. Conclusion Thus, this project successfully demonstrated a mobile based Car Pooling? application.This applicat ion would help in the process of creation of instant car pool? events. Thus, we successfully reduced the long conversations indispensable for normal car pool events. In future, more functionality can be added to make this application more robust and more feature rich. With the advent of clean phones, this application, when developed to its fullest, would be able for all to use and make their journeys much more enjoyable and comfortable. 16 CS 8803 AIAD TERM PROJECT REPORT TEAM2 References 1. Android API documentation. (n. d. ). Retrieved from Android Developers http//developer. ndroid. com/reference/packages. hypertext mark-up language 2. Android Development Community Forum (n. d). Retrieved April 2009 from http//www. anddev. org/index. php 3. Google Maps API documentation. (n. d. ). Retrieved from Google maps http//code. google. com/genus Apis/maps/documentation/ 4. Strickland, J. (n. d. ). How the Google Phone Works. Retrieved April 2009, from How Stuff Works http//electronics. howstuffworks. com/google-phone5. htm 5. What is Android. (n. d. ). Retrieved April 2009, from developer. android. com http//developer. android. com/pathfinder/basics/what-is-android. html 17

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.