/fablab-documentation-tool-android-client

Android client for FabLab Documentation Tool. v0.1

Primary LanguageJavaMIT LicenseMIT

FabLab Documentation Tool - Android Client


This project is still under development!

This repo only shows v0.1. Project will be continued to develop under below page.

https://gitlab.com/fablabdocumentation/documentation_client

Developers:

  • Ivan Sanchez Milara
  • Onur Ozuduru

This is code of Android client, back-end and web client can be seen from here.


This Readme explains briefly which parts must be changed to use Android app.

Requirements

build.gradle file handles the requirements however, it is better to list main additional libraries here.

This code depends below libraries:

  • Retrofit: To handle API requests and responses.
  • Picasso: To handle image and imageview operations.
  • Dexter: To handle runtime permissions.

Before Building

Following steps must be done before build the code.

  • Make sure that server is up and running.
  • Change BASE_URL field under ApiClient.java for your API domain and endpoint.
  • Change BASE_URL field under ImageUploadService.java for your domain.
  • Change BASE_URL field under VoiceUploadService.java for your domain.
  • Since there is no login, it is important to give user ID for services. Please give an existing user ID by modifying below line under MainActivity.java.
protected void onCreate(Bundle savedInstanceState) {
    ...
    API_CLIENT = new ApiClient("4"); // Change User ID
    ...
}

Important Note for Voice Notes

There must be at least one voice recorder application on your device to use voice notes!