Design and Implementation of an Improved Android Application for Bard Shuttle Services

Total Page:16

File Type:pdf, Size:1020Kb

Design and Implementation of an Improved Android Application for Bard Shuttle Services Bard College Bard Digital Commons Senior Projects Spring 2017 Bard Undergraduate Senior Projects Spring 2017 Design and Implementation of an Improved Android Application for Bard Shuttle Services Chance O'Neihl Wren Bard College, [email protected] Follow this and additional works at: https://digitalcommons.bard.edu/senproj_s2017 Part of the Computer and Systems Architecture Commons, Data Storage Systems Commons, Other Computer Engineering Commons, and the Systems and Communications Commons This work is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 4.0 License. Recommended Citation Wren, Chance O'Neihl, "Design and Implementation of an Improved Android Application for Bard Shuttle Services" (2017). Senior Projects Spring 2017. 270. https://digitalcommons.bard.edu/senproj_s2017/270 This Open Access work is protected by copyright and/or related rights. It has been provided to you by Bard College's Stevenson Library with permission from the rights-holder(s). You are free to use this work in any way that is permitted by the copyright and related rights. For other uses you need to obtain permission from the rights- holder(s) directly, unless additional rights are indicated by a Creative Commons license in the record and/or on the work itself. For more information, please contact [email protected]. Design and Implementation of an Improved Android Application for Bard Shuttle Services A Senior Project submitted to The Division of Science, Mathematics, and Computing of Bard College by Chance Wren Annandale-on-Hudson, New York May, 2017 P a g e | 1 Abstract With the growing population of Bard College, the need for the college’s shuttle system continues to grow. As a result, enabling the Bard community to quickly and easily access the shuttle schedules and times, has also become more important in the daily of life of Bard College's inhabitants. Although Bard College has a mobile application for Android and iPhone mobile devices alike, there was a growing demand for a new improved shuttle application for Android mobile devices. This project seeks to improve the functionality, user friendliness, and availability of shuttle schedules to the Bard Community, in the form of a new mobile application. This project comprises of three parts: application design, implementation, and beta-testing. The application design consists of the design and structure of the user interface and backend database. The implementation consists of what tools were crucial to the development of the application, such as the type of database used to store shuttle information, the programming language used, and the development environment, just to name a few. Lastly, beta-testing consisted of a small group of Bard students that volunteered to use an early version of the application for a specified amount of time to provide feedback for possible changes and improvements. P a g e | 2 Table of Contents Abstract ........................................................................................................................................................ 1 Acknowledgements ...................................................................................................................................... 3 Chapter 1: Introduction ................................................................................................................................ 4 1.1 Problem Description ............................................................................................................................ 4 1.2 Project Goals ....................................................................................................................................... 5 1.3 Contributions ....................................................................................................................................... 6 Chapter 2: Background ................................................................................................................................. 7 2.1 Previous Bard Shuttle Application ...................................................................................................... 7 2.2 Resources and Tools............................................................................................................................ 8 2.3 SQL/SQLite and Online Database Connection .................................................................................. 10 2.4 Android Studio Integrate Development Environment (IDE) ............................................................. 11 2.5 Github................................................................................................................................................ 12 Chapter 3: Mobile Application Design ....................................................................................................... 14 3.1 Use Case Diagrams ............................................................................................................................ 14 3.2 SQLite Database Setup and Structure ............................................................................................... 17 3.3 User Interface (UI) Design ................................................................................................................. 20 3.4 User Interface Technical Implementation ........................................................................................ 22 3.5 SQLite Database Implementation ..................................................................................................... 34 3.6 Alarm Services Implementation ........................................................................................................ 46 Chapter 4: Conclusion ................................................................................................................................ 53 4.1 Beta Tester Feedback and Limitations .............................................................................................. 53 4.2 Future Work ...................................................................................................................................... 56 Appendices ................................................................................................................................................. 58 A Functions for AlertDialogs for CampusShuttle class ......................................................................... 58 B Android Studio Interface Images ........................................................................................................ 59 C Android Studio Emulator Images ....................................................................................................... 60 D Bard College Shuttle Github Repository ............................................................................................ 62 Bibliography................................................................................................................................................ 63 P a g e | 3 Acknowledgements I would first like to thank my friends and family whose love and support for me thus far has enabled me to pursue my passions throughout my life and especially my college career. I would also like to thank Sven Anderson for teaching an amazing course on Android Application Development, without which my project wouldn’t have been possible. Lastly, I also want to extend my heartfelt appreciation and gratitude for my supervisor Khondaker Salehin who guidance, expertise, and encouragement were vital to the completion of this project. P a g e | 4 1 Introduction 1.1 Problem Description Since enrolling at Bard College, the shuttle services have played a pivotal role in the quality of campus life for not only students like myself, but teachers and other Bard College staff alike. Bard College currently offers two mobile applications for easy access to its shuttle schedule. One is present on the iPhone and the other on Android devices, with each helping to provide students and staff with a more user-friendly way of viewing the campus shuttle schedule. Both have room for various changes and improvements, but since my expertise is limited to that of the Android device platform, it will be the sole focus of my project. The current Bard College shuttle application available for Android devices is simple, user-friendly and provides up-to-date shuttle arrival and departure times based on the user’s selected start and destination point. Unfortunately, although simple and easy to use, the current shuttle app user interface needs to be updated to better fit the resolution of newer devices and android operating systems. Secondly, since the shuttle app is maintained by an individual that no longer attends Bard College in some instances it has taken weeks, sometimes months for the application to be updated to the new school year’s shuttle schedule and times, and as of 2017 the current shuttle application no longer provides any shuttle times. Thirdly, the current shuttle application only provides shuttle times for the local Campus Shuttle whose route extends from the town of Tivoli to the Hannaford’s supermarket. Although Bard College offers shuttle services to local train stations, Rhinebeck, P a g e | 5 Woodbury Commons Mall, Kingston Mall, and special shuttle schedules for the L&T program, summer and winter break, neither current mobile application give users the option of viewing their shuttle times. Lastly, Although Bard College maintains the available list of shuttle times on their transportation
Recommended publications
  • MTS4CC Elementary Stream Compliance Checker Tutorials 001-1415-00
    MTS4CC Elementary Stream Compliance Checker Tutorials 001-1415-00 This document applies to software version 1.0 and above. www.tektronix.com Copyright © Tektronix. All rights reserved. Licensed software products are owned by Tektronix or its subsidiaries or suppliers, and are protected by national copyright laws and international treaty provisions. Tektronix products are covered by U.S. and foreign patents, issued and pending. Information in this publication supercedes that in all previously published material. Specifications and price change privileges reserved. TEKTRONIX and TEK are registered trademarks of Tektronix, Inc. Contacting Tektronix Tektronix, Inc. 14200 SW Karl Braun Drive P.O. Box 500 Beaverton, OR 97077 USA For product information, sales, service, and technical support: H In North America, call 1-800-833-9200. H Worldwide, visit www.tektronix.com to find contacts in your area. Table of Contents Getting Started............................................ 1 Basic Functions.................................................. 2 How to Begin a Tutorial........................................... 2 Tutorial 1: H.263 Standards Compliance and Motion Vectors..... 3 Procedure...................................................... 3 Conclusion..................................................... 8 Tutorial 2: MPEG-4 Compliance............................. 9 Procedure...................................................... 9 Conclusions..................................................... 15 Tutorial 3: MP4 Compliance Basics..........................
    [Show full text]
  • Princeton University COS 217: Introduction to Programming Systems a Minimal COS 217 Computing Environment
    Princeton University COS 217: Introduction to Programming Systems A Minimal COS 217 Computing Environment 1. Access the Fall 2020 COS 217 Account on Ed 1.1. You can access Ed through Canvas. 1.2 Post questions and comments (that comply with the course communication policies) to Ed. Posts will be available to all other students and instructors. Remember to check Ed often, especially while working on assignments and preparing for exams. 2. Activating Your University Computing Account One time only… 2.1. (If you're working off-campus) Perform the instructions on this web page to use SRA (secure remote access): http://helpdesk.princeton.edu/kb/display.plx?ID=6023 2.2. Use a Web browser to visit the OIT Account Activation Page at http://helpdesk.princeton.edu/kb/display.plx?ID=9973 2.3. Perform the five steps listed in the Set Your Security Profile section of the page to set your security profile. 2.4. In the After You Have Activated Your Account section of the page, click on the Enable your Unix account link. If you do not see these options on the page, then from the webpage in Step 2.2, in the gray box on the right, click on “How to activate your Princeton University Account and manage personal information." On that new page, scroll down to "Enable your Unix account." 2.5. In the resulting Unix: How do I enable/change the default Unix shell on my account? page, click on the Enable Unix Account link. 2.6. In the resulting dialog box, type your Princeton netid and password, and click the OK button.
    [Show full text]
  • Copyrighted Material
    11_783269 bindex.qxp 11/10/06 11:15 AM Page 209 Index applications (defined), 205. See also programs Numerics arranging windows, 43–44 100% button (Internet Explorer 7), 99–100 assigning sounds to program events, 24 audio visualizations, 186 A Windows Media Player 11, 183, 185–186 accessibility options, 156 audio CDs. See CDs accessories, 205 Audio Description feature, 157 account types, 169 AutoComplete feature (Internet Explorer 7), 101 accounts (administrative), 169 automatic updates with Windows Update, 161–162, 167 accounts (e-mail), 124 AutoPlay, 13, 148, 151 accounts (user) Autosearching feature (Internet Explorer 7), 113 account types, 169 adding, 169 creating, 169 B deleting, 170 backgrounds for desktop, 24 managing, 168, 170 Backup and Restore Center, 140–143, 146 names, 169 Backup Files dialog box, 141 Parental Controls, 170 backups passwords, 169 CompletePC Backup utility, 140–142 pictures, 169–170 DVD discs, 142 switching, 74 File and Folder Backup utility, 140–142 User Account Control (UAC), 170 Send To shortcut menu command, 64–65 activity reporting, 165 stopping, 141 activity reports, 166 BitLocker drive encryption, 163–164 Add Printer Wizard, 149–151 blocking Add to Library dialog box, 187 computer use, 165 adding Web sites, 165 bookmarks to Favorites Center, 102 blog, 208 gadgets, 31–32 bookmarks (Internet Explorer 7) icons, 35 adding to Favorites Center, 102 languages, 155–156 deleting, 104 music, 187 importing, 101 printers, 149–151 moving, 103–105 user accounts, 169 organizing, 103–105 address bar, 15–16 renaming, 104 address book, 128–130 selecting, 103 Address toolbar, 41 browser (defined), 208. See also Internet Explorer 7 adjusting volume, 152 browsing offline.
    [Show full text]
  • Abaqus GUI Toolkit User's Guide
    Abaqus GUI Toolkit User’s Guide ABAQUS 6.14 GUI TOOLKIT USER’S GUIDE Abaqus ID: Printed on: Abaqus GUI Toolkit User’s Guide Abaqus ID: Printed on: Legal Notices CAUTION: This documentation is intended for qualified users who will exercise sound engineering judgment and expertise in the use of the Abaqus Software. The Abaqus Software is inherently complex, and the examples and procedures in this documentation are not intended to be exhaustive or to apply to any particular situation. Users are cautioned to satisfy themselves as to the accuracy and results of their analyses. Dassault Systèmes and its subsidiaries, including Dassault Systèmes Simulia Corp., shall not be responsible for the accuracy or usefulness of any analysis performed using the Abaqus Software or the procedures, examples, or explanations in this documentation. Dassault Systèmes and its subsidiaries shall not be responsible for the consequences of any errors or omissions that may appear in this documentation. The Abaqus Software is available only under license from Dassault Systèmes or its subsidiary and may be used or reproduced only in accordance with the terms of such license. This documentation is subject to the terms and conditions of either the software license agreement signed by the parties, or, absent such an agreement, the then current software license agreement to which the documentation relates. This documentation and the software described in this documentation are subject to change without prior notice. No part of this documentation may be reproduced or distributed in any form without prior written permission of Dassault Systèmes or its subsidiary. The Abaqus Software is a product of Dassault Systèmes Simulia Corp., Providence, RI, USA.
    [Show full text]
  • Setting up a New Ing up a New MLS Computer in Australia in Australia
    Setti ng Up a New MLS Computer in Australia Page 1 of 6 Australia Computer Setting Up a New MLS Computer in Australia Last Updated: 8 May 2013 When a Church unit receives a new computer, it will come preconfigured with tools that allow Church headquarters to remotely manage and secure the machine. It is therefore importa nt to use the image the computer ships with instead of bui lding one. It is recommended that each computer run for four to five hours a week so that it can receive Windo ws and antivirus updates and so Church headquarters can perform any other needed tasks. Each new computer ships with a USB thumb drive that can be used to transfer data from the old computer to the new one. It can then be used to back up MLS data. The steps below explain how to set up a new clerk computer. They should be followed in order and co mpleted under the direction of the stake or district technology speci alist. 1. Back up data and reset security token. a. Back up MLS data on the o ld computer. 1. Open MLS and log in. 2. Click File, and then click Backup to a F ile. 3. Save the file to the USB thumb drive that came with the new computer. b. Write down all dialer options from MLS to use later. 1. In MLS, click Edit and then System Options. 2. Click the System tab along the top-left side of the screen. 3. Write down all of the s ettings defined on the screen.
    [Show full text]
  • Biopharma Finder 3.2 Installation Instructions
    Thermo BioPharma Finder 3.2 Installation Instructions Follow the instructions in this document to install and license the Thermo BioPharma Finder™ software, version 3.2. You must be a system administrator on the installation computer to install the software. You may license the application as either an administrator or as a standard user. Contents • Checking the Language, Keyboard, and Location Settings • Database Backup Options • Retrieving the Backed-Up Database • Clearing the Security Setting to View the Installation Report • Installing the BioPharma Finder Software • Activating the License • Tra d e m ark s IMPORTANT If you currently have submitted jobs in the run queue, make sure to run and complete these experiments before you install the new software version. Checking the Before installing the software, check your language, keyboard, and location settings on your system and change them Language, as necessary. Keyboard, To check and change the settings and Location 1. Choose Start > Control Panel to open the Control Panel window. Settings 2. Under the Clock, Language, and Region area, click Change keyboards or other input methods (see Figure 1). Figure 1. Control Panel window Click here. Revision A, XCALI-98122 © 2019 Thermo Fisher Scientific Inc. All rights reserved. 3. In the Region and Language dialog box, click the Keyboards and Languages tab, and then click Change Keyboards (see Figure 2). Figure 2. Region and Language dialog box showing Keyboards and Languages tab Click here. 4. In the Text Services and Input Languages dialog box, click the General tab. Make sure that the Default Input Language area shows English (United States) - US (see Figure 3).
    [Show full text]
  • Overview of the Cisco UCS Central GUI
    Overview of the Cisco UCS Central GUI This chapter includes the following sections: • Overview of Cisco UCS Central GUI, page 1 • Logging into and out of the Cisco UCS Central GUI, page 2 • Launching Cisco UCS Manager for a UCS Domain, page 3 • Importing a Policy, page 4 • Configuring Identifier Policies, page 4 • Determining Where a Pool Is Used, page 5 Overview of Cisco UCS Central GUI The Cisco UCS Central GUI provides a graphical interface to Cisco UCS Central. You can access the GUI from any computer that meets the requirements listed in the System Requirements section of the Release Notes for Cisco UCS Central. The Cisco UCS Central GUI contains the following areas and panes: • The UCS Faults area that shows the number of aggregated faults for all Cisco UCS domains registered with Cisco UCS Central. • A menu bar across the top of the window that provides access to the main categories of information in Cisco UCS Central. • A Navigation pane on the left that provides an expandable tree view of the information available under each menu category. • A Work pane on the right that displays the tabs associated with the node selected in the Navigation pane. The menu bar contains the following items: • Equipment—Provides access to the Cisco UCS Central domain groups, domain group policies, registered Cisco UCS domains, and a fault summary for the Cisco UCS domains. • Servers—Provides access to the service profiles and service profile templates configured in the registered Cisco UCS domains, as well as the global UUID suffix pools configured in Cisco UCS Central.
    [Show full text]
  • Copyrighted Material
    Index Numerics Address Resolution Protocol (ARP), 1052–1053 admin password, SOHO network, 16-bit Windows applications, 771–776, 985, 1011–1012 900, 902 Administrative Tools window, 1081–1083, 32-bit (x86) architecture, 124, 562, 769 1175–1176 64-bit (x64) architecture, 124, 562, 770–771 administrative tools, Windows, 610 administrator account, 1169–1170 A Administrators group, 1171 ADSL (Asynchronous Digital Subscriber Absolute Software LoJack feature, 206 Line), 1120 AC (alternating current), 40 Advanced Attributes window, NTFS AC adapters, 311–312, 461, 468–469 partitions, 692 Accelerated Graphics Port (AGP), 58 Advanced Computing Environment (ACE) accelerated video cards (graphics initiative, 724 accelerator cards), 388 Advanced Confi guration and Power access points, wireless, 996, 1121 Interface (ACPI) standard, 465 access time, hard drive, 226 Advanced Graphics Port (AGP) card, access tokens, 1146–1147 391–392 Account Operators group, 1172 Advanced Graphics Port (AGP) port, 105 ACE (Advanced Computing Environment) Advanced Host Controller Interface (AHCI), initiative, 724 212–213 ACPI (Advanced Confi guration and Power Advanced Micro Devices (AMD), 141–144 Interface) standard, 465 Advanced Packaging Tool (APT), 572 Action Center, 1191–1192 Advanced Power Management (APM) Active Directory Database, 1145–1146, 1183 standard, 465 active heat sink, 150 Advanced Programmable Interrupt active matrix display, LCD (thin-fi lm Controller (APIC), 374 transistor (TFT) display), 470 Advanced RISC Computing Specifi cation active partition, 267,
    [Show full text]
  • Creating Investment Alerts in Morningstar Direct
    Creating Investment Alerts in Morningstar Direct Onboarding Guide Direct Copyright © 2020 Morningstar, Inc. All rights reserved. The information contained herein: (1) is proprietary to Morningstar and/or its content providers; (2) may not be copied or distributed; (3) is not warranted to be accurate, complete or timely; and (4) does not constitute advice of any kind. Neither Morningstar nor its content providers are responsible for any damages or losses arising from any use of this information. Any statements that are nonfactual in nature constitute opinions only, are subject to change without notice, and may not be consistent across Morningstar. Past performance is no guarantee of future results. Morningstar Direct January 2020 © 2020 Morningstar. All Rights Reserved. Contents Overview . 4 Exercise 1: Update the default settings for alerts . 5 Exercise 2: Create a price alert for a stock . 6 Exercise 3: Create a Morningstar Alert. 8 Exercise 4: Create a Filings Alert. 11 Exercise 5: Edit an alert rule . 12 Exercise 6: Delete an alert rule . 13 Morningstar Direct January 2020 3 © 2020 Morningstar. All Rights Reserved. Creating Investment Alerts in Morningstar DirectSM Morningstar DirectSM allows users to create alerts to be notified of any significant Overview changes – such as a manager change or a Morningstar Rating change – for an investment of your choice. The following types of alerts can be created: g Price alerts g Morningstar alerts, and g Filings alerts. This guide shows users how to create each alert type with the following exercises: g Exercise 1: Update the default settings for alerts (page 5) g Exercise 2: Create a price alert for a stock (page 6) g Exercise 3: Create a Morningstar Alert (page 8) g Exercise 4: Create a Filings Alert (page 11) g Exercise 5: Edit an alert rule (page 12) g Exercise 6: Delete an alert rule (page 13) Morningstar Direct January 2020 4 © 2020 Morningstar.
    [Show full text]
  • Acrobuttons Quick Start Tutorial
    AcroButtons User’s Manual WindJack Solutions, Inc. AcroButtons© Quick Start Guide AcroButtons by Windjack Solutions, Inc. An Adobe® Acrobat® plug-in for creating Toolbar Buttons. The Fastest Button There are 5 quick steps to creating a custom toolbar button.. 1. Create a New Button 2. Name the button. 3. Select the image to appear on the button face. 4. Select the Action the button will perform. 5. Save to button to a file. Create a New Button There are two ways to start making your own Acrobat Toolbar Button. 1. Press the button on Acrobat’s Advanced Editing Toolbar. If this toolbar is not visible, then activate it from the menu option View–> Toolbars–> Advanced Editing. 2. Select the menu option Advanced–>AcroButtons–>Create New AcroButton Each of these Actions starts the process of creating a new toolbar button by displaying the Properties Panel for a new button. All values are set to defaults, including the button icon. (See The Properties Panel in the AcroButtons User’s Manual) At this point you could press “Ok” and a new toolbar button would appear on Acrobat’s toolbar. The image on the new button would be the icon that’s currently showing in the Properties Panel (question mark with a red slash through it). This button wouldn’t be very interesting though because it doesn’t do anything. 1 AcroButtons User’s Manual WindJack Solutions, Inc. Name the Button Change the default name, “Untitled0”, to something more descriptive. For this example change it to “NextPage”. The button’s name is important for several different reasons.
    [Show full text]
  • Window Open() Method Syntax Window.Open(URL, Name, Specs, Replace) Parameter Values
    Window open() Method Syntax window.open(URL, name, specs, replace) Parameter Values Parame Description ter URL Optional. Specifies the URL of the page to open. If no URL is specified, a new window/tab with about:blank is opened name Optional. Specifies the target attribute or the name of the window. The following values are supported: _blank - URL is loaded into a new window, or tab. This is default _parent - URL is loaded into the parent frame _self - URL replaces the current page _top - URL replaces any framesets that may be loaded name - The name of the window (Note: the name does not specify the title of the new window) specs Optional. A comma-separated list of items, no whitespaces. The following values are supported: channelmode=yes|no|1|0 Whether or not to display the window in theater mode. Default is no. IE only directories=yes|no|1|0 Obsolete. Whether or not to add directory buttons. Default is yes. IE only fullscreen=yes|no|1|0 Whether or not to display the browser in full-screen mode. Default is no. A window in full-screen mode must also be in theater mode. IE only height=pixels The height of the window. Min. value is 100 left=pixels The left position of the window. Negative values not allowed location=yes|no|1|0 Whether or not to display the address field. Opera only menubar=yes|no|1|0 Whether or not to display the menu bar resizable=yes|no|1|0 Whether or not the window is resizable. IE only scrollbars=yes|no|1|0 Whether or not to display scroll bars.
    [Show full text]
  • AVEVA Insight Workshop
    AVEVA Insight Workshop Wonderware Headquarters Summit Publish date: 8.1.2019 Revision 2.0 Wonderware Today 1/3 of the World’s Plants use Wonderware* 1.6M+ Licenses Installed st #1 on the Market 1 HMI/SCADA on Windows – since 1987 Lowest Risk SCADA Solution Easiest to Use 30 Years Seamless Migration Local and Global Support 3,500 System Integrators Scalable Single Node to Enterprise SCADA Add Capability When Needed Wonderware California • Your Local Wonderware Resource since 1992 • Application Consulting & Industry Expertise • Local Education • Training • Free workshops San Francisco • Wonderware California YouTube Channel • Local Technical Support: • Your Questions Answered Now! • Professional IT Services • Servers & Computers with Wonderware Pre-Installed Irvine • Virtualized & High Availability Systems • 120+ Registered System Integrators & OEMs in California Wonderware Headquarters Summit What is AVEVA Insight • Secure, managed Cloud Historian (8,000+ Connected Systems) • Collect, Store & Visualize Equipment Process and Performance Data • Consistently Capture Accurate, Real-Time Data Automatically from Anywhere • User Friendly Access to Data, No Business Network Access Needed (i.e. VPN) • Insight Browser Client • Insight Mobile App • Excel App • Supported Data Sources • Wonderware Product Line • OPC • JSON • .CSV AVEVA Insight Architecture CONFIDENTIAL PAGE // 6 Benefits of AVEVA Insight • Access Your Data Anytime, Anywhere – Easily with No Hassles! • Up and Running in as Little as 5 Minutes How Customers Use It • Save Costs – Little IT Infrastructure & Maintenance How Customers Use It CONFIDENTIAL PAGE // 7 Business KPIs and Mobile App CONFIDENTIAL PAGE // 8 Excel Add-in CONFIDENTIAL PAGE // 9 Cloud Visualization CONFIDENTIAL PAGE // 10 AVEVA Insight Workshop Brough to you by: Wonderware California Revision 2.0 126 Mill St.
    [Show full text]