├── app ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── drawable │ │ │ │ ├── calc.png │ │ │ │ ├── key.png │ │ │ │ ├── back12.jpg │ │ │ │ ├── background.jpeg │ │ │ │ ├── background5.jpeg │ │ │ │ ├── buttonborder.xml │ │ │ │ └── edittextborder.xml │ │ │ ├── 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 │ │ │ ├── values │ │ │ │ ├── colors.xml │ │ │ │ ├── styles.xml │ │ │ │ └── strings.xml │ │ │ ├── layout │ │ │ │ ├── dialog_magic.xml │ │ │ │ ├── activity_key_tables.xml │ │ │ │ ├── dialog_rating.xml │ │ │ │ ├── item.xml │ │ │ │ ├── dialog_newkey.xml │ │ │ │ └── activity_main.xml │ │ │ └── menu │ │ │ │ ├── menu1.xml │ │ │ │ └── menu2.xml │ │ ├── java │ │ │ └── cheema │ │ │ │ └── calculater │ │ │ │ ├── mymagic │ │ │ │ ├── pojo_classes │ │ │ │ │ └── KeylogPojo.java │ │ │ │ ├── Magic.java │ │ │ │ ├── adapters │ │ │ │ │ └── Keytables_list_adapter.java │ │ │ │ └── KeyTables.java │ │ │ │ ├── myButtons │ │ │ │ ├── NumButton.java │ │ │ │ ├── MyButton.java │ │ │ │ └── SignButton.java │ │ │ │ ├── SwipeListener.java │ │ │ │ ├── CalculatorLib │ │ │ │ ├── Token.java │ │ │ │ └── SrbCalculator.java │ │ │ │ └── MainActivity.java │ │ └── AndroidManifest.xml │ ├── test │ │ └── java │ │ │ └── cheema │ │ │ └── calculater │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── cheema │ │ └── calculater │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── settings.gradle ├── screenshots ├── keys.jpeg ├── cheat_code.jpeg ├── normal_menu.jpeg └── secret_menu.jpeg ├── .idea ├── copyright │ └── profiles_settings.xml ├── encodings.xml ├── modules.xml ├── runConfigurations.xml ├── gradle.xml ├── compiler.xml └── misc.xml ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gitignore ├── CONTRIBUTING.md ├── gradle.properties ├── README.md ├── gradlew.bat └── gradlew /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /screenshots/keys.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srbcheema1/Magic-Calculator/HEAD/screenshots/keys.jpeg -------------------------------------------------------------------------------- /screenshots/cheat_code.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srbcheema1/Magic-Calculator/HEAD/screenshots/cheat_code.jpeg -------------------------------------------------------------------------------- /.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /screenshots/normal_menu.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srbcheema1/Magic-Calculator/HEAD/screenshots/normal_menu.jpeg -------------------------------------------------------------------------------- /screenshots/secret_menu.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srbcheema1/Magic-Calculator/HEAD/screenshots/secret_menu.jpeg -------------------------------------------------------------------------------- /app/src/main/res/drawable/calc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srbcheema1/Magic-Calculator/HEAD/app/src/main/res/drawable/calc.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/key.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srbcheema1/Magic-Calculator/HEAD/app/src/main/res/drawable/key.png -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srbcheema1/Magic-Calculator/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/res/drawable/back12.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srbcheema1/Magic-Calculator/HEAD/app/src/main/res/drawable/back12.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/background.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srbcheema1/Magic-Calculator/HEAD/app/src/main/res/drawable/background.jpeg -------------------------------------------------------------------------------- /app/src/main/res/drawable/background5.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srbcheema1/Magic-Calculator/HEAD/app/src/main/res/drawable/background5.jpeg -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srbcheema1/Magic-Calculator/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srbcheema1/Magic-Calculator/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srbcheema1/Magic-Calculator/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srbcheema1/Magic-Calculator/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srbcheema1/Magic-Calculator/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srbcheema1/Magic-Calculator/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/srbcheema1/Magic-Calculator/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/srbcheema1/Magic-Calculator/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/srbcheema1/Magic-Calculator/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/srbcheema1/Magic-Calculator/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.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 | -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Sat Jul 08 09:51:24 IST 2017 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-3.3-all.zip 7 | -------------------------------------------------------------------------------- /app/src/main/res/layout/dialog_magic.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/buttonborder.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 6 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/edittextborder.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 6 | 8 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing Guidelines 2 | 3 | ## Thanks for taking the time to contribute to this project. Before making PRs, please note the following: 4 | - Give the PR a meaningful name. 5 | - For e.g. 'Fixes #(issue-number): PR name, fixing the particular bug' (without commas) 6 | - There should be 1 commit for 1 PR. 7 | - If there are more than 1 commit in a PR, squash them. 8 | - Pull Request details should be descriptive. 9 | - Commit message should meaningful. 10 | -------------------------------------------------------------------------------- /app/src/test/java/cheema/calculater/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package cheema.calculater; 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/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Calculater 3 | History 4 | Rate Our App 5 | About Us 6 | Advance Settings 7 | Toggle dynamic Ans 8 | Calculater is an android application developed during Summer Holidays \n\nThis is just a fun application.\n 9 | \n\nDevelopers:--\nSarbjit Singh 10 | \n\nThank you for using app..!! 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 17 | 18 | -------------------------------------------------------------------------------- /app/src/main/java/cheema/calculater/mymagic/pojo_classes/KeylogPojo.java: -------------------------------------------------------------------------------- 1 | package cheema.calculater.mymagic.pojo_classes; 2 | 3 | /** 4 | * Created by srb on 7/7/17. 5 | */ 6 | 7 | public class KeylogPojo { 8 | 9 | public KeylogPojo(String key, String ans){ 10 | this.key = key; 11 | this.ans = ans; 12 | } 13 | 14 | public String getKey() { 15 | return key; 16 | } 17 | 18 | public String getAns() { 19 | return ans; 20 | } 21 | 22 | public void setKey(String key) { 23 | this.key = key; 24 | } 25 | 26 | public void setAns(String ans) { 27 | this.ans = ans; 28 | } 29 | 30 | //variables 31 | private String key; 32 | private String ans; 33 | } 34 | -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /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/src/main/res/menu/menu1.xml: -------------------------------------------------------------------------------- 1 | 5 | 10 | 15 | 20 | 21 | -------------------------------------------------------------------------------- /app/src/androidTest/java/cheema/calculater/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package cheema.calculater; 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 | * Instrumentation 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() throws Exception { 21 | // Context of the app under test. 22 | Context appContext = InstrumentationRegistry.getTargetContext(); 23 | 24 | assertEquals("cheema.calculater", appContext.getPackageName()); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 12 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_key_tables.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 17 | 18 |