Android camera-ipc-sample.zip

上传者: hello_1995 | 上传时间: 2022-09-21 22:06:57 | 文件大小: 171KB | 文件类型: ZIP
Android 基于共享内存实现 Camera 跨进程大数据的高效传输。该工程包含两个App:MultiCameraService、MultiCameraClient。安装这两个 Apk,手动给 MultiCameraService App 授予 Camera 访问权限,然后打开 MultiCameraClient App,点击预览开关按钮,正常情况下即可实现 Camera 预览。 目前有很多智能设备采用了Android系统,对Camera,图形渲染都有很多不同于手机App的需求,在没有很好的跨进程传输方案的情况,有些项目只能把很多业务功能杂糅在一个App进程中,使模块承载的业务功能不是很清晰,有了这种方案,可以更加优化项目模型架构的设计。

文件下载

资源详情

[{"title":"( 64 个子文件 171KB ) Android camera-ipc-sample.zip","children":[{"title":"camera-ipc-sample","children":[{"title":"gradlew.bat <span style='color:#111;'> 2.70KB </span>","children":null,"spread":false},{"title":"gradlew <span style='color:#111;'> 5.63KB </span>","children":null,"spread":false},{"title":"camera_server","children":[{"title":"proguard-rules.pro <span style='color:#111;'> 750B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"example","children":[{"title":"multi","children":[{"title":"camera","children":[{"title":"service","children":[{"title":"ExampleUnitTest.java <span style='color:#111;'> 393B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"androidTest","children":[{"title":"java","children":[{"title":"com","children":[{"title":"example","children":[{"title":"multi","children":[{"title":"camera","children":[{"title":"service","children":[{"title":"ExampleInstrumentedTest.java <span style='color:#111;'> 778B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"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":"drawable","children":[{"title":"ic_launcher_background.xml <span style='color:#111;'> 5.47KB </span>","children":null,"spread":false}],"spread":true},{"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":true},{"title":"drawable-v24","children":[{"title":"ic_launcher_foreground.xml <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"colors.xml <span style='color:#111;'> 207B </span>","children":null,"spread":false},{"title":"strings.xml <span style='color:#111;'> 79B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 394B </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":"mipmap-anydpi-v26","children":[{"title":"ic_launcher_round.xml <span style='color:#111;'> 272B </span>","children":null,"spread":false},{"title":"ic_launcher.xml <span style='color:#111;'> 272B </span>","children":null,"spread":false}],"spread":false},{"title":"layout","children":[{"title":"activity_main.xml <span style='color:#111;'> 503B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"aidl","children":[{"title":"com","children":[{"title":"example","children":[{"title":"multi","children":[{"title":"camera","children":[{"title":"service","children":[{"title":"ICameraService.aidl <span style='color:#111;'> 276B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"example","children":[{"title":"multi","children":[{"title":"camera","children":[{"title":"service","children":[{"title":"MainActivity.java <span style='color:#111;'> 2.41KB </span>","children":null,"spread":false},{"title":"CameraService.java <span style='color:#111;'> 8.01KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.19KB </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;'> 687B </span>","children":null,"spread":false},{"title":"libs","children":null,"spread":false}],"spread":true},{"title":"gradle.properties <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"camera_client","children":[{"title":"proguard-rules.pro <span style='color:#111;'> 750B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"example","children":[{"title":"multi","children":[{"title":"camera","children":[{"title":"client","children":[{"title":"ExampleUnitTest.java <span style='color:#111;'> 392B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"androidTest","children":[{"title":"java","children":[{"title":"com","children":[{"title":"example","children":[{"title":"multi","children":[{"title":"camera","children":[{"title":"client","children":[{"title":"ExampleInstrumentedTest.java <span style='color:#111;'> 776B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"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":"drawable","children":[{"title":"ic_launcher_background.xml <span style='color:#111;'> 5.47KB </span>","children":null,"spread":false}],"spread":true},{"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":"drawable-v24","children":[{"title":"ic_launcher_foreground.xml <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false}],"spread":false},{"title":"values","children":[{"title":"colors.xml <span style='color:#111;'> 207B </span>","children":null,"spread":false},{"title":"strings.xml <span style='color:#111;'> 247B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 499B </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":"mipmap-anydpi-v26","children":[{"title":"ic_launcher_round.xml <span style='color:#111;'> 272B </span>","children":null,"spread":false},{"title":"ic_launcher.xml <span style='color:#111;'> 272B </span>","children":null,"spread":false}],"spread":false},{"title":"layout","children":[{"title":"activity_main.xml <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"aidl","children":[{"title":"com","children":[{"title":"example","children":[{"title":"multi","children":[{"title":"camera","children":[{"title":"service","children":[{"title":"ICameraService.aidl <span style='color:#111;'> 276B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"example","children":[{"title":"multi","children":[{"title":"camera","children":[{"title":"client","children":[{"title":"MainActivity.java <span style='color:#111;'> 6.08KB </span>","children":null,"spread":false},{"title":"ImageUtil.java <span style='color:#111;'> 6.53KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 845B </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;'> 686B </span>","children":null,"spread":false},{"title":"libs","children":null,"spread":false}],"spread":true},{"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;'> 238B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".gitignore <span style='color:#111;'> 109B </span>","children":null,"spread":false},{"title":"local.properties <span style='color:#111;'> 419B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 424B </span>","children":null,"spread":false},{"title":"settings.gradle <span style='color:#111;'> 89B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 536B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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