The invention belongs to the vehicle-mounted field, and relates to a vehicle-mounted desktop card implementation method and device, computer equipment and a storage medium, and the method comprises the steps that desktop applications construct a card container, and the card container is used for bearing cards displayed by the applications; the method comprises the steps that a desktop application obtains cards needing to be displayed in a current system, the collected application cards are put into a set, and the application cards are sorted according to requirements; a card parent layout is realized by the desktop application, and cards of all applications in the set are added into a card container; performing event monitoring registration on the control of the card by the card application; and when the card application receives a broadcast sent according to the registered content after the user clicks the desktop card, the card application responds to the event. A desktop card is realized by using an Android native Widget scheme, the workload of a desktop can be reduced, and the display content and layout of the card are realized by a card application; the coupling degree between the application and the desktop can be reduced, and the development efficiency is improved.
本发明属于车载领域,涉及车载桌面卡片实现方法、装置、计算机设备及存储介质,所述方法包括:由桌面应用构建卡片容器,卡片容器用于承载各应用所显示的卡片;由桌面应用获取当前系统中需要显示的卡片,将收集到的应用卡片放入集合中,根据需求对应用卡片进行排序;由桌面应用实现卡片父布局,将集合中全部应用的卡片添加到卡片容器中;由卡片应用对卡片的控件进行事件监听注册;当卡片应用收到来自用户因为点击桌面卡片后,根据注册的内容所发出的广播后,对事件进行响应。使用Android原生Widget的方案实现桌面卡片,可减少桌面的工作量,卡片显示内容和布局都交由卡片应用实现;可降低应用和桌面之间的耦合度,提升开发效率。
Vehicle-mounted desktop card implementation method and device, computer equipment and storage medium
车载桌面卡片实现方法、装置、计算机设备及存储介质
2025-02-25
Patent
Electronic Resource
Chinese
Vehicle-mounted scene implementation method and device, computer storage medium and vehicle
European Patent Office | 2023
|Vehicle-mounted equipment control method, computer equipment, storage medium and vehicle
European Patent Office | 2023
|Processing method, vehicle-mounted equipment and computer storage medium
European Patent Office | 2023
|Vehicle control method, vehicle-mounted equipment, vehicle and computer storage medium
European Patent Office | 2024
|Dynamic display method, device and equipment of vehicle-mounted desktop and vehicle
European Patent Office | 2025
|