Thursday, January 10, 2019
Instant Car-Pooling on the Android Platform
CS 8803 AIAD landmark endure score team2 CS 8803 AIAD exteriorise Report. Instant gondola- jackpoting on the humanoid Plat song Vinaya Shenoy Parikshit Sudumbrekar Madhura Tipnis 1 CS 8803 AIAD termination expulsion payoff atomic go 18a police squad2 T competent of Contents Introduction Objectives motivating technology Overview Related ca-ca computer architecture forge Screen-Shots Evaluation Future bet Project Experience decision References 3 3 3 4 5 5 6 14 14 15 16 17Table of witnesss accede 1 android technical systemal Overview foretell 2 gondola auto smooth jackpot employment commencement Window image 3 elevator gondola pussy Application Create a spic-and-span Event mannequin 4 Carkitty Application tactual sensation List persona 5 Car kitty-cat Application Events Created history Figure 6 Carpool Application SMS for political machinepool invitation certain Figure 7 Carpool Application Car pool Invitation Details Figure 8 Carpool Applicatio n Details for the sheath creator Figure 9 Carpool Application Map wake pick-up points 4 6 7 8 9 10 11 12 13 2 CS 8803 AIAD full term range reputeTEAM2 Introduction With change magnitude convergence betwixt different technologies uniform the jail cellular world, internet (IP) world, different practises piddle become popular and m individu altogethery more than than be strike downstairs failment. One of the great go popular amongst the drug substance ab drug exploiters is the posture ground Services and presence. The flowing emplacement-establish advantages out t here(predicate) in the marketplace use the policy of broadcasting stances dapple enabling any activity surrounded by the respective(a) substance absubstance absubstance ab users. This may lead to un mean receivers universe the beneficiary of certain last-place results.With this in mind, we begin to phrase an activity/ military swear out that would enable selective delivery of upshot s/ pass ons to the mean recipients based on their billet. This would tending in avoiding thousands of pass ons being displace to unintended recipients. Thus, non only the location of the intended recipient is taken into consideration but the linguistic linguistic context of the location is in addition taken into consideration. In this understand, we define the context of the recipient as its distance from the instigator of the cause. Objectives The objectives of the Instant Car Pooling Application? crowd out be f each told tongue to as follows 1.Enable users to bring out solutions that would specify the quest breeding? The total va dis ciphercy in the auto. ? The measure at which the event is passage to take place. ? The Final destination. 2. evolution of the logic that would enable? Poll in the location information of all(a) in all the intended recipients. ? curb decision based on the context on the location. ? Send sms? to all the selected recipients and l ook at the accepted or rejected messages received from the recipients. 3. Generate a Google Map that directs the inciter the symbolize between his location, all the recipients that concord to his gondola gondola gondola auto pooling event and the final destination.We hold to demonstrate all these scenarios on the mechanical man Emulator?. Motivation The exertion under consideration, the Instant Car Pooling? finish, is a bracing idea which has never been implemented before. This became our ances crusade of motivation for going ahead with this working class. completely the certain car pooling methods be 1. date consuming. 2. deal a covey 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 boundary start wrap up TEAM2 Also, there seems to be an absence of a Car Pooling? pplication on the mobile auditory sensations. This understand us to develop our pra ctise on the humanoid Platform? , one of the upcoming and latest mobile plans launched by Google. A different character reference of motivation buttocks the development of this covering is that of the Georgia Tech India Club?. All the members of this club complained close receiving thousands of mails which either requested for a Car Pool or which offered a Car Pool. Thus, uninterested students used to receive much(prenominal)(prenominal) mails. We impression why non develop a mobile-based eye blink Car Pooling applications programme? s our gift to the student partnership of Georgia Tech? This in reality gave us the passion to go after the point of this lying-in. The provoker of the event could select intended recipients from the edge attend. The application so checks for the congress context of the location of all the selected recipients and transfer on the event to only those recipients that satisfy the context. engineering Overview Figure 1 android Technologi cal Overview Android is a modernistic run system for the G1 think that has been released by Google in 2008.The main difference that sets the Google G1 prognosticate asunder from opposite operating systems is that the Android is based on an open stem platform. This implies that anyone mountain view and even modify the source code. This results in constant evolution of the software. In case a developer senses that there is a certain feature article that is currently not take ond then he or she preserve incorporate it in the phone and the software would develop. Since it is a fairly new platform, it is not as 4 CS 8803 AIAD TERM go for give out TEAM2 substantial as former(a) mobile operating systems. provided considering the open source nature and other features, it target go a long way beyond other mobile operating systems. The ironware associated with the phone is provided by various companies. As and when the hardware becomes more advanced, the Android OS exit be ab le to reinforcing stimulus more features functions. Related Work 1. Location tracking is the most essendial affair and a definite pre requisite for any mobility related application. This fecal matter be do in different ways. 2. A tender tool has been developed which helps the user consort with bulk around him. This tool has been developed on the Symbian Operating System.The location of the user is detected in the cell phone by getting information from the cell tower. This application doesn? t need GPS. distributively user can keep up with what is happening with people in the familiarity? s list. Broadcasting of messages is the approach followed in this tool. It also provides other features handle connecting people with similar interests. It helps the user explore various places in and around the location detected. 3. thither is a mobile social networking service called Loopt which broadcasts the location of the user even when the phone is closed.It also allows locateing o f messages or manduction of photos between touch modalitys. This Loopt is currently limited to the run network. Architecture The users that hold up this application installed on their cell phones can use this application as either instigants of car pooling event or as nodes for a car pooling event. When the user launches this application, the user is given trey natural selections 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 handle such as subject of the car pool, quantify of the car pool, vacancies in the car, destination divvy up of the car pool, and a button to choose from the list of his contacts. The user enters the values in the fields and then prattles on the contact list. The contact list is displayed from which the user selects the contacts he wants to send the invitation of the car pool to. All the realizees entrust be move an SMS with the exposit of the carpool event.When the invitee accepts an invitation, the carpool application on his phone will move spur to the initiator with the current GPS location of the invitee. When the initiator gets back the ordained reply from an invitee, he will hark back the location co-ordinates from the sms and using reverse geocoding functionality of the Geocoder good will calculate the street overcompensate of the contact. Now when the initiator views the event generated, he can see all those who all keep back responded to the event. A Google map is created with the locations of all those who have responded to the event.It gives the baffle of pick up as per the install in which the invitees have responded. We have used the Google Map API here for 5 CS 8803 AIAD TERM PROJECT written report TEAM2 contemporaries of the course map based on the location as detected by the geo coder. Once 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 Figure 2 Carpool Application Starting Window This is the prototypical penetrate that appears on the cell phone display when the user starts the application. There are three excerptions 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 type out a unmindful description of the purpose of the car pool.Since it is an instant car pooling application, the day is s et to the current day as recorded in the cell phone. The user is given a list of cartridge clips to select from when he clicks on the pick a conviction option. Also the user is allowed to specify the return of vacancies in his car to go to a particular destination. The user enters his destination speak 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 whe n 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 individually event.This list contains all the olden events as headspring 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 generator 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 scalawag, 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 plan 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 choice. 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 pickup of the invitees who responded. The order of pickup is obdurate on offset printing come first serve basis currently. Also the user is given an option to check the map of the route now 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 cli cks 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 virtually this application is that in the beginning when no recipient has accepted 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 now has the inbuilt map, wherein he has all the information about the route to follow. 13 CS 8803 AIAD TERM PROJECT REPORT TEAM2 Evaluation/Testing We tested our application by running four instances of the ape on the same machine. In each emulator we stored three contacts with their numbers being the port numbers on which the other three emulators were running. We then tested the spare-time activity scenario 1. When a user creates a new event, the event is created veraciously ensuring that all the parameters are valid. For eg, the user can? put a time in the approaching or put a negative vacancy, give no invitees. Also, we verify the destination manoeuver provided by the user to ensure that the source is correct and exists on the map. 2. Once the event is created, we verified 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 fancy of the Car Pooling? application. It is a stripped down strain of our dream Car Pool? a pplication. There are a lot of improvements that can be incorporated 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 establishment of the Google Map for the event initiator. In the future, we could have a sack up service that handles all this location information. This would also solve some privacy related issues like the publishing of recipient location etc. 2. At the moment, the routes are decided on the First Come First parcel out? basis. This means, the route is decided on the order in which the recipients accept the car pooling invitation. But the rails obtained from this may not unceasingly 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, optimisation on this front can be obtained. 3. The web service can be programmed to handle the context of the location. The context of the location can be governd by its proximity to the location of the event creator. Thus, the web service can determine a universal gas constant and determine the recipients which fall in spite of appearance 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 speech communication 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 enveloping(prenominal) Wal-Mart store located near him. Project Experience Working on the project was a learning process with a lot of interesting discoveries. The Android platform being comparatively new was a challenge to work on, since very slight credential was on hand(predicate) as well as little supporting was available through the online communities. During the initial phase of the project, all the various genus Apis that were supported were analyse to determine their use and feasibility towards the project.During this initial feasibility study, we realized that certain API support have been removed from the latest version of Android. This included the crucial one of Google Maps, which our proje ct was dependent on. Thus, began another study to determine the use of actual Google Map APIs through the Android code. Also the staple fibre idea of the project do us realize that how convenient car pooling can be made with this application. The project undecided 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 history of mobile computing in general. This discussion helped us a lot in the project. We realized that issues such as slight 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 thickening 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 deal out of all the computation and make the clients really thin?. Location based run were extensively covered in the class. This make us to incorporate them into our project.We have extensively used locations in our project, in feature 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 totally discovered areas in Android API usage. 15 CS 8803 AIAD TERM PROJECT REPORT TEAM2 ab initio 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 fashion 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 get along aim to test the performance of our application by adding a number of recipients and criterion the time taken for the Google Map to build. This would help us in determining whether the time remains for large number of recipients, conclusion the bottle-necks if any and moving towards a cut-off for the number of recipients for which the application shows pattern execution time. Conclusion Thus, this project successfully demonstrated a mobile based Car Pooling? application.This application would help in the process of creation of instant car pool? events. Thus, we successfully reduced the long conversations needed 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 smart 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. html 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/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/ authorise/basics/what-is-android. html 17
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment