mirror of
https://github.com/SoPat712/TrackCovid19.git
synced 2025-08-22 02:38:45 -04:00
Compare commits
20 Commits
Author | SHA1 | Date | |
---|---|---|---|
597dc1cf86 | |||
a595057b8e | |||
28e8ec0c84 | |||
8ff339d7ed | |||
0432baa93d | |||
2a1117e8a7 | |||
89037778b5 | |||
c42b8eea96 | |||
57abfa5694 | |||
95e92888cf | |||
c7fc2d5233 | |||
3d5b9b1be1 | |||
7f997d1e73 | |||
4ef3b76e2a | |||
8db90c1710 | |||
2b395a85f8 | |||
296cf6a8e8 | |||
831adb0219 | |||
fbd7380556 | |||
0f37263d39 |
21
.github/workflows/android.yml
vendored
Normal file
21
.github/workflows/android.yml
vendored
Normal 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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.idea/caches/build_file_checksums.ser
generated
BIN
.idea/caches/build_file_checksums.ser
generated
Binary file not shown.
12
README.md
12
README.md
@@ -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
21
SECURITY.md
Normal 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
BIN
app/.DS_Store
vendored
Binary file not shown.
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user