Direkt zum Hauptinhalt

App for Android

Sismics Docs is an easy to use, modern and nice DMS (document management system). Sismics Docs can be used on Android. But at the moment there is no downloadable App on Google PlayStore. In the offical git repository you can find the required sources to compile it for yourself. This short tutorial will show you how you can do this. Please feel free to leave comments about additions and corrections. As usual different configurations force different bugs at different users.

Variant 1: Build with Android Studio

  1. Install Android Studio
  2. Run Android Studio
  3. Open the project "docs-android" in Android Studio
  4. Connect Smartphone by USB in "data transfer" mode
  5. Run the build process "Run" → "Run 'app'" - this will install Teedy on Android
  6. Finished

Variant 2: Build without Android Studio

Pull the repository

Go to https://github.com/sismics/docs and clone the repository to your local client.

Install JDK 11

Install Android SDK Tools

The SDK Tools cannot be found directly on android homepage. Instead search them via web:

grafik.png

https://filehippo.com/de/download_android_sdk

Download the setup and install it to the given standard directory. After that just update/upgrade the components. The installer will ask you if you like to do this.

Configure Windows environment variables

  • JAVA_HOMEC:\Program Files\Java\jdk-11
  • ANDROID_HOME%userprofile%\AppData\Local\Android\android-sdk
  • PATH%userprofile%\AppData\Local\Android\android-sdk\tools (add to existing)
  • PATH%userprofile%\AppData\Local\Android\android-sdk\platform-tools (add to existing)

Create local.properties file in the repository

Locate the directory <path to your repo>\docs-android\ and create a new file named local.properties. Open that file and insert:

C:\Users\mario\Git\teedy\docs-android
sdk.dir=C:\\Users\\mario\\AppData\\Local\\Android\\android-sdk

Start the app building process

Open a new cmd shell window and insert the following commands

cmd
cd C:\Users\mario\Git\teedy\docs-android
#gradlew tasks
gradlew build
#gradlew --stacktrace --debug

Copy the built .apk file to your phone

The compiled .apk file was generated in <path to your repo>\docs-android\app\build\outputs\apk\release. Just put it somewhere on your phone to access it from Android user interface.

Sign the .apk file

Because the compiled file is not signed you cannot install it on your phone until you do a signing process. I found an application called "apk-signer" in Google PlayStore which did the job for me.

After downloading and installing apk-signer, start apk-signer and select the Teedy apk file within the application. By selecting it will be signed. After this start the freshly signed apk file within apk-signer and you are allowed to install it.

grafik.png

Enter your configuration and start the app

grafik.png grafik.png