-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from openmrs/dev
Release 0.1.0
- Loading branch information
Showing
39 changed files
with
1,136 additions
and
116 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
language: android | ||
jdk: oraclejdk8 | ||
dist: trusty | ||
|
||
env: | ||
global: | ||
- ANDROID_API_LEVEL=28 | ||
- ANDROID_BUILD_TOOLS_VERSION=28.0.3 | ||
|
||
android: | ||
licenses: | ||
- 'android-sdk-preview-license-.+' | ||
- 'android-sdk-license-.+' | ||
- 'google-gdk-license-.+' | ||
components: | ||
- tools | ||
- platform-tools | ||
- build-tools-$ANDROID_BUILD_TOOLS_VERSION | ||
- android-$ANDROID_API_LEVEL | ||
|
||
|
||
before_install: | ||
- yes | sdkmanager "platforms;android-$ANDROID_API_LEVEL" | ||
|
||
script: | ||
- ./build.sh | ||
|
||
# Caching implemented as per Travis CI Docs | ||
# https://docs.travis-ci.com/user/languages/android/#caching | ||
before_cache: | ||
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock | ||
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/ | ||
cache: | ||
directories: | ||
- $HOME/.gradle/caches/ | ||
- $HOME/.gradle/wrapper/ | ||
- $HOME/.android/build-cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<img height='250' src="https://github.com/codepoet2017390/openmrs-contrib-telemedicine-app/blob/dev/app/src/main/res/drawable/telemedicine_icon.png" align="left" hspace="1" vspace="1"> | ||
|
||
# Nigeria Telemedicine App | ||
|
||
[![Build Status](https://travis-ci.org/openmrs/openmrs-contrib-telemedicine-app.svg?branch=dev)](https://travis-ci.org/openmrs/openmrs-contrib-telemedicine-app) | ||
|
||
|
||
The Nigeria Telemedicine App is light weight, easy to use telemedicine mobile app developed to make health services more | ||
accessible to the Nigerian population. Users can register themselves on the app providing basic details like their | ||
name ,phone-number and optionally a small description of their ailment. All this can be done within a minute as there is | ||
no wasting time in login and verification etc. After succesful registration the user will receive a call from a doctor as | ||
early as possible. This app is developed and maintained by OpenMRS together with a global community. | ||
<br> | ||
<br> | ||
## Screenshots | ||
<p> | ||
<img src="https://lh4.googleusercontent.com/vKVrMYL3Uuyqfhw9ysbuLAj_4jB38ewrm2adUE3XARSDMsJPl-BCivUJuJm0onwQn5nlen86c0Z65eXbp3izBeV2dfKOhJNLiwPiNyXfzVdy29i6CLotk0H0wZ-BalaKbt4xCsmQ" width="288" height="500" /> | ||
<img src="https://lh5.googleusercontent.com/DIdrJqQMV2Pu4bPavbczpol3FxzDoa5k7_xLRbDZ8H7qAyIME1q8JUFvmuxKK9VidB3RWuLp3kmeD_C5730TQKG05pvFa1Sygyr-VS9oWhEUhSI7jLUowl5GuYDxmykxsNouwokG" width="288" height="500" /> | ||
<img src="https://lh3.googleusercontent.com/LiFMGY-DybFi6Ojsy-4tzfnIbQcCPayQL0hGSL2YYcbBK9Y2ZXONlp3GY_2J9SWzformUi5QlL0WhqhmB4WYIHwbNfnNKBfsqegWCA6O0etpfqiHS7E5VQolNW6_iyXHsIkT9akJ" width="288" height="500" /> | ||
</p> | ||
|
||
|
||
|
||
## How to Contribute | ||
|
||
This is an OpenSource project and we would be happy to see new contributors. The issues should be raised via the GitHub issue tracker. | ||
All fixes should be proposed via pull requests. | ||
|
||
### Branch Policy | ||
|
||
We have the following branches : | ||
|
||
* **dev** | ||
All the contributions should be pushed to this branch. If you're making a contribution, | ||
you are supposed to make a pull request to _dev_. | ||
|
||
It is advisable to clone only the development branch using the following command: | ||
|
||
`git clone -b <branch> <remote_repo>` | ||
|
||
With Git 1.7.10 and later, add --single-branch to prevent fetching of all branches. Example, with development branch: | ||
|
||
`git clone -b dev --single-branch https://github.com/username/openmrs-contrib-telemedicine-app.git` | ||
|
||
* **master** | ||
The master branch contains all the stable and bug-free working code. The development branch once complete will be merged with this branch. | ||
|
||
|
||
## Development Setup | ||
|
||
Before you begin, you should have already downloaded the Android Studio SDK and set it up correctly. You can find a guide on how to do this here: [Setting up Android Studio](http://developer.android.com/sdk/installing/index.html?pkg=studio). | ||
|
||
## Building the Code | ||
|
||
1. Clone the repository using HTTP: git clone https://github.com/openmrs/openmrs-contrib-telemedicine-app.git | ||
|
||
2. Open Android Studio. | ||
|
||
3. Click on 'Open an existing Android Studio project' | ||
|
||
4. Browse to the directory where you cloned the repo and click OK. | ||
|
||
5. Let Android Studio import the project. | ||
|
||
6. Sync and build the project in Android studio. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 0 additions & 39 deletions
39
app/src/main/java/com/example/nigeriatelemedicineapp/MainActivity.kt
This file was deleted.
Oops, something went wrong.
19 changes: 19 additions & 0 deletions
19
app/src/main/java/com/example/nigeriatelemedicineapp/SplashScreen.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package com.example.nigeriatelemedicineapp | ||
|
||
import android.content.Intent | ||
import android.os.Bundle | ||
import android.os.Handler | ||
import androidx.appcompat.app.AppCompatActivity; | ||
import com.example.nigeriatelemedicineapp.dashboard.DashBoardActivity | ||
|
||
class SplashScreen : AppCompatActivity() { | ||
|
||
override fun onCreate(savedInstanceState: Bundle?) { | ||
super.onCreate(savedInstanceState) | ||
setContentView(R.layout.splash_screen) | ||
Handler().postDelayed({ | ||
startActivity(Intent(this, DashBoardActivity::class.java)) | ||
finish() | ||
},1000) | ||
} | ||
} |
Oops, something went wrong.