Skip to content

Android project to demonstrate the usage of the Brockman Java library.

License

Notifications You must be signed in to change notification settings

johnjohndoe/BrockmanDemo

Repository files navigation

Build Status Apache License

Brockman demo

Android project to demonstrate the usage of the Brockman library

Brockman demo app

Usage

There is an app module to checkout a working example.

This project contains two product flavors: dev and live which are configured in app/build.gradle. In both flavors a STREAMING_API_BASE_URL and a STREAMING_API_OFFERS_PATH are configured.

  • dev: Configures the app to load data from a static file - in case the API is not online
  • live: Configures the app to load data from the live API of the CCC

Gradle build

To install the demo application to your device run the following task:

$ ./gradlew installDebug

Author

License

Copyright 2015 - 2021 Tobias Preuss

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.