├── app ├── .gitignore ├── libs │ ├── mail.jar │ ├── activation.jar │ └── additionnal.jar ├── src │ ├── main │ │ ├── res │ │ │ ├── drawable │ │ │ │ ├── a.png │ │ │ │ ├── exit.png │ │ │ │ ├── help.png │ │ │ │ ├── onbp.png │ │ │ │ ├── user.png │ │ │ │ ├── about.png │ │ │ │ ├── alpha.png │ │ │ │ ├── laptop.png │ │ │ │ ├── login.png │ │ │ │ ├── logout.png │ │ │ │ ├── account.png │ │ │ │ ├── android.png │ │ │ │ ├── favourite.png │ │ │ │ ├── onb_user.png │ │ │ │ ├── profile.png │ │ │ │ ├── project.png │ │ │ │ ├── whatshot.png │ │ │ │ ├── onb_getstarted.png │ │ │ │ ├── indicator_unselected.xml │ │ │ │ ├── indicator_selected.xml │ │ │ │ ├── edit.xml │ │ │ │ ├── ic_chevron_right_24dp.xml │ │ │ │ ├── mail.xml │ │ │ │ ├── network.xml │ │ │ │ └── ic_launcher_background.xml │ │ │ ├── raw │ │ │ │ └── alarm.mp3 │ │ │ ├── font │ │ │ │ └── bookerly.ttf │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── color │ │ │ │ └── nav_colors.xml │ │ │ ├── mipmap-anydpi-v26 │ │ │ │ ├── ic_launcher.xml │ │ │ │ └── ic_launcher_round.xml │ │ │ ├── layout │ │ │ │ ├── fragment_about.xml │ │ │ │ ├── fragment_help.xml │ │ │ │ ├── fragment_get_location.xml │ │ │ │ ├── fragment_discover.xml │ │ │ │ ├── activity_emergency_timer.xml │ │ │ │ ├── activity_module_design.xml │ │ │ │ ├── activity_root.xml │ │ │ │ ├── fragment_module.xml │ │ │ │ ├── activity_home.xml │ │ │ │ ├── fragment_module_design.xml │ │ │ │ ├── nav_header.xml │ │ │ │ ├── activity_splash.xml │ │ │ │ ├── activity_help_sms.xml │ │ │ │ ├── fragment_user.xml │ │ │ │ ├── fragment_onboarding.xml │ │ │ │ ├── card_user.xml │ │ │ │ ├── app_bar.xml │ │ │ │ ├── fragment_lostphone.xml │ │ │ │ ├── fragment_smswifion.xml │ │ │ │ ├── fragment_smswifioff.xml │ │ │ │ ├── fragment_volume_max.xml │ │ │ │ ├── fragment_quotes_email.xml │ │ │ │ ├── card_discover.xml │ │ │ │ ├── fragment_low_battery_sm.xml │ │ │ │ ├── fragment_xkcd.xml │ │ │ │ ├── fragment_rss.xml │ │ │ │ ├── fragment_volume_min.xml │ │ │ │ ├── activity_onboarding.xml │ │ │ │ ├── fragment_wifi_ontimer.xml │ │ │ │ ├── fragment_geo_fencing.xml │ │ │ │ ├── fragment_wifi_timer.xml │ │ │ │ └── fragment_help_button.xml │ │ │ ├── values-w820dp │ │ │ │ └── dimens.xml │ │ │ ├── menu │ │ │ │ ├── menu_onboarding.xml │ │ │ │ ├── navigation.xml │ │ │ │ └── drawer_view.xml │ │ │ ├── values │ │ │ │ ├── dimens.xml │ │ │ │ ├── colors.xml │ │ │ │ ├── strings.xml │ │ │ │ └── styles.xml │ │ │ └── drawable-v24 │ │ │ │ └── ic_launcher_foreground.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── aaars │ │ │ │ └── b │ │ │ │ ├── MessageListener.java │ │ │ │ ├── TriggerLogs.java │ │ │ │ ├── LastRun.java │ │ │ │ ├── UserData.java │ │ │ │ ├── Fragments │ │ │ │ ├── HelpFragment.java │ │ │ │ ├── AboutFragment.java │ │ │ │ ├── ModuleDesignFragment.java │ │ │ │ ├── LowBatterySMS.java │ │ │ │ ├── QuotesEmail.java │ │ │ │ ├── XKCD.java │ │ │ │ ├── VolumeMax.java │ │ │ │ ├── VolumeMin.java │ │ │ │ ├── SMSWiFiOn.java │ │ │ │ ├── GetLocation.java │ │ │ │ ├── SMSWiFiOff.java │ │ │ │ ├── RSS.java │ │ │ │ ├── LostPhone.java │ │ │ │ └── WiFiOnTimer.java │ │ │ │ ├── Module.java │ │ │ │ ├── JSSEProvider.java │ │ │ │ ├── Splash.java │ │ │ │ ├── GMailSender.java │ │ │ │ ├── HelpSMS.java │ │ │ │ ├── TriggerOnReceiver.java │ │ │ │ └── TriggerReceiver.java │ │ └── AndroidManifest.xml │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── aaars │ │ │ └── b │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── aaars │ │ └── b │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro ├── google-services.json └── build.gradle ├── screenshots ├── .gitignore ├── app-five.jpg ├── app-four.jpg ├── app-nine.jpg ├── app-one.jpg ├── app-six.jpg ├── app-ten.jpg ├── app-two.jpg ├── app-eight.jpg ├── app-eleven.jpg ├── app-seven.jpg └── app-three.jpg ├── settings.gradle ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gitignore ├── gradle.properties ├── gradlew.bat ├── README.md └── gradlew /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /screenshots/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /app/libs/mail.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/app/libs/mail.jar -------------------------------------------------------------------------------- /app/libs/activation.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/app/libs/activation.jar -------------------------------------------------------------------------------- /app/libs/additionnal.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/app/libs/additionnal.jar -------------------------------------------------------------------------------- /screenshots/app-five.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/screenshots/app-five.jpg -------------------------------------------------------------------------------- /screenshots/app-four.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/screenshots/app-four.jpg -------------------------------------------------------------------------------- /screenshots/app-nine.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/screenshots/app-nine.jpg -------------------------------------------------------------------------------- /screenshots/app-one.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/screenshots/app-one.jpg -------------------------------------------------------------------------------- /screenshots/app-six.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/screenshots/app-six.jpg -------------------------------------------------------------------------------- /screenshots/app-ten.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/screenshots/app-ten.jpg -------------------------------------------------------------------------------- /screenshots/app-two.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/screenshots/app-two.jpg -------------------------------------------------------------------------------- /screenshots/app-eight.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/screenshots/app-eight.jpg -------------------------------------------------------------------------------- /screenshots/app-eleven.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/screenshots/app-eleven.jpg -------------------------------------------------------------------------------- /screenshots/app-seven.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/screenshots/app-seven.jpg -------------------------------------------------------------------------------- /screenshots/app-three.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/screenshots/app-three.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/app/src/main/res/drawable/a.png -------------------------------------------------------------------------------- /app/src/main/res/raw/alarm.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/app/src/main/res/raw/alarm.mp3 -------------------------------------------------------------------------------- /app/src/main/res/drawable/exit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/app/src/main/res/drawable/exit.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/help.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/app/src/main/res/drawable/help.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/onbp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/app/src/main/res/drawable/onbp.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/app/src/main/res/drawable/user.png -------------------------------------------------------------------------------- /app/src/main/res/font/bookerly.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/app/src/main/res/font/bookerly.ttf -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/res/drawable/about.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/app/src/main/res/drawable/about.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/alpha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/app/src/main/res/drawable/alpha.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/laptop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/app/src/main/res/drawable/laptop.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/login.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/app/src/main/res/drawable/login.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/logout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/app/src/main/res/drawable/logout.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/account.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/app/src/main/res/drawable/account.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/android.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/app/src/main/res/drawable/android.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/favourite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/app/src/main/res/drawable/favourite.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/onb_user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/app/src/main/res/drawable/onb_user.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/profile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/app/src/main/res/drawable/profile.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/project.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/app/src/main/res/drawable/project.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/whatshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/app/src/main/res/drawable/whatshot.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/onb_getstarted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/app/src/main/res/drawable/onb_getstarted.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theashwin/automator/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/theashwin/automator/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/theashwin/automator/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/theashwin/automator/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/theashwin/automator/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/java/com/aaars/b/MessageListener.java: -------------------------------------------------------------------------------- 1 | package com.aaars.b; 2 | 3 | public interface MessageListener { 4 | void messageReceived(String message); 5 | } 6 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/libraries 5 | /.idea/modules.xml 6 | /.idea/workspace.xml 7 | .DS_Store 8 | /build 9 | /captures 10 | .externalNativeBuild 11 | -------------------------------------------------------------------------------- /app/src/main/java/com/aaars/b/TriggerLogs.java: -------------------------------------------------------------------------------- 1 | package com.aaars.b; 2 | 3 | public class TriggerLogs { 4 | public int id; 5 | 6 | public TriggerLogs() {} 7 | 8 | public TriggerLogs(int id) { 9 | this.id = id; 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /app/src/main/res/color/nav_colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/indicator_unselected.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/indicator_selected.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Sep 07 23:12:31 IST 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.4-all.zip 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/edit.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/java/com/aaars/b/LastRun.java: -------------------------------------------------------------------------------- 1 | package com.aaars.b; 2 | 3 | import java.util.*; 4 | 5 | public class LastRun { 6 | public ArrayList lastrun; 7 | 8 | 9 | public LastRun() { 10 | lastrun = new ArrayList<>(); 11 | for(int i = 0; i < 29; i++) { 12 | lastrun.add("0"); 13 | } 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_about.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 64dp 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_chevron_right_24dp.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_onboarding.xml: -------------------------------------------------------------------------------- 1 | 5 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 16dp 6 | 8dp 7 | 8 | 8dp 9 | 24dp 10 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/test/java/com/aaars/b/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.aaars.b; 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() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /app/src/main/res/drawable/mail.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/java/com/aaars/b/UserData.java: -------------------------------------------------------------------------------- 1 | package com.aaars.b; 2 | 3 | import android.support.annotation.Keep; 4 | 5 | @Keep 6 | public class UserData { 7 | public String name; 8 | public String email; 9 | public String photo; 10 | 11 | public UserData() { } 12 | 13 | public UserData(String name, String email, String photo) { 14 | this.name = name; 15 | this.email = email; 16 | this.photo = photo; 17 | 18 | } 19 | 20 | public class activity { } 21 | } 22 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_help.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 13 | 14 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_get_location.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 13 | 14 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/network.xml: -------------------------------------------------------------------------------- 1 | 6 | 10 | 13 | 14 | -------------------------------------------------------------------------------- /app/src/main/res/menu/navigation.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 10 | 14 | 18 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #488EFF 4 | #488EFF 5 | #ffd739 6 | 7 | #00BCD4 8 | #4CAF50 9 | #FF9800 10 | #e0e0e0 11 | #40e0e0e0 12 | #00000000 13 | #FFA000 14 | #D32F2F 15 | 16 | #ffffff 17 | #80ffffff 18 | 19 | #a4c639 20 | 21 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | # IDE (e.g. Android Studio) users: 3 | # Gradle settings configured through the IDE *will override* 4 | # any settings specified in this file. 5 | # For more details on how to configure your build environment visit 6 | # http://www.gradle.org/docs/current/userguide/build_environment.html 7 | # Specifies the JVM arguments used for the daemon process. 8 | # The setting is particularly useful for tweaking memory settings. 9 | org.gradle.jvmargs=-Xmx1536m 10 | # When configured, Gradle will run in incubating parallel mode. 11 | # This option should only be used with decoupled projects. More details, visit 12 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 13 | # org.gradle.parallel=true 14 | -------------------------------------------------------------------------------- /app/src/main/java/com/aaars/b/Fragments/HelpFragment.java: -------------------------------------------------------------------------------- 1 | package com.aaars.b.Fragments; 2 | 3 | 4 | import android.os.Bundle; 5 | import android.support.v4.app.Fragment; 6 | import android.view.LayoutInflater; 7 | import android.view.View; 8 | import android.view.ViewGroup; 9 | 10 | import com.aaars.b.R; 11 | 12 | /** 13 | * A simple {@link Fragment} subclass. 14 | */ 15 | public class HelpFragment extends Fragment { 16 | 17 | 18 | public HelpFragment() { 19 | // Required empty public constructor 20 | } 21 | 22 | 23 | @Override 24 | public View onCreateView(LayoutInflater inflater, ViewGroup container, 25 | Bundle savedInstanceState) { 26 | // Inflate the layout for this fragment 27 | return inflater.inflate(R.layout.fragment_help, container, false); 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /app/src/main/java/com/aaars/b/Fragments/AboutFragment.java: -------------------------------------------------------------------------------- 1 | package com.aaars.b.Fragments; 2 | 3 | 4 | import android.os.Bundle; 5 | import android.support.v4.app.Fragment; 6 | import android.view.LayoutInflater; 7 | import android.view.View; 8 | import android.view.ViewGroup; 9 | 10 | import com.aaars.b.R; 11 | 12 | /** 13 | * A simple {@link Fragment} subclass. 14 | */ 15 | public class AboutFragment extends Fragment { 16 | 17 | 18 | public AboutFragment() { 19 | // Required empty public constructor 20 | } 21 | 22 | 23 | @Override 24 | public View onCreateView(LayoutInflater inflater, ViewGroup container, 25 | Bundle savedInstanceState) { 26 | // Inflate the layout for this fragment 27 | return inflater.inflate(R.layout.fragment_about, container, false); 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /app/src/androidTest/java/com/aaars/b/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package com.aaars.b; 2 | 3 | import android.content.Context; 4 | import android.support.test.InstrumentationRegistry; 5 | import android.support.test.runner.AndroidJUnit4; 6 | 7 | import org.junit.Test; 8 | import org.junit.runner.RunWith; 9 | 10 | import static org.junit.Assert.*; 11 | 12 | /** 13 | * Instrumented test, which will execute on an Android device. 14 | * 15 | * @see Testing documentation 16 | */ 17 | @RunWith(AndroidJUnit4.class) 18 | public class ExampleInstrumentedTest { 19 | @Test 20 | public void useAppContext() { 21 | // Context of the app under test. 22 | Context appContext = InstrumentationRegistry.getTargetContext(); 23 | 24 | assertEquals("com.aaars.b", appContext.getPackageName()); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/src/main/java/com/aaars/b/Module.java: -------------------------------------------------------------------------------- 1 | package com.aaars.b; 2 | 3 | import java.util.*; 4 | 5 | public class Module { 6 | public int activityid; 7 | public int triggerid; 8 | public Boolean enabled; 9 | public ArrayList parameters; 10 | 11 | 12 | public Module() { 13 | activityid = -1; 14 | triggerid = -1; 15 | enabled = false; 16 | parameters = new ArrayList<>(); 17 | } 18 | 19 | public void onStart() { 20 | if(enabled) { 21 | switch(activityid) { 22 | case 1: 23 | break; 24 | case -1: 25 | return; 26 | } 27 | 28 | switch(triggerid) { 29 | case 1: 30 | break; 31 | case -1: 32 | return; 33 | } 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_discover.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 13 | 14 | 19 | 20 | -------------------------------------------------------------------------------- /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 | 23 | -keep class com.google.firebase.example.fireeats.model.** { *; } 24 | -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Automator 3 | Onboarding 4 | Settings 5 | To get started, please signup using Google to get you up and running in no time. 6 | The app requires special permissions to function. 7 | Almost there! A beautiful world, that works for you awaits. 8 | Modules 9 | Discover 10 | Profile 11 | 12 | 13 | Ashwin Patil 14 | theashwinpaitl@gmail.com 15 | 16 | 17 | Hello blank fragment 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_emergency_timer.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 16 | 17 | 18 | 26 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_module_design.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 16 | 17 | 18 | 26 | -------------------------------------------------------------------------------- /app/src/main/java/com/aaars/b/JSSEProvider.java: -------------------------------------------------------------------------------- 1 | package com.aaars.b; 2 | 3 | import java.security.AccessController; 4 | import java.security.Provider; 5 | 6 | public final class JSSEProvider extends Provider { 7 | public JSSEProvider() { 8 | super("HarmonyJSSE", 1.0, "Harmony JSSE Provider"); 9 | AccessController 10 | .doPrivileged(new java.security.PrivilegedAction() { 11 | 12 | public Void run() { 13 | put("SSLContext.TLS", 14 | "org.apache.harmony.xnet.provider.jsse.SSLContextImpl"); 15 | put("Alg.Alias.SSLContext.TLSv1", "TLS"); 16 | put("KeyManagerFactory.X509", 17 | "org.apache.harmony.xnet.provider.jsse.KeyManagerFactoryImpl"); 18 | put("TrustManagerFactory.X509", 19 | "org.apache.harmony.xnet.provider.jsse.TrustManagerFactoryImpl"); 20 | return null; 21 | } 22 | 23 | }); 24 | } 25 | } 26 | 27 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_root.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 16 | 17 | 18 | 26 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_module.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 13 | 14 | 20 | 21 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_home.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 11 | 17 | 18 | 25 | 26 | 27 | 28 | 29 | 36 | 37 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_module_design.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 20 | 21 |