I have a following intent filter
:
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="content" android:host="my.company.name" />
</intent-filter>
但与以下<代码>Intent不一致:
Uri uri = new Uri.Builder().scheme("content").authority("my.company.name").appendPath("names").build()
uri = Uri.withAppendedPath(uri, id1);
uri = Uri.withAppendedPath(uri, "data");
startActivity(new Intent(Intent.ACTION_VIEW, uri));
为什么发生这种情况?