Android MediaProjection截屏&录屏-适配Android

上传者: bigfc | 上传时间: 2022-09-24 22:05:56 | 文件大小: 120KB | 文件类型: ZIP
Android MediaProjection截屏&录屏 1、解决Android Q中java.lang.SecurityException: Media projections require a foreground service of type ServiceInfo.FOREGROUND_SERVICE_TYPE_MEDIA_PROJECTION 异常 2、targetSdk 32可用

文件下载

资源详情

[{"title":"( 42 个子文件 120KB ) Android MediaProjection截屏&录屏-适配Android","children":[{"title":"MediaProjectionDemo","children":[{"title":"gradlew.bat <span style='color:#111;'> 2.61KB </span>","children":null,"spread":false},{"title":"gradlew <span style='color:#111;'> 5.63KB </span>","children":null,"spread":false},{"title":"gradle.properties <span style='color:#111;'> 884B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 11.09KB </span>","children":null,"spread":false},{"title":"app","children":[{"title":"proguard-rules.pro <span style='color:#111;'> 750B </span>","children":null,"spread":false},{"title":".DS_Store <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"zhn","children":[{"title":"learn_android","children":[{"title":"ExampleUnitTest.kt <span style='color:#111;'> 345B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"androidTest","children":[{"title":"java","children":[{"title":"com","children":[{"title":"zhn","children":[{"title":"learn_android","children":[{"title":"ExampleInstrumentedTest.kt <span style='color:#111;'> 669B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"res","children":[{"title":"mipmap-xxxhdpi","children":[{"title":"ic_launcher.webp <span style='color:#111;'> 3.75KB </span>","children":null,"spread":false},{"title":"ic_launcher_round.webp <span style='color:#111;'> 7.60KB </span>","children":null,"spread":false}],"spread":true},{"title":".DS_Store <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"mipmap-hdpi","children":[{"title":"ic_launcher.webp <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"ic_launcher_round.webp <span style='color:#111;'> 2.83KB </span>","children":null,"spread":false}],"spread":false},{"title":"values","children":[{"title":"colors.xml <span style='color:#111;'> 378B </span>","children":null,"spread":false},{"title":"themes.xml <span style='color:#111;'> 835B </span>","children":null,"spread":false},{"title":"strings.xml <span style='color:#111;'> 75B </span>","children":null,"spread":false}],"spread":false},{"title":"values-night","children":[{"title":"themes.xml <span style='color:#111;'> 835B </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xxhdpi","children":[{"title":"ic_launcher.webp <span style='color:#111;'> 2.82KB </span>","children":null,"spread":false},{"title":"ic_launcher_round.webp <span style='color:#111;'> 5.78KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-mdpi","children":[{"title":"ic_launcher.webp <span style='color:#111;'> 982B </span>","children":null,"spread":false},{"title":"ic_launcher_round.webp <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xhdpi","children":[{"title":"ic_launcher.webp <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false},{"title":"ic_launcher_round.webp <span style='color:#111;'> 3.83KB </span>","children":null,"spread":false}],"spread":false},{"title":"layout","children":[{"title":"activity_main.xml <span style='color:#111;'> 822B </span>","children":null,"spread":false},{"title":"activity_media_projection.xml <span style='color:#111;'> 937B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":".DS_Store <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"java","children":[{"title":"com","children":[{"title":".DS_Store <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"zhn","children":[{"title":"learn_android","children":[{"title":"MediaProjectionActivity.kt <span style='color:#111;'> 7.37KB </span>","children":null,"spread":false},{"title":"MainActivity.kt <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"service","children":[{"title":"ScreenShortRecordService.kt <span style='color:#111;'> 10.62KB </span>","children":null,"spread":false}],"spread":false},{"title":"utils","children":[{"title":"Socope.kt <span style='color:#111;'> 1021B </span>","children":null,"spread":false},{"title":"MediaPlayerHelper.kt <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false}],"spread":false},{"title":"listener","children":[{"title":"ScreenshotListener.kt <span style='color:#111;'> 173B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":".DS_Store <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false}],"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".gitignore <span style='color:#111;'> 6B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false}],"spread":true},{"title":".DS_Store <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"gradle","children":[{"title":"wrapper","children":[{"title":"gradle-wrapper.jar <span style='color:#111;'> 57.82KB </span>","children":null,"spread":false},{"title":"gradle-wrapper.properties <span style='color:#111;'> 230B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"settings.gradle <span style='color:#111;'> 330B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 358B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明