Code Monkey home page Code Monkey logo

lokki-android's Introduction

lokki-android Build Status

Development

To develop this application you will need the Android SDK.

Build instructions

First replace ApiUrl in ServerAPI.java with a valid URL leading to the server-side component. Then run the following command in the project root to build the project:

$ ./gradlew assembleDevelopment

To install the debug build on an emulator run the following command in the project root (version number is determined by versionName in App/build.gradle):

$ adb install -r App/build/outputs/apk/lokki-v[versionName]-debug.apk

To install it on a device, connect a device via USB (make sure USB debugging is enabled on the device) and run the command:

$ adb install -rd App/build/outputs/apk/lokki-v[versionName]-debug.apk

For further information see the Android documentation.

Product flavors

Project has different product flavors, that can be specified by adding either "Development" or "Production" after some of the gradle commands, like this:

$ ./gradlew assembleDevelopment
$ ./gradlew assembleProduction

Currently product flavors differ only by server URL they're using.

Tests

To run the tests run the following command in the project root:

$ ./gradlew connectedAndroidTestDevelopment

Make sure an emulator or device is connected, running and the screen is unlocked. If it looks like your tests are failing without a good reason, try to disable animations in your device/emulator you're using.

Contributing

Guidelines

For general code style guidelines see the Android code style guidelines. Contrary to what the document says, these are not strict rules for the lokki-android project.

For design follow the Material design guidelines. Be sure to make your changes compatible with pre-Lollipop devices with the Android Support Library.

GitHub Issue label explanations

  • bug - the issue concerns a bug somewhere in the project

  • documentation - the issue concerns the documentation of the project/application

  • duplicate - the issue is considered a duplicate of some other issue

  • enhancement - a minor change to an existing feature

  • feature request - a new feature idea requested to be implemented to the app

  • in progress - someone is currently working on this issue

  • invalid - the issue or pull request is invalid for some reason

  • ready - the issue is ready to be started

  • test - the issue concerns the test suite of the project

  • wontfix - the issue wont be fixed or implemented

See the Lokki Wiki for more information on development.

Note

Lokki is available to the open source community under Apache v2 license AS IS.

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.