我正在努力学习编写硬件抽象层(HAL)。这是我到目前为止所走的路,如果我走了任何一步,请纠正我。
在此之后,我尝试了下面的步骤,但没有成功地获得上述类的识别。
请告诉我,我看到github上的一些存储库没有做什么特别的事情,它们可以像这样在java类中导入包。
import android.hardware.automotive.vehicle.V2_0.VehicleHwKeyInputAction;
import android.hardware.automotive.vehicle.V2_0.VehiclePropValue;
import android.hardware.automotive.vehicle.V2_0.VehicleProperty;
import android.hardware.automotive.vehicle.V2_0.VehiclePropertyAccess;他们到底是怎么进入这些课程的?
谢谢
发布于 2020-12-13 19:39:04
Vehicle并不意味着可以直接从应用程序中访问。汽车服务部为你做这件事。
根据您实际要完成的任务,您有几个选项:
https://stackoverflow.com/questions/65071700
复制相似问题