• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps How to write a robust fingerprint device driver for Android M...

Hello Android developers!

Our company is attempting to integrate our biometric fingerprint sensor into the Android fingerprint API recently introduced with Android Marshmallow.

Documentation and code samples have thus far done a great job of explaining how to code Java user applications to leverage the fingerprint API, but little has been found on how to properly write a C fingerprint hardware driver that can be consumed by the above-mentioned app-layer fingerprint API in Java.

Studying the fingerprint API codebase, I see that that lowest visible level of the fingerprint API (implemented by modules/libhardware/fingerprint/fingerprint.c) appears a viable place to insert the low-level code we need to interface with our hardware. Some questions remain however...

Q1: We want to implement a secure device driver compatible from Android's trusted-computing architecture. Is code we add to fingerprint.c running in the trusted zone? (i.e. unhackable)

Q2: Given the secure nature of a fingerprint driver, does our company need to develop a relationship with Google for us to obtain the resources we need to write a secure/unhackable fingerprint driver?

Q3: Does a reference hardware driver or documentation exist to guide fingerprint hardware manufacturers write better drivers?

Thank you very much for your advice!

Jean-Pierre
 
Your question is extremely specialised, and this forum might not be the best place to ask it. You may get better exposure on StackOverflow, if you've not already asked there.
But it may be that you need to approach Google directly to get some answers.
Interesting project though, good luck.
 
Back
Top Bottom