Instant Car-Pooling on the Android Platform
CS 8803 AIAD TERM PROJECT REPORT TEAM#2 CS 8803 – AIAD Mission Report. Immediate Automobile-Pooling on the Android Platform Vinaya Shenoy Parikshit Sudumbrekar Madhura Tipnis 1 CS 8803 AIAD TERM PROJECT REPORT TEAM#2 Desk of Contents: Introduction Targets Motivation Know-how Overview Associated Work Structure Mission Display screen-Photographs Analysis Future Work Mission Expertise Conclusion References three three three four 5 5 6 14 14 15 16 17
Desk of Figures Determine 1: Android Technological Overview Determine 2: Carpool Software – Beginning Window Determine three: Carpool Software – Create a brand new Occasion Determine four: Carpool Software – Contact Listing Determine 5: Carpool Software – Occasions Created historical past Determine 6: Carpool Software – SMS for carpool invitation obtained Determine 7: Carpool Software – Automobile pool Invitation Particulars Determine eight: Carpool Software – Particulars for the occasion creator Determine 9: Carpool Software – Map displaying pick-up factors four 6 7 eight 9 10 11 12 13 2 CS 8803 AIAD TERM PROJECT REPORT
TEAM#2 Introduction: With growing convergence between totally different applied sciences just like the mobile world, web (IP) world, totally different purposes have grow to be in style and plenty of extra are below growth. One of many outstanding providers in style amongst the customers is the "Location Primarily based Providers" and "presence". The present location-based providers on the market available in the market use the coverage of 'broadcasting areas' whereas enabling any exercise between the assorted customers. This may increasingly result in unintended recipients being the beneficiary of sure occasions.
With this in thoughts, we purpose to develop an software/service that may allow selective supply of occasions/messages to the supposed recipients primarily based on their location. This could assist in avoiding hundreds of messages being despatched to unintended recipients. Thus, not solely the situation of the supposed recipient is considered; however the context of the situation can also be considered. On this challenge, we outline the context of the recipient as its distance from the initiator of the occasion. Targets: The aims of the „Immediate Automobile Pooling Software? may be acknowledged as follows: 1.
Allow customers to create occasions that may specify the next info? The overall emptiness within the automotive. ? The time at which the occasion goes to happen. ? The Ultimate vacation spot. 2. Improvement of the logic that may allow? Ballot within the location info of all of the supposed recipients. ? Take resolution primarily based on the context on the situation. ? Ship „sms? to all the chosen recipients and deal with the accepted or rejected messages obtained from the recipients. three. Generate a Google Map that reveals the initiator the map between his location, all of the recipients that agreed to his automotive pooling occasion and the ultimate vacation spot.
We purpose to exhibit all these eventualities on the „Android Emulator?. Motivation: The applying into consideration, the „Immediate Automobile Pooling? software, is a novel concept which has by no means been carried out earlier than. This turned our supply of motivation for going forward with this challenge. All the present automotive pooling strategies are 1. Time consuming. 2. Require numerous before-hand planning. three. Require a number of rounds of communications within the type of sequence of e-mails or a sequence of telephonic conversations. three CS 8803 AIAD TERM PROJECT REPORT TEAM#2 Additionally, there appears to be an absence of a „Automobile Pooling? pplication on the cellphones. This motivated us to develop our software on the „Android Platform? , one of many upcoming and newest cellular platforms launched by Google. A special supply of motivation behind the event of this software is that of the „Georgia Tech India Membership?. All of the members of this membership complained about receiving hundreds of mails which both requested for a Automobile Pool or which supplied a Automobile Pool. Thus, uninterested college students used to obtain such mails. We thought; why not develop a „mobile-based on the spot Automobile Pooling software? s our present to the scholar group of Georgia Tech? This actually gave us the fervour to go after the completion of this challenge. The initiator of the occasion might choose supposed recipients from the contact listing. The applying then checks for the relative context of the situation of all the chosen recipients and forwards the occasion to solely these recipients that fulfill the context. Know-how Overview: Determine 1: Android Technological Overview Android is a brand new working system for the G1 telephone that has been launched by Google in 2008.
The principle distinction that units the Google G1 telephone aside from different working programs is that the Android is predicated on an open supply platform. This means that anybody can view and even modify the supply code. This leads to fixed evolution of the software program. In case a developer senses that there's a sure function that's presently not included then she or he can incorporate it within the telephone and the software program would develop. Since it's a pretty new platform, it's not as four CS 8803 AIAD TERM PROJECT REPORT TEAM#2 developed as different cellular working programs.
However contemplating the open supply nature and different options, it will probably go a good distance past different cellular working programs. The hardware related to the telephone is supplied by varied firms. As and when the hardware turns into extra superior, the Android OS will be capable to help extra options features. Associated Work: 1. Location monitoring is probably the most important factor and a particular pre requisite for any mobility associated software. This may be performed in several methods. 2. A social instrument has been developed which helps the consumer join with individuals round him. This instrument has been developed on the Symbian Working System.
The situation of the consumer is detected within the mobile phone by getting info from the cell tower. This software doesn? t want GPS. Every consumer can sustain with what is occurring with individuals within the good friend? s listing. Broadcasting of messages is the method adopted on this instrument. It additionally gives different options like connecting individuals with comparable pursuits. It helps the consumer discover varied locations in and across the location detected. three. There's a cellular social networking service referred to as Loopt which broadcasts the situation of the consumer even when the telephone is closed.
It additionally permits sending of messages or sharing of images between contacts. This Loopt is presently restricted to the Dash community. Structure: The customers which have this software put in on their cell telephones can use this software as both initiators of automotive pooling occasion or as invitees for a automotive pooling occasion. When the consumer launches this software, the consumer is given three choices to select from. The consumer can create a brand new automotive pool occasion, view the occasions that he has created earlier or view invites for automotive pool occasion from different customers.
When the consumer chooses to create a brand new occasion, he's given a type which has fields corresponding to topic of the automotive pool, time of the automotive pool, vacancies within the automotive, vacation spot handle of the automotive pool, and a button to select from the listing of his contacts. The consumer enters the values within the fields after which clicks on the contact listing. The contact listing is displayed from which the consumer selects the contacts he needs to ship the invitation of the automotive pool to. All of the invitees might be despatched an SMS with the main points of the carpool occasion.
When the invitee accepts an invite, the carpool software on his telephone will reply again to the initiator with the present GPS location of the invitee. When the initiator will get again the optimistic reply from an invitee, he'll retrieve the situation co-ordinates from the sms and utilizing reverse geocoding performance of the Geocoder utility will calculate the road handle of the contact. Now when the initiator views the occasion generated, he can see all those that all have responded to the occasion. A Google map is created with the areas of all those that have responded to the occasion.
It provides the order of choose up as per the order through which the invitees have responded. We've got used the Google Map API right here for five CS 8803 AIAD TERM PROJECT REPORT TEAM#2 technology of the route map primarily based on the situation as detected by the geo coder. As soon as the vacancies are full, the opposite invitees who attempt to settle for the invite later are displayed a message which says that the automotive is full. Mission Screenshots: Determine 2: Carpool Software - Beginning Window That is the primary display that seems on the mobile phone show when the consumer begins the appliance. There are three choices which are supplied.
They're ? ? ? Create an occasion - This enables the consumer to start out a brand new automotive pool. View created occasions - This enables the consumer to return and consider the automotive pool occasions which were created earlier by him. View Invites - This selection lets the consumer view invites for different automotive pooling occasions from his pals. 6 CS 8803 AIAD TERM PROJECT REPORT TEAM#2 Determine three: Carpool Software - Create a brand new Occasion This display seems on the mobile phone show when the consumer chooses to create a brand new automotive pooling occasion. Within the topic field, the consumer can kind out a brief description of the aim of the automotive pool.
Since it's an on the spot automotive pooling software, the day is about to the present day as recorded within the mobile phone. The consumer is given a listing of instances to pick out from when he clicks on the “choose a time” choice. Additionally the consumer is allowed to specify the variety of vacancies in his automotive to go to a specific vacation spot. The consumer enters his vacation spot handle within the vacation spot 7 CS 8803 AIAD TERM PROJECT REPORT TEAM#2 field. Then the consumer can choose contacts from his contact listing to whom all of the occasion might be despatched to. Determine four: Carpool Software - Contact Listing This display is the contact listing.
The consumer can choose the contacts he needs to ship the automotive pool occasion invite to, with the assistance of examine packing containers supplied subsequent to the names of the contacts. When the consumer clicks on “add to occasion”, the invitation is shipped to the chosen contacts from the contact listing. This occasion is shipped within the type of a „sms?. eight CS 8803 AIAD TERM PROJECT REPORT TEAM#2 Determine 5: Carpool Software - Occasions Created historical past This display is displayed on the mobile phone show when the consumer chooses to view the automotive pool occasions created by him. The consumer can click on on the person occasions to view the main points of every occasion.
This listing comprises all of the previous occasions in addition to the pending occasions. 9 CS 8803 AIAD TERM PROJECT REPORT TEAM#2 Determine 6: Carpool Software - SMS for carpool invitation obtained When the message is shipped to the contacts, the message as proven above seems on the show of the contacts to which the message is shipped. The title of the automotive pool occasion generator additionally seems within the message pop up. 10 CS 8803 AIAD TERM PROJECT REPORT TEAM#2 Determine 7: Carpool Software - Automobile Pool invitation particulars When the consumer clicks on “view invitation” choice on the primary web page, the consumer is displayed the display above.
The invitation provides particulars of the automotive pool which incorporates the topic of the automotive pool, the title of the initiator of the occasion, the time at which the automotive pool is scheduled to happen, the vacation spot of the automotive pool and the standing of the reply. The consumer is given to choices to reply to the message of both attending or not attending. The consumer can click on on both one relying on his selection. As soon as the consumer responds to a message he received? t be given an choice to vary his resolution. 11 CS 8803 AIAD TERM PROJECT REPORT TEAM#2 Determine eight: Carpool Software - Particulars for the occasion creator
This web page might be exhibited to the consumer who created the occasions. It would give him a abstract of the occasion with particulars corresponding to the topic, the time of the occasion, vacancies within the automotive, vacation spot of the automotive pool, invitees to the occasion, and the order of pickup of the invitees who responded. The order of pickup is determined on first come first serve foundation presently. Additionally the consumer is given an choice to examine the map of the route now by clicking on “present route map”. 12 CS 8803 AIAD TERM PROJECT REPORT TEAM#2 Determine 9: Carpool Software - Map displaying pick-up factors
The route map is exhibited to the creator of the automotive pool occasion when he clicks on the “present route map” choice. Alongside the route, the pick-ups within the order of first come first serve are plotted. The fascinating factor about this software is that to start with when no recipient has accepted the invitation, the initiator of the occasion can view a map of supply (his location) and the ultimate vacation spot. As and when recipients settle for the automotive pooling invitation, the map is up to date and it reveals all of the intermediate pick-up factors (the areas of the recipients who've accepted the automotive pooling invitation).
Thus, the initiator of the occasion now has the whole map, whereby he has all of the details about the path to comply with. 13 CS 8803 AIAD TERM PROJECT REPORT TEAM#2 Analysis/Testing: We examined our software by working 4 cases of the emulator on the identical machine. In every emulator we saved three contacts with their numbers being the port numbers on which the opposite three emulators had been working. We then examined the next situation: 1. When a consumer creates a brand new occasion, the occasion is created correctly making certain that each one the parameters are legitimate. For eg, the consumer can? put a time sooner or later or put a unfavourable emptiness, give no invitees. Additionally, we confirm the vacation spot handle supplied by the consumer to make sure that the handle is right and exists on the map. 2. As soon as the occasion is created, we verified that each one the invitees received an sms message with the correct particulars and the invitation is displayed of their invitation listing. three. When an invitee accepts an invite a reply sms together with his GPS coordinates is shipped again to the initiator. four. When the initiator will get a settle for response, the occasion is up to date and the initiator can see the pickup location of the invitee on the map. . When the carpool for an invitation turns into full, all invitees who reply after that get a carpool full response sms. Future Work: This challenge gives a proof of idea of the „Automobile Pooling? software. It's a stripped down model of our dream „Automobile Pool? software. There are numerous enhancements that may be integrated into this challenge that makes it extra full and have wealthy. The longer term work close to this challenge may be summarized as follows: 1. At the moment, the initiator sends automotive pooling invitation to his pals from his contact listing.
Their location is forwarded again to him once they settle for the invitation. This helps within the creation of the Google Map for the occasion initiator. Sooner or later, we might have an internet service that handles all this location info. This could additionally clear up some privateness associated points just like the publishing of recipient location and many others. 2. In the meanwhile, the routes are selected the „First Come First Serve? foundation. This implies, the route is determined on the order through which the recipients settle for the automotive pooling invitation. However the path obtained from this may increasingly not all the time be the shortest path.
Thus we might have algorithms just like the „Dijkstra? s? algorithm or Algorithmic ideas like „Dynamic Programming? to calculate the shortest path between supply, vacation spot and all of the recipients. Thus, optimization on this entrance may be obtained. three. The online service may be programmed to deal with the context of the situation. The context of the situation may be decided by its proximity to the situation of the occasion creator. Thus, the online service can decide a radius and decide the recipients which fall inside the 14 CS 8803 AIAD TERM PROJECT REPORT TEAM#2 adius as those who would obtain the automotive pooling occasion message; whereas these which lie exterior the radius could be ignored. Thus, broadcasting of the occasion may be prevented. four. Different options can embrace displaying solely the occasions which are pending when the consumer clicks on the „View Created Occasions? button. All of the previous and accomplished occasions might be saved in a separate „historical past log?. 5. At the moment, the ultimate vacation spot wants the whole handle of the situation. Sooner or later, the ultimate vacation spot handle might be populated by extracting info from the „topic? of the occasion and utilizing Google Maps functionalities.
For instance, if the consumer varieties in „Journey to Wal-Mart? as the topic, then the ultimate vacation spot handle might be stuffed routinely by the closest Wal-Mart retailer situated close to him. Mission Expertise: Engaged on the challenge was a studying course of with numerous fascinating discoveries. The Android platform being comparatively new was a problem to work on, since very much less documentation was accessible in addition to little help was accessible by the web communities. Throughout the preliminary section of the challenge, all the assorted APIs that had been supported had been studied to find out their use and feasibility in the direction of the challenge.
Throughout this preliminary feasibility research, we realized that sure API help have been faraway from the most recent model of Android. This included the essential considered one of Google Maps, which our challenge was depending on. Thus, started one other research to find out using precise Google Map APIs by the Android code. Additionally the fundamental concept of the challenge made us notice that how handy automotive pooling may be made with this software. The challenge uncovered us to the most recent know-how within the space of cellular platform growth. At school the assorted points in cellular computing had been coated.
Additionally there was an in depth rationalization of cellular computing usually. This dialogue helped us quite a bit within the challenge. We realized that points corresponding to much less energy on the system, and many others. generally is a downside if there are enormous quantities of computations to be performed. Thus, we made some extent to maintain the shopper as this as doable and with this purpose in thoughts, we additionally purpose to develop an internet service sooner or later that may utterly maintain all of the computation and make the shoppers actually „skinny?. Location primarily based providers had been extensively coated within the class. This motivated us to include them into our challenge.
We've got extensively used areas in our challenge, in truth we've got the plotted the Google Map by making use of them. Attributable to such background developed at school, we considered experimenting on the Android platform. It gave us a lift to discover the but not completely found areas in Android API utilization. 15 CS 8803 AIAD TERM PROJECT REPORT TEAM#2 Initially we needed to check the challenge by executing cases of the Android emulator on totally different machines. These emulators would then talk between each-other by technique of messages. However, we weren't capable of exhibit on this vogue because of sure technological challenges.
Ultimately, we demonstrated the appliance by executing totally different cases of the Android emulator on the identical machine. We additional purpose to check the efficiency of our software by including quite a lot of recipients and measuring the time taken for the Google Map to construct. This could assist us in figuring out whether or not the time stays for big variety of recipients, discovering the bottle-necks if any and shifting in the direction of a cut-off for the variety of recipients for which the appliance reveals regular execution time. Conclusion: Thus, this challenge efficiently demonstrated a cellular primarily based „Automobile Pooling? software.
This software would assist in the method of creation of „on the spot automotive pool? occasions. Thus, we efficiently lowered the lengthy conversations wanted for regular automotive pool occasions. In future, extra performance may be added to make this software extra strong and extra function wealthy. With the appearance of sensible telephones, this software, when developed to its fullest, would give you the chance for all to make use of and make their journeys far more pleasurable and cozy. 16 CS 8803 AIAD TERM PROJECT REPORT TEAM#2 References: 1. Android API documentation. (n. d. ). Retrieved from Android Builders: http://developer. ndroid. com/reference/packages. html 2. Android Improvement Group Discussion board (n. d). Retrieved April 2009 from http://www. anddev. org/index. php three. Google Maps API documentation. (n. d. ). Retrieved from Google maps: http://code. google. com/apis/maps/documentation/ four. Strickland, J. (n. d. ). How the Google Cellphone Works. Retrieved April 2009, from How Stuff Works: http://electronics. howstuffworks. com/google-phone5. htm 5. What's Android. (n. d. ). Retrieved April 2009, from developer. android. com: http://developer. android. com/information/fundamentals/what-is-android. html 17