• Stars
    star
    1,240
  • Rank 37,884 (Top 0.8 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created almost 9 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The ribot studio app for the Android Platform

Thank you for your interest in ribot’s development work. Unfortunately there are no current plans to make any changes to this project in the near future, and it is not being maintained or updated. We hope you still find this a useful resource.

ribot app Android

The official ribot app for android. It follows the architecture, tools and guidelines that we use when developing for the Android platform (https://github.com/ribot/android-guidelines)

Screenshots

The ribot app is an internal project based off of our Android Boilerplate. It was created to make us aware of our fellow ribots locations. Currently, the app allows you to:

  • Sign in - Sign in using your @ribot.co.uk Google account
  • Auto Check-in - Using Estimote beacons, the app will automatically check you in at your corresponding location in the ribot studio
  • Manual Check-in - Manually check yourself in at your current location
  • Team listing - View a list of ribots and their current check-in status

We've open sourced this to both showcase our efforts and allow you to recreate the experience in your own workplace - why not fork this project and give it a go?

Libraries

The libraries and tools used include:

Requirements

Build Instructions

In order to run this project, you'll need to setup several things beforehand:

  • Our application uses the ribot API to handle data requests, you'll need to clone this and configure it to your requirements. This application will not work without an API and the implementation in this repository requires the use of an @ribot.co.uk email address, so your own API is required if you wish to clone this project.

  • You'll need to set the values found in the gradle.properties file. This involves the web application client id (ribotAppGoogleApiServerClientId) and debug/release keystore locations, aliases and passwords. Ideally the UNDEFINED values found in this file should be defined in the Global gradle.properties that lives in ~/.gradle/gradle.properties

Architecture

This project follows our Android architecture guidelines. Read more about them here.

Code Quality

This project integrates a combination of unit tests, functional test and code analysis tools.

Tests

To run unit tests on your machine:

./gradlew test

To run functional tests on connected devices:

./gradlew connectedAndroidTest

Note: For Android Studio to use syntax highlighting for Automated tests and Unit tests you must switch the Build Variant to the desired mode.

Code Analysis tools

The following code analysis tools are set up on this project:

  • PMD: It finds common programming flaws like unused variables, empty catch blocks, unnecessary object creation, and so forth. See this project's PMD ruleset.
./gradlew pmd
  • Findbugs: This tool uses static analysis to find bugs in Java code. Unlike PMD, it uses compiled Java bytecode instead of source code.
./gradlew findbugs
./gradlew checkstyle

The check task

To ensure that your code is valid and stable use check:

./gradlew check

This will run all the code analysis tools and unit tests in the following order:

Check Diagram

Licence

Copyright 2015 Ribot Ltd.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

More Repositories

1

android-guidelines

Architecture and code guidelines we use at ribot when developing for Android
5,046
star
2

easy-adapter

[DEPRECATED] Easy Adapters library for Android
Java
421
star
3

assertj-rx

[DEPRECATED] AssertJ assertions for RxJava Observables
Java
117
star
4

dokku-slack

A plugin for Dokku that notifies Slack of deployments.
Shell
73
star
5

SublimeAndroidImport

A Sublime Text 2/3 plugin which automatically adds imports from the Android SDK.
Python
30
star
6

sketch-user-flow-docs

This plugin lets you link images in a document with an extenal image file and update them all at once.
Objective-C
20
star
7

ribot-api

An API to access information at ribot
JavaScript
12
star
8

pig

Pig aims to be the bridge in the middle of your native mobile UI and a some shared JavaScript business logic.
Java
11
star
9

sketch-toggle-locked-layers

JavaScript
10
star
10

SublimeAndroidSnippets

Snippets to help out with Android
8
star
11

IntentStub

An app for stubbing out built in Android apps for automated testing.
Java
8
star
12

android-wear-workshop

An example of how to use Android Wear, using Github Issues as an example.
Java
7
star
13

sketch-page-helpers

This plugin includes a few simple actions to make managing pages easier in Sketch.
5
star
14

slack-forecast

Simple web service to receive Forecast utilisation insights through a Slack command.
JavaScript
2
star
15

arcohol-ios

iOS Control for Arcohol Prototype
Swift
2
star
16

sketch-archive-artboard

JavaScript
2
star
17

arcohol-rpi

NodeJS Raspberry Pi server/client
JavaScript
2
star
18

riAPI

A simple API server to get information about the ribot team
JavaScript
1
star