Git Product home page Git Product logo

septa-android's Introduction

SEPTA-Android

License, Copyright and Trademark Disclaimer

Source code to the SEPTA Android application is available under the GPLv3 open source license, however, the SEPTA name, logo and graphics used in the app are not. Those are subject to the following Copyright and Trademark terms: http://www.septa.org/site/copyright.html

Project Setup

SQLite Database Preparation

  1. ** Rename the id field of your table to โ€œ_idโ€. It can be easily done by clicking the Modify Table button, and then choosing the necessary table and field names. (not needed for this particular SQLite database file)

  2. ** Add the android_metadata table. To do that, open the Execute SQL tab and paste this simple code into the SQL string field: (no longer needed; was successful in loading the last SQLite file without this step)

    CREATE TABLE android_metadata (locale TEXT);

    INSERT INTO android_metadata VALUES ('en_US');

  3. Compress the SQLite database file and put it into the "assets" directory for the app.

App Signing Set-up

  1. In your user local home directory, create a file named gradle.properties in the .gradle directory. This file is read by Android Studio upon startup

  2. In this file, create one line, which will look like below:

    SEPTA.signing = /Users/<username>/.signing/SEPTASigning

  3. Create a directory titled .signing.

  4. Create a file titled SEPTASigning.gradle.

  5. In the file titled SEPTASigning.gradle, create the lines, which will look like below:

     project.ext {
         SEPTA_DEVELOPMENT_KEYSTORE_FILE = '../../SEPTA-Keystores/septaandroid_development.jks'
     	SEPTA_PRODUCTION_KEYSTORE_FILE  = '../../SEPTA-Keystores/septaandroid_production.jks'
    
         SEPTA_DEVELOPMENT_KEYSTORE_PASSWORD = 'na'
         SEPTA_PRODUCTION_KEYSTORE_PASSWORD  = 'na'
    
         ALPHA_KEYALIAS_PASSWORD = 'na'
         PRERELEASE_KEYALIAS_PASSWORD = 'na'
         BETA_KEYALIAS_PASSWORD = 'na'
         RELEASE_KEYALIAS_PASSWORD = 'na'
         
         SPRINT_ROUND = '8'
    
     	GOOGLE_GEO_API_KEY = 'na'
         AMAZONAWS_API_KEY_PROD = 'na'
         AMAZONAWS_API_KEY_QA = 'na'
         AMAZONAWS_API_KEY_DEV = 'na'            
     	CRASHLYTICS_API_KEY = 'na'
    
     }
    
  6. Create a directory titled SEPTA-Keystores, which will be located in the parent directory of this project.

  7. Create two keystore files, one for development and one for production. Once you have created the keystore files, add the password to the SEPTASigning configuration file.

  8. Create the certificates in the keystore files as needed, add the password to the SEPTASigning configuration file.

Directories/Files

Directory: <home directory>/.gradle
file: gradle.properties
Directory: <home directory>/.signing
file: SEPTASigning

Content

Directory: <home directory>/.gradle
file: gradle.properties
SEPTA.signing = /<home directory>/.signing/SEPTASigning
Directory: <home directory>/.signing
file: SEPTASigning.gradle
project.ext { SEPTA_DEVELOPMENT_KEYSTORE_FILE = '../../SEPTA-Keystores/septaandroid_development.jks' SEPTA_PRODUCTION_KEYSTORE_FILE = '../../SEPTA-Keystores/septaandroid_production.jks'
		SEPTA_DEVELOPMENT_KEYSTORE_PASSWORD = 'na'
		SEPTA_PRODUCTION_KEYSTORE_PASSWORD  = 'na'

		ALPHA_KEYALIAS_PASSWORD = 'na'
		PRERELEASE_KEYALIAS_PASSWORD = 'na'
		BETA_KEYALIAS_PASSWORD = 'na'
		RELEASE_KEYALIAS_PASSWORD = 'na'

        SPRINT_ROUND = '8'

    	GOOGLE_GEO_API_KEY = 'na'
        AMAZONAWS_API_KEY_PROD = 'na'
        AMAZONAWS_API_KEY_QA = 'na'
        AMAZONAWS_API_KEY_DEV = 'na'  
		CRASHLYTICS_API_KEY = 'na'
	}

septa-android's People

Contributors

mtl3jx avatar brianhmayo avatar josephkampf avatar jhunch avatar antoinecampbell avatar yannick-b avatar jchunch avatar mierlick avatar rdrobinson3 avatar ttuggerson avatar septadev avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.