问题标签 [android-automotive]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
65 浏览

android - 汽车 AOPS 和移动/电视/机顶盒 AOSP 有什么区别

我只是想了解汽车 AOSP 与移动/电视/机顶盒 AOSP 之间的区别。

两种 AOSP 的 AOSP 代码结构显示相似。

你能帮我了解更多吗?

0 投票
0 回答
84 浏览

android - 有没有办法从汽车上获取电动汽车电池的详细信息?

我需要在我的移动应用程序中显示 EV 的剩余电池。有什么方法可以从汽车上获取这些信息。我浏览了这个文档CarPropertyManager,他们提到了一些细节,但我无法实现 CarPropertyManager.CarPropertyEventCallback 这个回调,因为找不到 CarPropertyManager

0 投票
0 回答
230 浏览

android - 为android模拟器构建自定义内核

我正在尝试按照https://source.android.com/devices/automotive/start/avd/android_virtual_device上的说明为 android 模拟器构建一个带有自定义内核的 AVD 映像

问题是模拟器在使用自建内核时只显示黑屏。当我从 prebuilts 文件夹中复制内核或使用下载的 AVD 映像中的内核时,它可以工作。

我已经通过以下步骤构建了 avd 图像:

然后我通过以下步骤构建了内核:

然后我将 sdk-repo-linux-system-images-eng.username.zip 解压缩到 system-images 文件夹,将 bzImage 复制到该文件夹​​并将 bzImage 重命名为 kernel-ranchu-64。

0 投票
0 回答
30 浏览

android - system_app、priv_app 和 platform_app 有什么区别

system_app、privapp 有什么区别。

我们如何确认我开发的应用程序属于特定组,我们在 android 中有很多组,例如 system_app、privapp、platformapp、不受信任的应用程序等。

0 投票
1 回答
102 浏览

java - 如何将谷歌地图集成到安卓的汽车应用程序中?

我将谷歌地图集成到我们的安卓应用程序中。如果我在 Nexus 5X 模拟器中运行该应用程序,它会加载正常;没有观察到问题。当我在 android 汽车模拟器中运行相同的应用程序时..一旦应用程序启动并显示为 google play 服务正在更新但同时地图未加载。

谁能告诉我是什么问题?是否可以将谷歌地图集成到汽车平台中?

下面是我的代码

0 投票
0 回答
69 浏览

android - 为安卓汽车模拟器设置代理

我的问题是针对 Android 汽车模拟器的,而不是针对手机/平板电脑/电视的。

我从 AVD Manager 创建了一个标准 Android Automotive Emulator 的实例。由于我的计算机位于代理网络后面,因此无法连接到网络。将代理详细信息更新到 AVD 设备的设置 → 手动代理设置不起作用。但同样适用于手机/平板电脑/电视设备。我也尝试使用 -http-proxy 的命令行参数,仍然没有运气。

有人可以帮我解决这个问题。

0 投票
1 回答
142 浏览

android-source - Android 汽车仪表盘模拟器

我构建了一个汽车图像,并使用模拟器运行。模拟器会自动启动 Instrument Cluster。在 AOSP 中启动集群的逻辑代码在哪里?

顺便问一下,我可以使用相同的方式在 Android 模拟器中创建另一个显示吗?谢谢

在此处输入图像描述

0 投票
0 回答
60 浏览

android - Android: is it possible to mirror app screen on car screen?

Is it possible to add a feature in an app where the user can mirror the app screen on the car screen monitor using Bluetooth?

Usage: An Android app that retrieves some data from a server and shows this data on a map (like Google Maps) which is inside the app whose screen is mirrored on the car monitor via Bluetooth. (assuming car monitor is running Android)

I have seen Android Auto and Android Automotive but if sharing the app screen via Bluetooth is possible, maybe that's easier than building the app for the car.

Do you have suggestions or recommendations on how to achieve that? Things like libraries or methodologies would be appreciated.

Thanks.

0 投票
0 回答
108 浏览

android - Android Auto 中不显示通知

我在尝试在 Android Auto 中显示通知时遇到了麻烦。

我已经按照配置指南添加了对 Android Auto 1的支持和 Android Auto 2中的通知支持。但是我不清楚通知的文档。因此,如果我的代码有问题,我会寻求帮助。

目前,通知显示在设备上,但不在 Android auto 上。我正在使用 Desktop Head Unit 3进行测试

谢谢!

0 投票
1 回答
71 浏览

android - 如何为 android auto 添加列表视图

我正在尝试构建一个简单的 android 自动应用程序。

我为“hello world”项目找到了一些示例……但就是这样。找不到任何用于创建列表视图(用于联系人)或任何其他视图的内容。有可能吗?