赞
踩
1.\\sdk-9.0\device\rockchip\rk3288\rk3288.mk
PRODUCT_COPY_FILES += device/rockchip/common/4g_modem/EC20-4G-lib/gps.default.so:vendor/lib/hw/gps.default.so
PRODUCT_COPY_FILES += device/rockchip/common/4g_modem/EC20-4G-lib/gps_cfg.inf:system/etc/gps_cfg.inf
2. \sdk-9.0\device\rockchip\common\device.mk
# GPS HAL
PRODUCT_PACKAGES += \
android.hardware.gnss@1.0-impl \
android.hardware.gnss@1.0-service
3.\sdk-9.0\device\rockchip\common\4g_modem\manifest.xml
<hal format="hidl">
<name>android.hardware.gnss</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IGnss</name>
<instance>default</instance>
</interface>
</hal>
4.\sdk-9.0\device\rockchip\common\BoardConfig.mk
BOARD_HAS_GPS ?= true
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。