systers / firstaide-android Goto Github PK
View Code? Open in Web Editor NEWThis project forked from peacecorps/pcsa
FirstAide is a application to help the Peace Corps Volunteers who are victims of sexual harassment.
This project forked from peacecorps/pcsa
FirstAide is a application to help the Peace Corps Volunteers who are victims of sexual harassment.
If no comrade is registered i.e. all the 6 fields are blank, and the users clicks help me, a dialog box displays the message " This msg has been send to all registered comrades" . However no msg is sent to anybody, since there were no comrades registered and the user is unaware of this.
Hence it would be better if in such a case user is notified that no comrades are registered , hence no message was sent and that he should add comrades.
It would also be better if we displayed the exact number of comrades to whom msg has been sent e.g " This msg has been send to 3 registered comrades" instead of displaying "this msg has been send to all registered comrades".
If a comrade contact number is left empty, then message sending is failed for all comrades after that comrade. Example if comrade 1's contact number is left empty as shown:
Then message is not send for comrades placed after comrade1 i.e 2,3,4,5,6 and failure message is dispalyed as shown.
Similarly if comrade 3 is empty and rest are filled, then message is only sent to comrade 1,2 and fails for comrade 4,5,6. In this case also a failure message is displyed.
I would like to fix this issue .
When the comrade icon is clicked the phonenumber and possibly name can be displayed
When Application is asking for permission, if we denied it now or maybe set to 'Always Deny' earlier. Then it didn't perform any check and simply show "Message Sent" without awareness of user.
As per the coding section in the systers development process page, the source code needs to have proper comments such as "what does function do, what are the parameters, what does it return". But the current source code doesn't have that kind of commenting in some places.
Shall I add the comments in necessary places?
We can make the application more responsive by adding sound effects at appropriate places.
E.g. the app will generate a alert beep if message sending fails after pressing help me. Similarly there can be a success beep if messages are sent successfully .
This will help the user in case he/she forgets to see the toast displayed after pressing Help Me button.
The launcher image of the application seems rather small in size when compared to the other apps. I would like to create a new launcher icon using Photoshop or equivalent tools.
I wanted to implement get help now as shown in mockup.pdf, can I continue?
@sandarumk I went through the mockup provided and would like to implement the reporting steps page in the way described. Should I start working on that?
As per android best practices hardcoding must be avoided. All the dimensions must be placed in dimens.xml, colors in colors.xml and integers in integer.xml and strings in strings.xml.
Currently strings have been placed in strings.xml , we need to do the same for dimensions, colors and integers.
Let's say Comrade list is Empty, then on clicking Help Me. It's simply showing Message sent instead of showing No Comrade Contact is Added
Over in the MainActivityFragment.java
as well as in the HomeScreen.java
I noticed that the same line of code is written multiple times. I would like to fix this. Is this a welcome contribution right now?
Change the style to be reflective of the original design found in this document. https://drive.google.com/open?id=0B8cm8EBZg0GaZlNSdFpxeXJWelU (Mobile version starts at 0:58 of this video.
With content like this, in this order:
Idea : Suppose I press 'Help Me' then SMS sends to my comrades list.
Nowadays many person ignores SMS thinking of that they will read it later(Or doesn't give much effort to read a SMS).
Solution : What about if Comrade will have PCSA-Android app install in his/her phone, a Ring can be generated to notify user on receiving SMS sended by PCSA-Android.
In the circle of trust, there is an option "Come get me" which sends a SMS message saying
"Come and get me. I need help getting home Safely. Call ASAP to get my Location.Sent through First Aide's Circle of Trust."
This can be improved by adding location latitude and longitude by acquiring via GPS. If the user already enabled GPS and if the device can acquire accurate location it can be added to the SMS. Otherwise, the original SMS message can be sent saying "Call ASAP to get my Location".
It's possible to add Google maps URL so that user can open Google maps by tapping the SMS message link
Just a suggestion :)
It would be helpful if comrade name is also stored with the number , and on clicking on any comrade a pop up window shows the description of comrade
Adjust content to reflect this updated document: https://drive.google.com/open?id=0B8cm8EBZg0GaQy1CUkRUOXhWZUE
This document has a great table of contents that corresponds to H1 titles and H2 subtitles and the content that would be found in each section.
@Buddhiprabha @sandarumk @rosariorobinson @shruti-gupta
I would like to implement the following parts of the applications which are yet to be done as specified in the mockup
I am very much interested in implementing these. And i would like to present you the UI i am going to make in advance if you think it would be more helpful. Waiting for your sugggestions
Thanking you
Chetan mann
Improvement in adding comrade numbers
Now comrade numbers have to enter manually by entering the phone number.
This is not user-friendly design and user might enter an incorrect number.
I think it's better to give the feature to select a phone number from the user contacts list.
Then the default icons for the circle of trust icons can be replaced with the contact picture. If a contact picture is not found, it can fill with the default icon.
We have to add new permission (android.permission.READ_CONTACTS
) to read contact lists.
Along with the select request message phone call also can be made to the comrades
At a time six phone calls cannot be made so,
The phone calls can be made in order like comrade1 then comrade2 so on...(if one comrade doesn't lift then next comrade so on.....)
Under Reporting Process/Contact Staff to Report changing location just changes contact info locally for an activity. However, Are we going to change location frequently? If not will it be good practices to save location in Shared Preferences.
Intro screen can be added for Reporting Process same way as they are for Circle of Trust. These screens will appear to user the first time they click the option .
I am using my Nexus 5 and it looks slightly pushed to the left.
In the fragment_circle_of_trust.xml
file contains invalid tags for ImageViews and ImageButtons like
android:text
, android:textColor
, android:textSize
.
These are non usable tags for image specific views. Shall I remove them and refactor the layout files?
Over in the CircleOfTrustFragment.java
, I noticed that we have used harcoded strings for switch case.
I suggest we should put these constant values in a static class. This way we can reuse the same information later as well.
Let me know if this is a welcome change. If yes, I will send a pull request for the same.
Thanks,
Harshita
I'm not sure if this is required but it would be great to have something like
By doing this, it would give a clear picture about the registered comrades. Also, on editing the comrades, the registered numbers are displayed right there.
Also, on editing the comrades, the user needs to click the back button to perform any further changes.
I've already implemented the workaround for the above mentioned issues. I'll submit a PR as soon as this is approved as a valid issue.
Why are we not having Action Bar, menu here?
Instead of these, only simple Text is written at top of every activity with no Menu Options.
Will addition on these things be good?
The comrade numbers is accepting any length of digits
The phone number type changes according to country but a basic validation can be implemented
Willing to work on this
Currently there are no tests.
What about adding UI Espresso based test?
There is an option to contact Office of General Inspector in the Other Staff option. On this page, there is a link given to learn more.
The link is currently inactive.The link would serve useful if clicking on it opens up the destination page on our web browser, so that the users can get more information if they wish to. There will be no UI added and no existing UI will be changed, just an enhancement added.
Add a proper README file for PCSA.
Implementing Pager under Reporting Process/Contact Staff to Report instead of simply clicking on small TextView
Here are the changes I propose to do:
In case of any emergency, instead of browsing application in launcher then opening it going to specific activity and pressing Button "Help Me", What about a widget, just a single click for such cases.
This may be added to lock screen to make it even more faster.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.