在Android Developer上看到Fingerprint类属于API 23。
那么目前没有升级到API 23,但是支持指纹识别的Android设备是如何做的呢?
比如小米MIUI中,是有自己的指纹sdk吗?
巴扎黑2017-04-17 17:12:20
Fingerprint recognition is mainly a hardware technology. The operation of the hardware first requires a hardware driver. Different fingerprint recognition chip vendors will provide different drivers. Third-party users (such as Xiaomi) implant fingerprint recognition hardware on the machine. , debug the driver, and call the data sensed by the fingerprint recognition hardware through a specific application layer API. The MIUI you mentioned has an SDK, which can be considered, but it is not public. It is impossible for third-party applications running on MIUI to retrieve fingerprint recognition data. This is not only the case for Xiaomi, but also for Huawei, Samsung, Meizu, etc. API23 standardizes and opens up this part, but it will be difficult to say when API23 becomes popular. Manufacturers such as Xiaomi, Samsung, Meizu, and Huawei may not agree with this standard. Fingerprint recognition data is sensitive data, and manufacturers may use it under the banner of security. , it is not surprising that each company will come up with a set of variant APIs.