0

In my Bixby capsule I'm offering the user to open my Android app to handle more complex tasks. For this I'm constructing an intent when the user taps on on-click of a cell-card, which looks like this:

cell-card {
  [slot1, slot2, etc...]
  on-click {
    intent {
      [my intent...]
    }
  }
}

I want to implement this in a less intrusive way (see screenshot below), however I haven't been able to find a way how to construct an intent from a single-line. Are there any official guidelines or documentation on how to implement a punch out?

Punch out to Android App

Bernd Kampl
  • 4,837
  • 4
  • 21
  • 26

1 Answers1

1

That component is the attribution-link (documentation)

Here is some generic code to help you implement it:

attribution-link {
  label {
    template ("Open in XYZ")
  }
  url ("YOUR URL HERE")
}
Ameya
  • 880
  • 6
  • 13
  • 1
    Thanks for the answer, that is exactly what I was looking for. For anyone else looking, here are the official guidelines for punching out to an app: https://bixbydevelopers.com/dev/docs/dev-guide/design-guides/design-principles.ux-policies – Bernd Kampl Aug 06 '19 at 07:23