android url path uri转化

用命令直接生成keystore文件
keytool -genkey -alias yl -keypass 111111 -keyalg RSA -keysize 1024 -validity 3650 -keystore E:\gaode.keystore -storepass 111111

keytool -v -list -keystore  keystore E:\heijiaoapp.keystore

获取开发版SHA1
1. 进入.android目录 ,然后输入 keytool -list -v -keystore debug.keystore 命令

uri转file
file = new File(new URI(uri.toString()));  

file转uri:
URI uri = file.toURI();  

path转uri
Uri uri = Uri.parse(path)

file转path
String path = file.getPath()  

path转file
File file = new File(path)  

你可能感兴趣的:(android url path uri转化)