20 Commits
v1.0 ... v1.1

Author SHA1 Message Date
597dc1cf86 Update .DS_Store 2020-05-03 13:28:11 -04:00
a595057b8e run2 2020-05-03 13:26:40 -04:00
28e8ec0c84 run 2020-05-03 13:25:14 -04:00
8ff339d7ed Merge remote-tracking branch 'github/master' 2020-05-03 13:24:15 -04:00
0432baa93d Semicolon 2020-05-03 13:24:07 -04:00
2a1117e8a7 Create android.yml 2020-05-03 13:23:02 -04:00
89037778b5 Create SECURITY.md 2020-05-03 13:21:14 -04:00
c42b8eea96 none
none
2020-05-03 12:51:11 -04:00
57abfa5694 none
none
2020-05-03 12:50:54 -04:00
95e92888cf added Comment
commented 1 item
2020-05-03 12:50:05 -04:00
c7fc2d5233 Update README.md 2020-05-03 11:49:29 -04:00
3d5b9b1be1 Update README.md 2020-05-03 11:40:27 -04:00
7f997d1e73 Update README.md 2020-05-03 11:38:10 -04:00
4ef3b76e2a Update README.md 2020-05-03 11:34:39 -04:00
8db90c1710 Update README.md 2020-05-03 11:33:59 -04:00
2b395a85f8 Update README.md 2020-05-03 11:23:11 -04:00
296cf6a8e8 Updated README.md 2020-05-03 11:21:08 -04:00
831adb0219 Updated README.md 2020-05-03 11:18:23 -04:00
fbd7380556 changed link to go to releases
updated readme.md
2020-05-03 11:16:21 -04:00
0f37263d39 Starting country and state
Set the country spinner to begin on New  York for the state and USA for the country. Will also not reset to the first country when swiping to refresh.
2020-05-03 10:50:30 -04:00
18 changed files with 64 additions and 5 deletions

21
.github/workflows/android.yml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: Android CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Gradle
run: ./gradlew build

Binary file not shown.

View File

@@ -5,10 +5,14 @@ Please feel free to modify this app to fit your own purposes and if needed submi
# Editing the app on your own
Download Android Studio or any other similar code editor and run the app on your own in order to edit the files inside.
In a terminal on MacOS or Linux, run ```git clone https://github.com/souravp712/TrackCovid19``` if you have git installed and then open the folder in Android Studio or another similar code editor, or [go to this link for an easier download process on any OS.](https://github.com/souravp712/TrackCovid19/archive/master.zip)
The code is not the most well-written, but will provide you with a sense of understanding as to how it works, as the code itself is not very complicated
Download Android Studio or any other similar code editor and open the project on your own in order to edit the files inside.
# Downloading the app on your own
The code is not the most well-written, but will provide you with a sense of understanding as to how it works, as the code itself is not very complicated.
In order to download the app on your own, you will need to navigate to another repository to [which I will link to here](https://github.com/souravp712/TrackCovid19APK)~~, or you can wait for the approval of the app to the Google Play Store.~~
# Downloading the app onto your own (Android)phone
In order to download the app on your own, you will need to navigate to my release apk download page, [which I will link here](https://github.com/souravp712/TrackCovid19/releases/download/v1.0/TrackCovid19.apk) ~~, or you can wait for the approval of the app to the Google Play Store.~~(Hopefully approved soon, suspended for now).
You may need to accept some permissions in order for the app to be installed. Then click install, and the app will be installed onto your own Android device for your own usages.

21
SECURITY.md Normal file
View File

@@ -0,0 +1,21 @@
# Security Policy
## Supported Versions
Use this section to tell people about which versions of your project are
currently being supported with security updates.
| Version | Supported |
| ------- | ------------------ |
| 5.1.x | :white_check_mark: |
| 5.0.x | :x: |
| 4.0.x | :white_check_mark: |
| < 4.0 | :x: |
## Reporting a Vulnerability
Use this section to tell people how to report a vulnerability.
Tell them where to go, how often they can expect to get an update on a
reported vulnerability, what to expect if the vulnerability is accepted or
declined, etc.

BIN
app/.DS_Store vendored

Binary file not shown.

View File

@@ -125,9 +125,15 @@ public class YourrealcountryFragment extends Fragment {
ArrayAdapter<String> adapter = new ArrayAdapter<String>(getActivity(), R.layout.my_spinner_style, country_list);
adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
spin.setAdapter(adapter);
if (rememberLocation[0] == -1)
spin.setSelection(j[0]);
else
spin.setSelection(rememberLocation[0]);
spin.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {
@Override
public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
rememberLocation[0] = position;
j[0] = 0;
Picasso.get().load(countries.get(position).flag).into(imageView);
Log.d("foo", country_list[position]);
cases[0] = countries.get(position).cases;

View File

@@ -132,9 +132,15 @@ public class YourstateFragment extends Fragment {
ArrayAdapter<String> adapter = new ArrayAdapter<String>(getActivity(), R.layout.my_spinner_style, state_list);
adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
spin.setAdapter(adapter);
if (rememberLocation[0] == -1)
spin.setSelection(j[0]);
else
spin.setSelection(rememberLocation[0]);
spin.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {
@Override
public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
rememberLocation[0] = position;
j[0] = 0;
Log.d("foo", state_list[position]);
cases[0] = states.get(position).cases;
ycases[0] = yesstates.get(position).cases;

View File

@@ -178,7 +178,8 @@ public class YourworldFragment extends Fragment {
textView11.setText(Html.fromHtml("<b><i>" + "-" + dailyDeathWithCommas + "</i></b>"));
}
//blahahahahahahahah
Log.d("test","test");
//setData(vYourworldViewModel,world);
//final TextView textView5 = view.findViewById(R.id.text_activeCases);