• 大小: 15.92MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-07-31
  • 语言: Java
  • 标签: Android  短信监听  

资源简介

Android 短信接收监听的两种方式,由于Android6.0后很多权限需要动态添加,所以本demo首先要解决的问题是如何添加短信的动态权限,而后使用两种方式监听短信接收

资源截图

代码片段和文件信息

/**
 * Automatically generated file. DO NOT MODIFY
 */
package com.dyh.sms.test;

public final class BuildConfig {
  public static final boolean DEBUG = Boolean.parseBoolean(“true“);
  public static final String APPLICATION_ID = “com.dyh.sms.test“;
  public static final String BUILD_TYPE = “debug“;
  public static final String FLAVOR = ““;
  public static final int VERSION_CODE = 1;
  public static final String VERSION_NAME = “1.0“;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-01-04 16:08  sms\
     目录           0  2019-01-04 16:57  sms\app\
     文件       11221  2019-01-04 16:57  sms\app\app.iml
     文件         751  2019-01-04 16:06  sms\app\proguard-rules.pro
     目录           0  2019-01-04 16:06  sms\app\libs\
     文件           7  2019-01-04 16:06  sms\app\.gitignore
     文件         720  2019-01-04 16:27  sms\app\build.gradle
     目录           0  2019-01-04 16:33  sms\app\build\
     目录           0  2019-01-04 16:33  sms\app\build\generated\
     文件     2829140  2018-11-15 15:19  sms\app\build\generated\mockable-android-27.v3.jar
     目录           0  2019-01-04 16:07  sms\app\build\generated\res\
     目录           0  2019-01-04 16:08  sms\app\build\generated\res\pngs\
     目录           0  2019-01-04 16:08  sms\app\build\generated\res\pngs\androidTest\
     目录           0  2019-01-04 16:08  sms\app\build\generated\res\pngs\androidTest\debug\
     目录           0  2019-01-04 16:07  sms\app\build\generated\res\pngs\debug\
     目录           0  2019-01-04 16:08  sms\app\build\generated\res\pngs\debug\drawable-xhdpi\
     文件        1320  2019-01-04 16:08  sms\app\build\generated\res\pngs\debug\drawable-xhdpi\ic_launcher_background.png
     目录           0  2019-01-04 16:08  sms\app\build\generated\res\pngs\debug\drawable-xxhdpi\
     文件        3254  2019-01-04 16:08  sms\app\build\generated\res\pngs\debug\drawable-xxhdpi\ic_launcher_background.png
     目录           0  2019-01-04 16:08  sms\app\build\generated\res\pngs\debug\drawable-hdpi\
     文件         730  2019-01-04 16:08  sms\app\build\generated\res\pngs\debug\drawable-hdpi\ic_launcher_background.png
     目录           0  2019-01-04 16:08  sms\app\build\generated\res\pngs\debug\drawable-ldpi\
     文件         331  2019-01-04 16:08  sms\app\build\generated\res\pngs\debug\drawable-ldpi\ic_launcher_background.png
     目录           0  2019-01-04 16:07  sms\app\build\generated\res\pngs\debug\drawable-anydpi-v21\
     文件        5606  2019-01-04 16:08  sms\app\build\generated\res\pngs\debug\drawable-anydpi-v21\ic_launcher_background.xml
     目录           0  2019-01-04 16:08  sms\app\build\generated\res\pngs\debug\drawable-mdpi\
     文件         407  2019-01-04 16:08  sms\app\build\generated\res\pngs\debug\drawable-mdpi\ic_launcher_background.png
     目录           0  2019-01-04 16:08  sms\app\build\generated\res\pngs\debug\drawable-xxxhdpi\
     文件        4380  2019-01-04 16:08  sms\app\build\generated\res\pngs\debug\drawable-xxxhdpi\ic_launcher_background.png
     目录           0  2019-01-04 16:08  sms\app\build\generated\res\rs\
     目录           0  2019-01-04 16:08  sms\app\build\generated\res\rs\androidTest\
............此处省略3113个文件信息

评论

共有 条评论