GithubHelp home page GithubHelp logo

mhacks-android's Introduction

The Official MHacks Android App

Get it on Google Play

About

The goal of this project is to provide a modular and open source Android client for hackathons of all sizes. Feel free to fork this project and deploy this client for your event.

If you use our code, please link back to this GitHub page and shoot us a line. We'd love to see what you're working on!

Building

The project has been built with Android Studio, and consequently uses the Gradle build system. If you have used Gradle before, great! If you haven't, you might want to take a look at some guides online.

To build the project for debug, you should only need to import it into Android studio. You may also build it from the command line, using:

$ ./gradlew clean assembleDebug

If you plan on building this project for release, you'll need to add a signingConfig block to app/build.gradle with your keys. This will depend on how you plan on signing it.

NOTE: You may need to clean your project and sync Gradle files before your first run. Build > Clean project

Prerequisites

To build this project, there are several requirements.

  1. google-services.json

    This file is needed to use Google Play Services. More specifically, for Google Maps integration, you must register on Google's website to receive this key

  2. gradle.properties

    This file contains API keys that are used throughout the app. This is not added to the project for security reasons. Note that there are not quotation marks around MHACKS_GOOGLE_MAPS_API_KEY and there are double quotation marks around GCM_SERVER_ID.

  3. MHACKS_GOOGLE_MAPS_API_KEY=examplekey
    GCM_SERVER_ID="example_key"
    
    // This is needed to transform App Compat libraries in third
    // party libraries to be compat with the newer AndroidX 
    // packages.
    android.useAndroidX = true
    android.enableJetifier = true
    
    // Needed to use data binding for feature modules.
    android.enableExperimentalFeatureDatabinding = true
  4. Android Studio 3.2

    This project uses tools available on a recent version of Android Studio. Older versions of the IDE may not support some aspects of the development.

Goals

  • Demonstrate a good understanding of software architecture and tooling that are important in maintaining a modern codebase.
  • Uses MVVM, in the form of Architecture Components ViewModel, as a solution for seperation of concerns and implementing clean architecture.
  • Conforming to Material Design standards in creating a predictable and intuitive UI.
  • Sensible file and project organization.
  • Demonstrate the use of common Android libraries used commonly for modern codebases.
  • Use dependency injection with Dagger 2 to produce decoupled objects and services, reduces the amount of boilerplate.
  • Use Data Binding to bind UI in a declarative method.

Screenshots

Welcome Screen / Timer Ticket

Credits

We would like to thank the maintainers of the following for past and present version of the app:

License

The MIT License (MIT)

Copyright (c) 2018 MHacks

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

mhacks-android's People

Contributors

jeffchang5 avatar omkarmoghe avatar damianw avatar shashankmurching avatar boztalay avatar mdragon159 avatar dgriyu avatar anksh avatar ashsax avatar og7593 avatar antoniomika avatar szechy avatar adammc331 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.