基于 MiAuto / ICCOA CarLink 深度定制的哪吒 S(8155 / Android 11)专属车机端
本项目基于 MiAuto(ICCOA CarLink 车机端)针对 2022 款哪吒 S 增程(高通 8155 / Android 11) 互联卡片窗口(1568 × 1200)进行深度界面与协议适配,配合三星手机(Galaxy Z Fold5 等)提供稳定、低占用、行车安全的有线投屏体验。
- 哪吒 S 1:1 窗口无界布局:
- 采用
2:1(1568 × 784 @ 60 FPS)横屏投屏,底部精确留白40dp避开哪吒 S 互联卡片底圆角,取消所有画面圆角裁切,操作顺手。 - 保留哪吒 S 原生顶部状态栏与底部空调/导航栏。
- 采用
- 静态锁定氛围背景:
- 首帧渲染后自动采样三星车联壁纸上下边缘主色,生成匹配渐变背景与
24dp羽化过渡边,随后静态锁定(行车过程零闪烁;轻点空白区或日夜模式切换时重新采样一次)。
- 首帧渲染后自动采样三星车联壁纸上下边缘主色,生成匹配渐变背景与
- 顶部双磨砂功能卡片(支持一键隐藏/展开):
- 左侧 · 纯手机播放源音乐卡:通过 ICCOA
onMusicInfoReceived抓取手机端歌名、歌手/专辑与总时长,支持上一曲 / 播放暂停 / 下一曲直控手机;封面异步降采样解码并缓存,低内存占用。 - 右侧 · 时间与农历胶囊:实时显示时间、星期、
NETA S标识与系统 ICU 农历日期,按实屏宽度像素等比缩放,余光易读。 - 右上角开关:支持「隐藏卡片 / 显示卡片」一键切换并本地持久化。
- 左侧 · 纯手机播放源音乐卡:通过 ICCOA
- USB 设备兼容性修复:
- 在
icar-sdk中跳过外接行车记录仪 U 盘(如海康152d:0580),避免 AOA 握手误匹配。
- 在
export JAVA_HOME="/Applications/Android Studio.app/Contents/jbr/Contents/Home"
export ANDROID_HOME="$HOME/Library/Android/sdk"
./gradlew :app:assembleGithubRelease --no-daemon产物位于 app/build/outputs/apk/github/release/,可使用你自己的签名证书通过 zipalign 与 apksigner 签名后安装到车机。
A customized ICCOA CarLink head-unit client (based on MiAuto) tailored for the Neta S (Snapdragon 8155 / Android 11) 1568 × 1200 interconnection card window, delivering a smooth 1568 × 784 @ 60 FPS wired projection experience with Samsung Galaxy phones.
- Neta S Window-Exact Layout: Flat-edged
2:1(1568 × 784 @ 60 FPS) projection positioned40dpabove the bottom rounded card corners, while keeping Neta S's native top status bar and bottom HVAC/nav bar visible. - Driving-Safe Static Ambient Blend: Samples the top and bottom edges of Samsung CarLink's active wallpaper once after the first frame, paints a matching vertical gradient with
24dpfeathered seams, and locks statically (zero flicker while driving; tap ambient area or switch Day/Night mode to re-sample). - Toggleable Top Frosted Cards:
- Phone-Only Music Player: Reads phone media metadata via ICCOA
onMusicInfoReceivedwith async downsampled cover decoding and direct Previous / Play-Pause / Next key control. - Clock & Chinese Lunar Capsule: Displays time, weekday,
NETA Sbadge, and zero-dependency ICU lunar date, dynamically scaled for1568pxdisplays. - Show / Hide Switch: Persistent top-right toggle to collapse cards back to a pure ambient backdrop.
- Phone-Only Music Player: Reads phone media metadata via ICCOA
- USB AOA Compatibility: Skips external DVR USB drives (e.g.
152d:0580) during AOA host discovery.
export JAVA_HOME="/Applications/Android Studio.app/Contents/jbr/Contents/Home"
export ANDROID_HOME="$HOME/Library/Android/sdk"
./gradlew :app:assembleGithubRelease --no-daemonAlign and sign the release APK in app/build/outputs/apk/github/release/ with your own keystore before installing on the head unit.