Skip to content

新增 android-launcher 骨架(桌面、悬浮栏、车控桩)#831

Open
y9thht8jm9-hub wants to merge 1 commit into
chaitin:mainfrom
y9thht8jm9-hub:y9thht8jm9-hub-monkeycode-desktop
Open

新增 android-launcher 骨架(桌面、悬浮栏、车控桩)#831
y9thht8jm9-hub wants to merge 1 commit into
chaitin:mainfrom
y9thht8jm9-hub:y9thht8jm9-hub-monkeycode-desktop

Conversation

@y9thht8jm9-hub

Copy link
Copy Markdown

为什么:
提供一个可编译的 Android Studio 模块作为领克车机桌面(复刻)开发的起点,方便在本地进行迭代开发与功能验收。

实现方式概述:

  • 新增 android-launcher 模块,包含主入口 MainLauncherActivity、应用加载管理 AppLoadManager、桌面分页适配器 DesktopPageAdapter。
  • 添加悬浮侧栏实现骨架 FloatBarManager 与后台服务 FloatSideBarService,提供基本悬浮窗创建与拖拽。\n- 增加车控相关桩类 VehicleControlManager 与 VehicleDataManager,并加入 AppInstallReceiver/BootCompleteReceiver、权限检测工具 SPUtil、PermissionCheckUtil、基础布局与 Manifest 条目。

注意事项与后续工作:

  • 当前为骨架实现,许多交互(图标拖拽、文件夹、跨页拖动、抽屉批量管理、完整 AIDL 对接等)为后续迭代项;代码中已预留入口与注释位置以便扩展。
  • 请在本地用 Android Studio 打开 android-launcher 并同步 Gradle 进行构建测试(需要 Android SDK/Java)。

代码审阅点:

  • 车厂私有广播/指令需在真实车机或厂商文档下调整;Vehicle* 类为适配层,后续将补充 AIDL 与权限校验。

Co-authored-by: Copilot App 223556219+Copilot@users.noreply.github.com

…odules

Adds a standalone android-launcher module containing:
- MainLauncherActivity, AppLoadManager, DesktopPageAdapter
- FloatBarManager and FloatSideBarService for the side float bar
- VehicleControlManager and VehicleDataManager stubs for Lynk car integration
- Broadcast receivers, permission checks, SPUtil, layouts and manifest entries

This is an initial skeleton to allow iterative development and local Gradle builds. Further feature completion (drag/drop, folders, full vehicle AIDL integration) will follow in subsequent PRs.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant