简体   繁体   English

如何从我的Android设备获取指纹

[英]how to get a fingerprint from my android device

I would like to get a fingerprint from my android device ? 我想从我的Android设备上获取指纹吗?

I have done a research it gave me following command : 我已经进行了一项研究,它给了我以下命令:

C:>keytool -list -alias androiddebugkey -keystore C:\\Users\\abc_username.android\\debug .keystore -storepass android -keypass android C:> keytool-列表-alias androiddebugkey -keystore C:\\ Users \\ abc_username.android \\ debug .keystore -storepass android -keypass android

I would not think the above command is my answer ? 我不会认为上述命令是我的答案? what does about command do ? 命令有什么作用?

看到此链接,它说明了使用Android的debug .keystore通过MD5指纹获取Maps API密钥的方法: http//eagle.phys.utk.edu/guidry/android/apiKey.html

Please go through this 请通过这个

With the following command you dont generate Fingerprint (MD5 Fingerprint more specifically) for you android device. 使用以下命令,您不会为您的android设备生成指纹(更具体地说是MD5指纹)。 You generate MD5 Fingerprint against keystore (C:\\Users\\abc_username.android\\debug .keystore in your case) you are using for android development. 您针对用于Android开发的密钥库(在您的情况下为C:\\ Users \\ abc_username.android \\ debug .keystore)生成MD5指纹。

C:>keytool -list -alias androiddebugkey -keystore C:\Users\abc_username.android\debug .keystore -storepass android -keypass android

In Android this Fingerprint is useful to get Google Map api key which we can use in MapView. 在Android中,此指纹对于获取我们可以在MapView中使用的Google Map api密钥很有用。

If you change keystore, you will have to regenerate this fingerprint regarding to new keystore for getting api key from Google for MapView 如果您更改密钥库,则必须重新生成与新密钥库有关的指纹,以便从Google for MapView获取api密钥

About keytool 关于keytool

keytool is a key and certificate management utility. keytool是密钥和证书管理实用程序。 It enables users to administer their own public/private key pairs and associated certificates for use in self-authentication (where the user authenticates himself/herself to other users/services) or data integrity and authentication services, using digital signatures. 它使用户能够使用数字签名来管理自己的公用/专用密钥对以及相关的证书,以用于自我认证(用户向其他用户/服务进行身份认证)或数据完整性和认证服务。 It also allows users to cache the public keys (in the form of certificates) of their communicating peers. 它还允许用户缓存其通信对等方的公共密钥(以证书的形式)。

Hope this will help you 希望这个能对您有所帮助

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM