• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Smart button that links to a url
#1
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
Reply
#2
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
Reply
#3
That's exactly what I mean. Thanks for adding this feature.
Reply
#4
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).
Reply
#5
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
Reply




Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2024 MyBB Group.