Android navigation component with `android.intent.action`

Viewed 246

I want to implement the android.intent.action.SEND as per the developers tutorial with the navigation component.

But when making deep links in the navigation.xml it requires a Uri with the below error message:

Navigation XML document element must contain a app:uri attribute.

I am using Android Studio 4.1.3 and I do have the option to choose an action. But it just doesn't work without uri.

The docs are leaving some basic questions open:

  1. How to get the intent params like Intent.EXTRA_TEXT
  2. How to provide category and 'data'?
  3. How to provide multiple actions/categories/datas?
0 Answers
Related