NBusy Android app. Requires Android 5.1 or higher.
Android client app communicates with:
- NBusy Server which is built on Titan Framework.
- WebSockets over TLS for direct browser and mobile connections.
- JWT middleware for authentication.
- Google+ middleware for registration and authentication.
To build and run the build in a Docker container:
docker build -t nbusy-android .
docker run --name nbusy-android --rm nbusy-android
The --name flag gives our container a predictable name to make it easier to work with.The --rm flag tells docker to remove the container image when the build is done.
Once you're done, shut down the running container from another terminal window:
docker stop nbusy-android
If something goes wrong and you want to stop all containers and delete all containers & images:
# stop then delete all containers
docker stop $(docker ps -a -q)
docker rm -f $(docker ps -a -q)
# delete all images
docker rmi -f $(docker images -q)
Run the following command 2 times in a row:
./gradlew wrapper --gradle-distribution-url https://services.gradle.org/distributions/gradle-2.13-all.zip
and make sure that following files are updated:
gradle/wrapper/gradle-wrapper.jar
gradle/wrapper/gradle-wrapper.properties
gradlew
gradlew.bat
- At the repo root:
git clean -xdf
. - Android Studio:
Clean Project
thenRebuild Project
. - Emulator: wipe user cache or recreate new image and start it manually.
- Real device: Restart the device and disable then enable USB debugging.