Skip to content

Installing (closed-source) packages from the CLAID developer repo

The CLAID developer repo is a closed-source repository for CLAID packages which we are not able to share publicly (e.g., due to usage of closed-source third-party SDKs).

On the CLAID developer repo, you can find the following:

  • Previews and snapshots of new CLAID releases
  • Packages for data collection from devices which have a closed-soruce SDK (e.g., Samsung Galaxy Watch)
  • Packages with closed-source AI models (e.g., our cough detector model)

The CLAID developer repo is available via nexus.adamma.ethz.ch. To use it, you require CLAID developer credentials, which you can request from us by sending an E-mail to the CLAID maintainer. You first need to set up/install the CLAID developer credentials, and then you can include packages from our repo.

Currently only supports Android/WearOS packages

For now, you can only install Android/WearOS packages from our repo, but we will expand the repo in the future to include pub and pip packages as well.

Setting up CLAID developer credentials

Once you have received credentials for the CLAID developer repo from us, you need to install them either system-wide or for a certain application.

  • For a specific App: You can specify the credentials for each App separately. This allows to enable/disable access to the repo for different Apps
  • System-wide: If you set up the credentials system-wide, you have access to the CLAID developer repo from all CLAID apps you develop.
Installing the CLAID developer credentials

You can install the CLAID developer credentials either per App or system-wide. Choose your prefered option below:

To set up the credentials, you have to put them in a file called "developer_settings.txt" contained in the App.

  1. If you created your App by cloning from our template repository, this file is already created and you just need to fill it out.
  2. If you created an App yourself, you have to first create the file in the root of your app.

Find the file from the root folder of your App. If the files does not exist, simply create it.

Image

Fill out the repo_url, developer_name and developer_password with the credentials you received from us.

repo_url=url_to_claid_developer_repo
developer_name=your_developer_name
developer_password=your_developer_password

Do not use any quotiation marks!

For installing the CLAID developer credentials system wide, you have to create folder ".claid" in the home directory of your user:

mkdir ~/.claid

Then, create a file "developer_settings.txt" in that folder:

touch ~/.claid/developer_settings.txt

Put the following contents in the file you just created. Fill out the repo_url, developer_name and developer_password with the credentials you received from us.

repo_url=url_to_claid_developer_repo
developer_name=your_developer_name
developer_password=your_developer_password

Do not use any quotiation marks!

Installing packages from the repo

Once you have set up the CLAID credentials, installing packages from our developer repo is the same as installing open-source packages.

Installing a CLAID package from the developers repo

First, open the build.gradle file of your Application on the Module level (mind that there are typically two build.gradle files!):

Image

Inside of the depdendencies tag, add the dependency to the CLAID package you want to use from maven. You can typically find the exact command by selecting the package from our package overview.

implementation 'claid_developers.com.domain:package:version'
Finding the right command to include a package

If you are unsure about what a package is called, or which packages you can access, log in online on our developer repo and browse the available packages. If you find a package and click on the aar file, you can see the command to include a package on the right under "Usage". Alternatively, check our package overview page and check to respective installation section of the desired package.