我在 android 文档中发现 Uri
是一个
Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC 2396.
当我想从我的 android 应用程序进行调用时, Intent 如下所示:
String toDial="tel:"+number.getText().toString();
Intent i = new Intent(Intent.ACTION_DIAL,Uri.parse(toDial));
在这种情况下,物理或抽象资源是什么?
最佳答案
电话号码的 URI 记录在 RFC 3966 中
https://www.rfc-editor.org/rfc/rfc3966
The URI can refer to resources identified by a telephone number, including but not limited to originators or targets of a telephone call.
关于android - Android 中电话 Intent 的 Uri 是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10560845/