buslinc final report - computer science and...
TRANSCRIPT
![Page 1: BusLinc Final Report - Computer Science and Engineeringcse.unl.edu/~seth/486/Final-Report-487-sp11/Andorid Final Presentat… · BusLinc Final Report Android StarPhone Team John -](https://reader034.vdocuments.net/reader034/viewer/2022042321/5f0aa9437e708231d42cb741/html5/thumbnails/1.jpg)
BusLinc Final Report
Android StarPhone TeamJohn - Evan - Josh
May 2, 2011 (7:30 AM)
![Page 2: BusLinc Final Report - Computer Science and Engineeringcse.unl.edu/~seth/486/Final-Report-487-sp11/Andorid Final Presentat… · BusLinc Final Report Android StarPhone Team John -](https://reader034.vdocuments.net/reader034/viewer/2022042321/5f0aa9437e708231d42cb741/html5/thumbnails/2.jpg)
Presentation Overview
Implemented Features
Unimplemented FeaturesImprovements
Demo
Testing
Future Work
Questions
![Page 3: BusLinc Final Report - Computer Science and Engineeringcse.unl.edu/~seth/486/Final-Report-487-sp11/Andorid Final Presentat… · BusLinc Final Report Android StarPhone Team John -](https://reader034.vdocuments.net/reader034/viewer/2022042321/5f0aa9437e708231d42cb741/html5/thumbnails/3.jpg)
Implemented Features
'Where to?' Activity
Reverse Geo-coding to get user's current location
Pick a place to go three ways:Search Yahoo! placesSelect from your FavoritesDrop a pin on a Google map
Ad space
![Page 4: BusLinc Final Report - Computer Science and Engineeringcse.unl.edu/~seth/486/Final-Report-487-sp11/Andorid Final Presentat… · BusLinc Final Report Android StarPhone Team John -](https://reader034.vdocuments.net/reader034/viewer/2022042321/5f0aa9437e708231d42cb741/html5/thumbnails/4.jpg)
Implemented Features
'Where to?' - Search Places
![Page 5: BusLinc Final Report - Computer Science and Engineeringcse.unl.edu/~seth/486/Final-Report-487-sp11/Andorid Final Presentat… · BusLinc Final Report Android StarPhone Team John -](https://reader034.vdocuments.net/reader034/viewer/2022042321/5f0aa9437e708231d42cb741/html5/thumbnails/5.jpg)
Implemented Features
'Where to?' - Select from Map
![Page 6: BusLinc Final Report - Computer Science and Engineeringcse.unl.edu/~seth/486/Final-Report-487-sp11/Andorid Final Presentat… · BusLinc Final Report Android StarPhone Team John -](https://reader034.vdocuments.net/reader034/viewer/2022042321/5f0aa9437e708231d42cb741/html5/thumbnails/6.jpg)
Implemented Features
'Favorites' Activity
User can save favorite destinations or favorite routes
![Page 7: BusLinc Final Report - Computer Science and Engineeringcse.unl.edu/~seth/486/Final-Report-487-sp11/Andorid Final Presentat… · BusLinc Final Report Android StarPhone Team John -](https://reader034.vdocuments.net/reader034/viewer/2022042321/5f0aa9437e708231d42cb741/html5/thumbnails/7.jpg)
Implemented Features
Create and Edit Favorites (Destination and Routes)
![Page 8: BusLinc Final Report - Computer Science and Engineeringcse.unl.edu/~seth/486/Final-Report-487-sp11/Andorid Final Presentat… · BusLinc Final Report Android StarPhone Team John -](https://reader034.vdocuments.net/reader034/viewer/2022042321/5f0aa9437e708231d42cb741/html5/thumbnails/8.jpg)
Implemented Features
Walking route and directions
![Page 9: BusLinc Final Report - Computer Science and Engineeringcse.unl.edu/~seth/486/Final-Report-487-sp11/Andorid Final Presentat… · BusLinc Final Report Android StarPhone Team John -](https://reader034.vdocuments.net/reader034/viewer/2022042321/5f0aa9437e708231d42cb741/html5/thumbnails/9.jpg)
Unimplemented Features
We were unable to implement the following:
ETA Feature (One of our main features)
Alerts when your bus is near arrival
Alerts when you have almost arrived at your stop
Resolutions for various Android devices
Professional Quality Images
Save Favorite destinations from Map
![Page 10: BusLinc Final Report - Computer Science and Engineeringcse.unl.edu/~seth/486/Final-Report-487-sp11/Andorid Final Presentat… · BusLinc Final Report Android StarPhone Team John -](https://reader034.vdocuments.net/reader034/viewer/2022042321/5f0aa9437e708231d42cb741/html5/thumbnails/10.jpg)
Improvements
Old: New:
![Page 11: BusLinc Final Report - Computer Science and Engineeringcse.unl.edu/~seth/486/Final-Report-487-sp11/Andorid Final Presentat… · BusLinc Final Report Android StarPhone Team John -](https://reader034.vdocuments.net/reader034/viewer/2022042321/5f0aa9437e708231d42cb741/html5/thumbnails/11.jpg)
Improvements
Old: New:
![Page 12: BusLinc Final Report - Computer Science and Engineeringcse.unl.edu/~seth/486/Final-Report-487-sp11/Andorid Final Presentat… · BusLinc Final Report Android StarPhone Team John -](https://reader034.vdocuments.net/reader034/viewer/2022042321/5f0aa9437e708231d42cb741/html5/thumbnails/12.jpg)
Improvements
Can handle no results SPINNERS!
![Page 13: BusLinc Final Report - Computer Science and Engineeringcse.unl.edu/~seth/486/Final-Report-487-sp11/Andorid Final Presentat… · BusLinc Final Report Android StarPhone Team John -](https://reader034.vdocuments.net/reader034/viewer/2022042321/5f0aa9437e708231d42cb741/html5/thumbnails/13.jpg)
Demo
Stand by...
![Page 14: BusLinc Final Report - Computer Science and Engineeringcse.unl.edu/~seth/486/Final-Report-487-sp11/Andorid Final Presentat… · BusLinc Final Report Android StarPhone Team John -](https://reader034.vdocuments.net/reader034/viewer/2022042321/5f0aa9437e708231d42cb741/html5/thumbnails/14.jpg)
Testing
Tested the server with shell scripts.
Tested units using J-Unit
Tested system with MonkeyRunner
![Page 15: BusLinc Final Report - Computer Science and Engineeringcse.unl.edu/~seth/486/Final-Report-487-sp11/Andorid Final Presentat… · BusLinc Final Report Android StarPhone Team John -](https://reader034.vdocuments.net/reader034/viewer/2022042321/5f0aa9437e708231d42cb741/html5/thumbnails/15.jpg)
Testing
What is MonkeyRunner?
It's an API
Opens up script in Jython (Java Python)
Uses API to run script on MonkeyDevice
Can install the app, open the app, make inputs, and take screen shots
![Page 16: BusLinc Final Report - Computer Science and Engineeringcse.unl.edu/~seth/486/Final-Report-487-sp11/Andorid Final Presentat… · BusLinc Final Report Android StarPhone Team John -](https://reader034.vdocuments.net/reader034/viewer/2022042321/5f0aa9437e708231d42cb741/html5/thumbnails/16.jpg)
Testing
from com.android.monkeyrunner import MonkeyRunner, MonkeyDevice
device = MonkeyRunner.waitForConnection()device.installPackage('C:/Users/Evan/workspace/BusLinc/bin/BusLinc.apk')package = 'com.transit.BusLinc'activity = 'com.transit.BusLinc.SplashActivity'runComponent = package + '/' + activitydevice.startActivity(component=runComponent)
MonkeyRunner.sleep(10)
device.touch(100,350,'DOWN_AND_UP')MonkeyRunner.sleep(2)device.type('pizza')device.press('KEYCODE_ENTER','DOWN_AND_UP')MonkeyRunner.sleep(4)device.touch(100,100,'DOWN_AND_UP')
![Page 17: BusLinc Final Report - Computer Science and Engineeringcse.unl.edu/~seth/486/Final-Report-487-sp11/Andorid Final Presentat… · BusLinc Final Report Android StarPhone Team John -](https://reader034.vdocuments.net/reader034/viewer/2022042321/5f0aa9437e708231d42cb741/html5/thumbnails/17.jpg)
Testing
from com.android.monkeyrunner import MonkeyRunner, MonkeyDevice
device = MonkeyRunner.waitForConnection()result = device.takeSnapshot()result.writeToFile('shot.png','png')
![Page 18: BusLinc Final Report - Computer Science and Engineeringcse.unl.edu/~seth/486/Final-Report-487-sp11/Andorid Final Presentat… · BusLinc Final Report Android StarPhone Team John -](https://reader034.vdocuments.net/reader034/viewer/2022042321/5f0aa9437e708231d42cb741/html5/thumbnails/18.jpg)
Future Work
High Quality Images that we have copyright to
Writing/Customizing the Balloon Map Overlays
Implement ETA Feature
Allow destinations to be saved from the map
Implement Alerts
Field Testing of the app
![Page 19: BusLinc Final Report - Computer Science and Engineeringcse.unl.edu/~seth/486/Final-Report-487-sp11/Andorid Final Presentat… · BusLinc Final Report Android StarPhone Team John -](https://reader034.vdocuments.net/reader034/viewer/2022042321/5f0aa9437e708231d42cb741/html5/thumbnails/19.jpg)
Questions?