An Android App OTES One Tap Emergency Service. Initiated and developed during SIH Software Hackathon 2020 of college level. Welcome to all suggesstions for improvement in its features.
▶ This Open Source Project was Selected for Kharagpur Winter of Code by IIT Kharagpur with me being the Mentor and Project Maintainer of OTES.
⭕⭕Problem Statement-
Emergencies and disasters impact population's health. Public health plays a critical role in working with health and non-health sectors responsible for preparing for and responding to emergencies. In emergencies, large number of people may require medical attention. Health care systems may be over-stretched, and public order may be threatened. Hence, we want software solution such that social media can be used in public health emeergency response. Such tool/page/plugin should have the below capabilities.
Alarm message during Emergencies.
Providing precautionary steps to be taken during emergency/disorders.
Help in finding nearby available healthcare systems.
Providing First aid/primary steps to be taken/provided to patients, in case of emergencies/diasters.
✔Organisation-
Ministry of Health and Family Welfare
✔Category-
Software solution
✔Domain Bucket-
Healthcare and Biomedical Devices
🔶Scope of solution for future:
Using ML model, minmum distance determination from receiver with confirmation with atleast three.
Blackbox facility
Bluetooth tethering with cars.
⭕⭕Message for contributors:
Hello Developers👋,
Have great interest in the domain of Android Development and looking for a project to work upon? You can start by contributing to OTES app, a project to provide health emergencies services by just a single tap on screen.
This app contains everything from sending immediate messages to family and friends, making emergency calls during emergency situation like fire or floods, Guiding about the Precautionary steps and First aids and much more all with a single tap.
⭕⭕Begineer's Guide to open source and github:
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
GitHub is a United States-based global company that provides hosting for software development version control using Git.
You can star ⭐ and fork 🍽️ this repository on GitHub by navigating at the top of this repository.
GitHub repository URLs will reference both the username associated with the owner of the repository, as well as the repository name.
When you’re on the main page for the repository, you’ll see a button to "Star" and “Fork” the repository on your upper right-hand side of the page, underneath your user icon.
2. 👇🏻Clone the Repository
To make your own local copy of the repository you would like to contribute to, let’s first open up a terminal window.
We’ll use the git clone command along with the URL that points to your fork of the repository.
3. 👇🏻Update Local Repository
While working on a project alongside other contributors, it is important for you to keep your local repository up-to-date with the project as you don’t want to make a pull request for code that will cause conflicts. To keep your local copy of the code base updated, you’ll need to sync changes.
We’ll first go over configuring a remote for the fork, then syncing the fork.
4. 👇🏻Sync the Fork
Once you have configured a remote that references the upstream and original repository on GitHub, you are ready to sync your fork of the repository to keep it up-to-date.
To sync your fork, from the directory of your local repository in a terminal window, you’ll have to use the // git fetch // command to fetch the branches along with their respective commits from the upstream repository. Since you used the shortname “upstream” to refer to the upstream repository, you’ll have to pass that to the command:
git fetch upstream
Switch to the local master branch of our repository:
git checkout master
Now merge any changes that were made in the original repository’s master branch, that you will access through your local upstream/master branch, with your local master branch:
git merge upstream/master
5. 👇🏻Create Pull Request
At this point, you are ready to make a pull request to the original repository.
Now navigate to your forked repository, and press the “New pull request” button on your left-hand side of the page.
Addition of the feature of a dialog box which pops( in case the location service of the phone is initially turned off) just as one opens the app (i.e when the application is started) . the dialog will be as shown in the below image.
Required changes to be made by inserting a video player in activity_disaster1.xml, activity_disaster2.xml, activity_disaster3.xml, activity_disaster4.xml so that the video link is replaced by the actual video that will be played at the same position. The video player would fetch the video directly from YouTube( this would maintain the apk size i.e. it's size won't increse due to the addition of videos).
Add a subsection "Nearby Police Stations" in addition to the "Nearby Healthcare systems"(the design of the two subsection buttons would be similar to activity_social_platform.xml) in a activity. The click on "Nearby police station" should take the user to an activity (similar to activity_maps) which will have a google map showing all the police stations nearby the current location of the user.
In addition to this, resolve the bug in the activity_maps page so as to make it properly functionable.
Add the following contents(as provided in the word file) on the page activity_first_aid.xml and change the background to #ABD46D First Aid Information.docx
You can then used the following comment to prevent git from tracking them. git rm -r --cached .
then just run git add .
and git commit -m ".gitignore is working"
The following updations are required for activity_main2.xml page
Add the onclick task to the four icons as well, i.e the activities of "Send Alert Messages", "First aid". "Nearby Services" and "Precautionary steps" should open by clicking on its respective icons also and not just by clicking on the text field below the icon.
Make the layouts of this activity in small, large and xlarge so that the the layout of the App is proper for Tablets and computer or any other bigger screen sizes.
Fix the landscape variation of this main2 activity so that on rotating the screen on mobile phone it do not appear so improper as shown in the screenshot below
The following changes are required in this activity:
Buttons having rounded corners and a light red color
Make the layouts of this activity in small, large and xlarge so that the the layout of the App is proper for Tablets and computer or any other bigger screen sizes.
Fix the landscape variation of this main2 activity so that on rotating the screen on mobile phone it do not appear so improper as shown in the screenshot below
The following changes are required for activity_first_aid.xml
Change the layout of the page to a proper layout so that parts of the text do not either cut out of the activity or stands too clore to the phone screen. Changes should be to ensure proper margin of the activity elements withe the screen end.
Make the layouts of this activity in small, large and xlarge so that the the layout of the App is proper for Tablets and computer or any other bigger screen sizes.
Fix the landscape variation of this main2 activity so that on rotating the screen on mobile phone it do not appear so improper as shown in the screenshot below
The following changes are required for activity_disaster1.xml, activity_disaster4.xml and activity_disaster2.xml
Change the layout of the page to a proper layout so that parts of the text do not either cut out of the activity or stands too close to the phone screen. Changes should be to ensure proper margin of the activity elements withe the screen end.
Make the layouts of this activity in small, large and xlarge so that the the layout of the App is proper for Tablets and computer or any other bigger screen sizes.
Fix the landscape variation of this main2 activity so that on rotating the screen on mobile phone it do not appear so improper as shown in the screenshot below
Change the layout of activity_main2.xml page components from Constraint Layout to Relative Layout for making it more adaptive to different screen sizes.
Addition of swiping or sliding features between the four activity namely, activity_onboarding1.xml, activity_onboarding2.xml, activity_onboarding3.xml, activity_onboarding4.xml,. This will enable the user to move forward from one activity to another not only by the next button provided but also by swiping the screens.