05-29-2019, 08:03 PM
Is there a way to add a smart button to a page that links to a url? I want to create a link to a Spotify song like this: https://open.spotify.com/track/1Xi84slp6...OUTUVlnUlA
Smart button that links to a url
|
05-29-2019, 08:03 PM
Is there a way to add a smart button to a page that links to a url? I want to create a link to a Spotify song like this: https://open.spotify.com/track/1Xi84slp6...OUTUVlnUlA
05-30-2019, 01:34 AM
That is being added with the next update which I'm finishing up and releasing as soon as possible. Triggering the URL will bring up whatever application the OS thinks should handle that url. Hopefully this will all work for what you are wanting.
Mike
05-30-2019, 05:57 AM
That's exactly what I mean. Thanks for adding this feature.
05-31-2019, 01:02 AM
Hmm. I would have expected "https://open.spotify.com/..." to open the web browser but it does open the Spotify app on Android. Trickery?
Johan
johanvromans.nl — hetgeluidvanseptember.nl — mojore.nl -- howsagoin.nl Samsung Galaxy Note S7FE (T733) 12.4", Android 13.0, AirTurn Duo & Digit (Gigs). Samsung Galaxy Note S4 (T830) 10.5", Android 10.0 (maintenance and backup). Samsung A3 (A320FL), Android 8.0.0 (emergency).
06-01-2019, 06:00 AM
One of things you can do on Android is to enter "intent-filter" values in the manifest which indicates what types of data your application can handle. These xml entries allow you to specify the uri scheme, mimeType, etc. Spotify most likely set up an intent filter to match on a uri that contains https://open.spotify.com so that their app will trigger instead of a browser. I use these intent filters in MobileSheetsPro so that my app is listed as one that supports, pdf, images, chord pro, text files, .msf files and .mss files.
Mike |
Users browsing this thread: |
1 Guest(s) |