maoruibin / maoruibin/maoruibin.github.com
指纹识别调用系统测试页面
Open
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 22
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
private fun showAuthenticationScreen() {
val intent = mKeyManager!!.createConfirmDeviceCredentialIntent("finger", "测试指纹识别")
if (intent != null) {
startActivityForResult(intent, REQUEST_CODE_CONFIRM_DEVICE_CREDENTIALS)
}
}
override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent) {
if (requestCode == REQUEST_CODE_CONFIRM_DEVICE_CREDENTIALS) {
// Challenge completed, proceed with using cipher
if (resultCode == Activity.RESULT_OK) {
Toast.makeText(this, "识别成功", Toast.LENGTH_SHORT).show()
} else {
Toast.makeText(this, "识别失败", Toast.LENGTH_SHORT).show()
}
}
}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue includes only a Kotlin snippet calling Android's device-credential confirmation screen; no repository file, test, or entry point is named. First clarify the intended change and acceptance criteria, then locate the corresponding Android activity and define what successful fingerprint recognition should do.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100