├── app ├── .gitignore ├── release │ ├── intro.png │ ├── qrcode.png │ ├── app-release.apk │ └── output-metadata.json ├── src │ ├── main │ │ ├── res │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher_round.png │ │ │ │ ├── ic_launcher_adaptive_back.png │ │ │ │ └── ic_launcher_adaptive_fore.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher_round.png │ │ │ │ ├── ic_launcher_adaptive_back.png │ │ │ │ └── ic_launcher_adaptive_fore.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher_round.png │ │ │ │ ├── ic_launcher_adaptive_back.png │ │ │ │ └── ic_launcher_adaptive_fore.png │ │ │ ├── values │ │ │ │ ├── dimens.xml │ │ │ │ ├── colors.xml │ │ │ │ ├── strings.xml │ │ │ │ └── themes.xml │ │ │ ├── xml │ │ │ │ └── accessibility.xml │ │ │ ├── menu │ │ │ │ └── menu_scrolling.xml │ │ │ ├── xml-v24 │ │ │ │ └── accessibility.xml │ │ │ ├── values-night │ │ │ │ └── themes.xml │ │ │ └── layout │ │ │ │ ├── content_scrolling.xml │ │ │ │ └── activity_scrolling.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── top │ │ │ └── shixinzhang │ │ │ └── food │ │ │ ├── service │ │ │ ├── GrabService.java │ │ │ └── MeituanGrabHandler.java │ │ │ ├── ScrollingActivity.java │ │ │ └── util │ │ │ └── Helper.java │ ├── test │ │ └── java │ │ │ └── top │ │ │ └── shixinzhang │ │ │ └── food │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── top │ │ └── shixinzhang │ │ └── food │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── settings.gradle ├── .idea ├── .gitignore ├── compiler.xml ├── vcs.xml ├── misc.xml ├── gradle.xml └── jarRepositories.xml ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gitignore ├── README.md ├── gradle.properties ├── gradlew.bat └── gradlew /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | rootProject.name = "food" -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /app/release/intro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shixinzhang/MeituanRetailHelper/HEAD/app/release/intro.png -------------------------------------------------------------------------------- /app/release/qrcode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shixinzhang/MeituanRetailHelper/HEAD/app/release/qrcode.png -------------------------------------------------------------------------------- /app/release/app-release.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shixinzhang/MeituanRetailHelper/HEAD/app/release/app-release.apk -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shixinzhang/MeituanRetailHelper/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shixinzhang/MeituanRetailHelper/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shixinzhang/MeituanRetailHelper/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/shixinzhang/MeituanRetailHelper/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_adaptive_back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shixinzhang/MeituanRetailHelper/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_adaptive_back.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_adaptive_fore.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shixinzhang/MeituanRetailHelper/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_adaptive_fore.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_adaptive_back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shixinzhang/MeituanRetailHelper/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_adaptive_back.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_adaptive_fore.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shixinzhang/MeituanRetailHelper/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_adaptive_fore.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_adaptive_back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shixinzhang/MeituanRetailHelper/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_adaptive_back.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_adaptive_fore.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shixinzhang/MeituanRetailHelper/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_adaptive_fore.png -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 180dp 3 | 16dp 4 | 16dp 5 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Thu Apr 07 19:04:59 CST 2022 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-6.5-bin.zip 7 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | local.properties 16 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | -------------------------------------------------------------------------------- /app/release/output-metadata.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "artifactType": { 4 | "type": "APK", 5 | "kind": "Directory" 6 | }, 7 | "applicationId": "top.shixinzhang.food", 8 | "variantName": "processReleaseResources", 9 | "elements": [ 10 | { 11 | "type": "SINGLE", 12 | "filters": [], 13 | "versionCode": 3, 14 | "versionName": "1.3", 15 | "outputFile": "app-release.apk" 16 | } 17 | ] 18 | } -------------------------------------------------------------------------------- /app/src/test/java/top/shixinzhang/food/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package top.shixinzhang.food; 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/xml/accessibility.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFBB86FC 4 | #FF6200EE 5 | #FF3700B3 6 | #4CAF50 7 | #388E3C 8 | #00C853 9 | #E64A19 10 | 11 | #FF03DAC5 12 | #FF018786 13 | #FF000000 14 | #FFFFFFFF 15 | -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_scrolling.xml: -------------------------------------------------------------------------------- 1 | 5 | 10 | 15 | -------------------------------------------------------------------------------- /app/src/main/res/xml-v24/accessibility.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 美团买菜助手 2 | 3 | ![](app/release/intro.png) 4 | 5 | 居家办公三周有余,买菜始终困扰着我,隔几天就要早起抢菜。 6 | 7 | 最近网上看到一个叮咚助手,被作者的创意所折服: 8 | 9 | https://github.com/Skykai521/DingDongHelper 10 | 11 | 我平时用的主要是美团买菜。 12 | 13 | 于是花些时间开发了一个买菜助手软件,可以自动完成在 美团买菜 app 上的结算到付款的整个流程,帮用户节省这些步骤。 14 | 15 | # 下载方式 16 | 17 | 1. 点击这里下载: [https://github.com/shixinzhang/MeituanRetailHelper/blob/main/app/release/app-release.apk](https://github.com/shixinzhang/MeituanRetailHelper/blob/main/app/release/app-release.apk) 18 | 2. 进入公众号后台回复:买菜助手 19 | 20 | ![](app/release/qrcode.png) 21 | 22 | # 使用方式 23 | 24 | 1. 下载美团买菜,加好购物车、添加好收货人信息 25 | 2. 打开买菜助手,点击开始,到设置界面给无障碍权限 26 | 3. 回到助手,再次点击开始,会自动打开美团买菜 app、开始执行 27 | 28 | # 责任说明 29 | 30 | 本软件仅供学习交流,不保证一定成功,勿作其他用途,如作他用所承受的法律责任一概与作者无关。 31 | -------------------------------------------------------------------------------- /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 -------------------------------------------------------------------------------- /app/src/main/res/values-night/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16 | -------------------------------------------------------------------------------- /app/src/androidTest/java/top/shixinzhang/food/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package top.shixinzhang.food; 2 | 3 | import android.content.Context; 4 | 5 | import androidx.test.platform.app.InstrumentationRegistry; 6 | import androidx.test.ext.junit.runners.AndroidJUnit4; 7 | 8 | import org.junit.Test; 9 | import org.junit.runner.RunWith; 10 | 11 | import static org.junit.Assert.*; 12 | 13 | /** 14 | * Instrumented test, which will execute on an Android device. 15 | * 16 | * @see Testing documentation 17 | */ 18 | @RunWith(AndroidJUnit4.class) 19 | public class ExampleInstrumentedTest { 20 | @Test 21 | public void useAppContext() { 22 | // Context of the app under test. 23 | Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); 24 | assertEquals("top.shixinzhang.food", appContext.getPackageName()); 25 | } 26 | } -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 21 | 22 | -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 买菜助手 3 | 买菜助手-开启后可帮你点击,增加买到概率 4 | 5 | "功能介绍:\n" 6 | "自动完成结算、选择时间、支付以及其中的错误重试,减少人工买菜的成本,增加成功概率\n\n" 7 | 8 | "使用步骤:\n" 9 | "1. 下载美团买菜,加好购物车、添加好收货人信息\n" 10 | "2. 打开买菜助手,点击开始,到设置界面给无障碍权限\n" 11 | "3. 回到助手,再次点击开始,会自动打开美团买菜 app、开始执行\n\n" 12 | 13 | "功能反馈请点击右上角\n\n" 14 | 15 | "责任说明:\n" 16 | "本软件仅供个人学习使用,如作他用所承受的法律责任一概与作者无关\n\n" 17 | 18 | "源码地址\n" 19 | "https://github.com/shixinzhang/MeituanRetailHelper\n" 20 | 21 | 22 | 23 | 24 | "功能介绍:\n\n" 25 | 26 | "使用步骤:\n\n" 27 | 28 | "案例说明:\n\n" 29 | 30 | 31 | 开始使用 32 | 关于作者 33 | 功能反馈 34 | 买菜助手:开启后可自动完成下单流程,失败后会自动重试,减少你买菜的成本 35 | -------------------------------------------------------------------------------- /.idea/jarRepositories.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 9 | 10 | 14 | 15 | 19 | 20 | 24 | 25 | -------------------------------------------------------------------------------- /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=-Xmx2048m -Dfile.encoding=UTF-8 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 | # AndroidX package structure to make it clearer which packages are bundled with the 15 | # Android operating system, and which are packaged with your app"s APK 16 | # https://developer.android.com/topic/libraries/support-library/androidx-rn 17 | android.useAndroidX=true 18 | # Automatically convert third-party libraries to use AndroidX 19 | android.enableJetifier=true 20 | android.injected.testOnly=false -------------------------------------------------------------------------------- /app/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16 | 17 | 21 | 22 |