Skip to content

openhab/openhab-android

Repository files navigation

GitHub Action Crowdin
Logo
openHAB client for Android

Introduction

This app is a native client for openHAB which allows easy access to your sitemaps. The documentation is available at www.openhab.org/docs/.

Get it on Play Store Get it on F-Droid Get it on GitHub

Features

Demo Overview Widget Overview Main UI

Beta builds

Beta builds are distributed via GitHub and F-Droid. Those builds can be installed alongside the stable version.

On Google Play you can opt-in to get updates of stable versions before others: https://play.google.com/apps/testing/org.openhab.habdroid

Localization

Concerning all strings.xml files at mobile/src/*/res/values-*/

All language/regional translations are managed with Crowdin. Please do NOT contribute translations as pull requests against the mobile/src/*/res/values-*/strings.xml files directly, but submit them through the Crowdin web service:

Thanks for your consideration and contribution!

Setting up development environment

If you want to contribute to Android application we are here to help you to set up development environment. openHAB client for Android is developed using Android Studio.

  • Download and install Android Studio
  • Check out the latest code from GitHub via Android Studio
  • Install SDKs and Gradle if you get asked
  • Click on "Build Variants" on the left side and change the build variant of the module "mobile" to "fullStableDebug".

You are ready to contribute!

Before producing any amount of code please have a look at contribution guidelines

Build flavors

An optional build flavor "foss" is available for distribution through F-Droid. This build has FCM and crash reporting removed and will not be able to receive push notifications from openHAB Cloud.

For using map view support in the "full" build flavor, you need to visit the Maps API page and generate an API key via the 'Get a key' button at the top. Then add a line in the following format to the 'gradle.properties' file (either in the same directory as this readme file, or in $HOME/.gradle): mapsApiKey=<key>, replacing <key> with the API key you just obtained.

Trademark Disclaimer

Product names, logos, brands and other trademarks referred to within the openHAB website are the property of their respective trademark holders. These trademark holders are not affiliated with openHAB or our website. They do not sponsor or endorse our materials.

Google Play and the Google Play logo are trademarks of Google Inc.