fablab-android is an Android application that uses a Dropwizard based REST-server.
To build the app, run:
./gradlew build
This will also integrate the fablab-common repository that contains interfaces and entities used for both the server and the Android application.
To make use of the JaxRs interfaces in the Android application, apply the following gradle task:
./gradlew jaxRs2Retrofit-debug
This will generate a java-gen folder which contains the transformed JaxRs interfaces from the fablab-common repository. These interfaces can be used by Retrofit for implementing a REST-client.
fablab-android uses the following libraries and software:
- Retrofit License: Apache License Version 2.0
- [JaxRs2Retrofit] (https://github.com/Maddoc42/JaxRs2Retrofit) License: Apache License Version 2.0
- OkHttp License Apache License Version 2.0
- okio License Apache License Version 2.0
Copyright 2015 MAD FabLab team
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.
Feel free to contact us: [email protected]