├── app ├── .gitignore ├── src │ ├── main │ │ ├── ic_launcher-web.png │ │ ├── res │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ ├── ic_launcher_round.png │ │ │ │ └── ic_launcher_foreground.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ ├── ic_launcher_round.png │ │ │ │ └── ic_launcher_foreground.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ ├── ic_launcher_round.png │ │ │ │ └── ic_launcher_foreground.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ ├── ic_launcher_round.png │ │ │ │ └── ic_launcher_foreground.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ ├── ic_launcher_round.png │ │ │ │ └── ic_launcher_foreground.png │ │ │ ├── drawable │ │ │ │ ├── history_emoji.xml │ │ │ │ ├── circle.xml │ │ │ │ ├── add.xml │ │ │ │ ├── button.xml │ │ │ │ ├── side_nav_bar.xml │ │ │ │ ├── bluecircle.xml │ │ │ │ ├── button2.xml │ │ │ │ ├── neg.xml │ │ │ │ ├── cup.xml │ │ │ │ ├── home.xml │ │ │ │ ├── plus.xml │ │ │ │ ├── go.xml │ │ │ │ ├── age.xml │ │ │ │ ├── pain.xml │ │ │ │ ├── time.xml │ │ │ │ ├── meal.xml │ │ │ │ ├── notifications.xml │ │ │ │ ├── date.xml │ │ │ │ ├── edit.xml │ │ │ │ ├── pill.xml │ │ │ │ ├── history.xml │ │ │ │ ├── pw.xml │ │ │ │ ├── user.xml │ │ │ │ ├── temp.xml │ │ │ │ ├── happy.xml │ │ │ │ ├── humid.xml │ │ │ │ ├── weather.xml │ │ │ │ ├── lifestyle.xml │ │ │ │ ├── moderate.xml │ │ │ │ ├── condition.xml │ │ │ │ ├── kindasad.xml │ │ │ │ ├── sad.xml │ │ │ │ ├── smoke.xml │ │ │ │ ├── smile.xml │ │ │ │ ├── notification.xml │ │ │ │ ├── superhappy.xml │ │ │ │ ├── setting.xml │ │ │ │ ├── graph.xml │ │ │ │ └── ic_launcher_background.xml │ │ │ ├── values │ │ │ │ ├── ic_launcher_background.xml │ │ │ │ ├── dimens.xml │ │ │ │ ├── colors.xml │ │ │ │ ├── drawables.xml │ │ │ │ ├── styles.xml │ │ │ │ └── strings.xml │ │ │ ├── mipmap-anydpi-v26 │ │ │ │ ├── ic_launcher.xml │ │ │ │ └── ic_launcher_round.xml │ │ │ ├── layout │ │ │ │ ├── spinner_item.xml │ │ │ │ ├── fragment_youtube.xml │ │ │ │ ├── activity_history.xml │ │ │ │ ├── activity_yt.xml │ │ │ │ ├── hour_row_layout.xml │ │ │ │ ├── activity_edit.xml │ │ │ │ ├── custom_dialogue.xml │ │ │ │ ├── summary_dialog.xml │ │ │ │ ├── activity_home3.xml │ │ │ │ ├── cardview.xml │ │ │ │ ├── activity_lifestyle.xml │ │ │ │ ├── activity_main.xml │ │ │ │ ├── activity_weather.xml │ │ │ │ ├── activity_settings.xml │ │ │ │ ├── activity_add.xml │ │ │ │ └── content_home3.xml │ │ │ ├── drawable-v21 │ │ │ │ ├── ic_menu_send.xml │ │ │ │ ├── ic_menu_slideshow.xml │ │ │ │ ├── ic_menu_gallery.xml │ │ │ │ ├── ic_menu_manage.xml │ │ │ │ └── ic_menu_share.xml │ │ │ ├── menu │ │ │ │ ├── home.xml │ │ │ │ ├── main_menu.xml │ │ │ │ └── activity_home_drawer.xml │ │ │ ├── values-v21 │ │ │ │ └── styles.xml │ │ │ └── drawable-v24 │ │ │ │ └── ic_launcher_foreground.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── hackumass │ │ │ │ └── med │ │ │ │ └── medapp │ │ │ │ ├── Weather │ │ │ │ ├── Weather.java │ │ │ │ ├── WeatherConstants.java │ │ │ │ ├── WeatherInterface.java │ │ │ │ ├── WeatherRetrofitClient.java │ │ │ │ ├── Daily.java │ │ │ │ ├── Hourly.java │ │ │ │ ├── Minutely.java │ │ │ │ ├── Flags.java │ │ │ │ ├── WeatherDetails.java │ │ │ │ ├── WeatherActivity.java │ │ │ │ ├── Currently.java │ │ │ │ ├── WeatherAdaptor.java │ │ │ │ └── Datum.java │ │ │ │ ├── Images │ │ │ │ ├── 44930594_2275412866070701_3486530811669250048_n.jpg │ │ │ │ ├── 44932825_534884873652877_3961556887551344640_n.jpg │ │ │ │ ├── 44934000_469976756857963_5233231373149405184_n.jpg │ │ │ │ ├── 44938966_504752593348288_7995058132327858176_n.jpg │ │ │ │ ├── 44997162_1862123343909116_5118065162296754176_n.jpg │ │ │ │ └── 45000578_1094024380760265_5213244188786688000_n.jpg │ │ │ │ ├── Youtube │ │ │ │ ├── PlayerConfig.java │ │ │ │ ├── YTActivity.java │ │ │ │ └── YoutubeFragment.java │ │ │ │ ├── MealActivity.java │ │ │ │ ├── EditActivity.java │ │ │ │ ├── Database │ │ │ │ ├── User.java │ │ │ │ ├── Contract.java │ │ │ │ └── MedOpenHelper.java │ │ │ │ ├── Medication.java │ │ │ │ ├── History.java │ │ │ │ ├── SettingsActivity.java │ │ │ │ ├── LifestyleActivity.java │ │ │ │ ├── CustomDialogClass.java │ │ │ │ ├── MyReceiver.java │ │ │ │ ├── HistoryActivity.java │ │ │ │ ├── CustomDialogueClass.java │ │ │ │ ├── MainActivity.java │ │ │ │ ├── Home3Activity.java │ │ │ │ └── RVAdapter.java │ │ └── AndroidManifest.xml │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── hackumass │ │ │ └── med │ │ │ └── medapp │ │ │ └── ExampleUnitTest.java │ ├── release │ │ └── res │ │ │ └── values │ │ │ └── google_maps_api.xml │ ├── androidTest │ │ └── java │ │ │ └── com │ │ │ └── hackumass │ │ │ └── med │ │ │ └── medapp │ │ │ └── ExampleInstrumentedTest.java │ └── debug │ │ └── res │ │ └── values │ │ └── google_maps_api.xml ├── libs │ └── YouTubeAndroidPlayerApi.jar ├── proguard-rules.pro ├── google-services.json └── build.gradle ├── settings.gradle ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gitignore ├── .idea ├── vcs.xml ├── modules.xml ├── runConfigurations.xml ├── gradle.xml └── misc.xml ├── gradle.properties ├── README.md ├── gradlew.bat └── gradlew /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /app/src/main/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singh1aryan/Med-Tracker/HEAD/app/src/main/ic_launcher-web.png -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singh1aryan/Med-Tracker/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/libs/YouTubeAndroidPlayerApi.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singh1aryan/Med-Tracker/HEAD/app/libs/YouTubeAndroidPlayerApi.jar -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singh1aryan/Med-Tracker/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singh1aryan/Med-Tracker/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singh1aryan/Med-Tracker/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singh1aryan/Med-Tracker/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singh1aryan/Med-Tracker/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singh1aryan/Med-Tracker/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singh1aryan/Med-Tracker/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singh1aryan/Med-Tracker/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singh1aryan/Med-Tracker/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singh1aryan/Med-Tracker/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singh1aryan/Med-Tracker/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singh1aryan/Med-Tracker/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singh1aryan/Med-Tracker/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singh1aryan/Med-Tracker/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | .externalNativeBuild 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/history_emoji.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singh1aryan/Med-Tracker/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /app/src/main/res/values/ic_launcher_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #764BA2 4 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/java/com/hackumass/med/medapp/Weather/Weather.java: -------------------------------------------------------------------------------- 1 | package com.hackumass.med.medapp.Weather; 2 | 3 | /** 4 | * Created by Aryan Singh on 10/13/2018. 5 | */ 6 | 7 | public class Weather { 8 | } 9 | -------------------------------------------------------------------------------- /app/src/main/java/com/hackumass/med/medapp/Images/44930594_2275412866070701_3486530811669250048_n.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singh1aryan/Med-Tracker/HEAD/app/src/main/java/com/hackumass/med/medapp/Images/44930594_2275412866070701_3486530811669250048_n.jpg -------------------------------------------------------------------------------- /app/src/main/java/com/hackumass/med/medapp/Images/44932825_534884873652877_3961556887551344640_n.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singh1aryan/Med-Tracker/HEAD/app/src/main/java/com/hackumass/med/medapp/Images/44932825_534884873652877_3961556887551344640_n.jpg -------------------------------------------------------------------------------- /app/src/main/java/com/hackumass/med/medapp/Images/44934000_469976756857963_5233231373149405184_n.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singh1aryan/Med-Tracker/HEAD/app/src/main/java/com/hackumass/med/medapp/Images/44934000_469976756857963_5233231373149405184_n.jpg -------------------------------------------------------------------------------- /app/src/main/java/com/hackumass/med/medapp/Images/44938966_504752593348288_7995058132327858176_n.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singh1aryan/Med-Tracker/HEAD/app/src/main/java/com/hackumass/med/medapp/Images/44938966_504752593348288_7995058132327858176_n.jpg -------------------------------------------------------------------------------- /app/src/main/java/com/hackumass/med/medapp/Images/44997162_1862123343909116_5118065162296754176_n.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singh1aryan/Med-Tracker/HEAD/app/src/main/java/com/hackumass/med/medapp/Images/44997162_1862123343909116_5118065162296754176_n.jpg -------------------------------------------------------------------------------- /app/src/main/java/com/hackumass/med/medapp/Images/45000578_1094024380760265_5213244188786688000_n.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/singh1aryan/Med-Tracker/HEAD/app/src/main/java/com/hackumass/med/medapp/Images/45000578_1094024380760265_5213244188786688000_n.jpg -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Oct 12 22:36:23 EDT 2018 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip 7 | -------------------------------------------------------------------------------- /app/src/main/java/com/hackumass/med/medapp/Weather/WeatherConstants.java: -------------------------------------------------------------------------------- 1 | package com.hackumass.med.medapp.Weather; 2 | 3 | /** 4 | * Created by Aryan Singh on 10/13/2018. 5 | */ 6 | 7 | public class WeatherConstants { 8 | public final static String WEATHER_API = "9ad78b8a08f39899131b8d657929446e"; 9 | 10 | } -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/circle.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 8 | 9 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/add.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/button.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/side_nav_bar.xml: -------------------------------------------------------------------------------- 1 | 3 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/bluecircle.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 8 | 9 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/button2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/layout/spinner_item.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/src/main/java/com/hackumass/med/medapp/Youtube/PlayerConfig.java: -------------------------------------------------------------------------------- 1 | package com.hackumass.med.medapp.Youtube; 2 | 3 | /** 4 | * Created by Aryan Singh on 10/14/2018. 5 | */ 6 | 7 | public class PlayerConfig { 8 | 9 | public static final String YOUTUBE_API = "AIzaSyAiliRaiWFMGBURP4LaQHPNWxLwyealow0"; 10 | public PlayerConfig(){ 11 | 12 | } 13 | 14 | 15 | } 16 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/neg.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-v21/ic_menu_send.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/cup.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/home.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/plus.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/menu/home.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 8dp 6 | 176dp 7 | 16dp 8 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/go.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/age.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/menu/main_menu.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /app/src/main/java/com/hackumass/med/medapp/MealActivity.java: -------------------------------------------------------------------------------- 1 | package com.hackumass.med.medapp; 2 | 3 | import android.support.v7.app.AppCompatActivity; 4 | import android.os.Bundle; 5 | 6 | public class MealActivity extends AppCompatActivity { 7 | 8 | @Override 9 | protected void onCreate(Bundle savedInstanceState) { 10 | super.onCreate(savedInstanceState); 11 | setContentView(R.layout.activity_meal); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/pain.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/time.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/java/com/hackumass/med/medapp/EditActivity.java: -------------------------------------------------------------------------------- 1 | package com.hackumass.med.medapp; 2 | 3 | import android.support.v7.app.AppCompatActivity; 4 | import android.os.Bundle; 5 | 6 | public class EditActivity extends AppCompatActivity { 7 | 8 | @Override 9 | protected void onCreate(Bundle savedInstanceState) { 10 | super.onCreate(savedInstanceState); 11 | setContentView(R.layout.activity_edit); 12 | getSupportActionBar().setTitle("Edit profile"); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-v21/ic_menu_slideshow.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-v21/ic_menu_gallery.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/meal.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/java/com/hackumass/med/medapp/Weather/WeatherInterface.java: -------------------------------------------------------------------------------- 1 | package com.hackumass.med.medapp.Weather; 2 | 3 | 4 | import retrofit2.Call; 5 | import retrofit2.http.GET; 6 | import retrofit2.http.Path; 7 | 8 | /** 9 | * Created by Aryan Singh on 7/27/2018. 10 | */ 11 | 12 | public interface WeatherInterface { 13 | 14 | @GET("{api}/{latitude},{longitude}") 15 | Call getWeatherDetails(@Path("api")String api,@Path("latitude")float latitude, @Path("longitude")float longitude); 16 | } 17 | 18 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_youtube.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/test/java/com/hackumass/med/medapp/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.hackumass.med.medapp; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /app/src/main/res/drawable-v21/ic_menu_manage.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/notifications.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/date.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | 8 | 9 | #292b3d 10 | #0bcce6 11 | #09c6df 12 | #fafafa 13 | 14 | #585656 15 | #9c9595 16 | 17 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/edit.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/pill.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/history.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/pw.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/user.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/temp.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/happy.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/humid.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/weather.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/lifestyle.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/java/com/hackumass/med/medapp/Database/User.java: -------------------------------------------------------------------------------- 1 | package com.hackumass.med.medapp.Database; 2 | 3 | /** 4 | * Created by Aryan Singh on 10/13/2018. 5 | */ 6 | 7 | public class User { 8 | 9 | public String symptoms,medications,date; 10 | public int pain; 11 | public int smoking, alcohol; 12 | 13 | public User(String symptoms, int pain, int smoking, int alcohol, String medications,String date) { 14 | this.symptoms = symptoms; 15 | this.pain = pain; 16 | this.smoking = smoking; 17 | this.alcohol = alcohol; 18 | this.medications = medications; 19 | this.date = date; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /app/src/main/res/values/drawables.xml: -------------------------------------------------------------------------------- 1 | 2 | @android:drawable/ic_menu_camera 3 | @android:drawable/ic_menu_gallery 4 | @android:drawable/ic_menu_slideshow 5 | @android:drawable/ic_menu_manage 6 | @android:drawable/ic_menu_share 7 | @android:drawable/ic_menu_send 8 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/moderate.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/condition.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_history.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 17 | 18 | -------------------------------------------------------------------------------- /app/src/main/java/com/hackumass/med/medapp/Weather/WeatherRetrofitClient.java: -------------------------------------------------------------------------------- 1 | package com.hackumass.med.medapp.Weather; 2 | 3 | import retrofit2.Retrofit; 4 | import retrofit2.converter.gson.GsonConverterFactory; 5 | 6 | /** 7 | * Created by Aryan Singh on 7/27/2018. 8 | */ 9 | 10 | public class WeatherRetrofitClient { 11 | 12 | public static final String BASE_URL="https://api.darksky.net/forecast/"; 13 | public static Retrofit retrofit = null; 14 | 15 | public static Retrofit getClient(){ 16 | if(retrofit==null){ 17 | retrofit=new Retrofit.Builder().baseUrl(BASE_URL).addConverterFactory(GsonConverterFactory.create()).build(); 18 | } 19 | return retrofit; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/kindasad.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/sad.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/smoke.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/smile.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/values-v21/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 18 | 19 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-v21/ic_menu_share.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/java/com/hackumass/med/medapp/Medication.java: -------------------------------------------------------------------------------- 1 | package com.hackumass.med.medapp; 2 | 3 | 4 | public class Medication { 5 | private String brandName; 6 | private int dosage; 7 | private int frequency; 8 | private boolean perDay; 9 | public Medication(String name, int dose, int freq, boolean day) 10 | { 11 | this.brandName=name; 12 | this.dosage=dose; 13 | this.frequency=freq; 14 | this.perDay=day; 15 | } 16 | public int getDosage() { 17 | return dosage; 18 | } 19 | public String getBrandName() { 20 | return brandName; 21 | } 22 | public boolean isPerDay() { 23 | return perDay; 24 | } 25 | public int getFrequency() { 26 | return frequency; 27 | } 28 | } -------------------------------------------------------------------------------- /app/src/main/res/drawable/notification.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/superhappy.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | org.gradle.jvmargs=-Xmx1536m 13 | 14 | # When configured, Gradle will run in incubating parallel mode. 15 | # This option should only be used with decoupled projects. More details, visit 16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 17 | # org.gradle.parallel=true 18 | -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_yt.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 13 | 14 | 15 | 16 | 17 | 18 |