![]() Any published sharing shortcuts are persisted by the system until the app updates them, or the app is uninstalled. To publish share targets, we will use the ShortcutManager API. The app can publish sharing targets in advance, allowing the system Intent chooser dialog to show them when required. In the image, you can see how the user can quickly select Tereasa or Chang to share the text "Hello!" directly to an app using Direct Share, without having to browse through the list of contacts.ĭirect Share works with the concept of Sharing Shortcuts. Direct Share makes sharing content quicker and easier. For example, a messaging app using Direct Share could enable the user to share content direct to a contact, which appears in the chooser dialog. Users can then jump directly into your app when sharing content from another app. Direct Share is a feature that allows apps to show app-specific options directly in the system Intent chooser dialog.
0 Comments
Leave a Reply. |