I was wondering what would be the best practice to handle this scenario. We bring a text file into our app that contains some urls. Think of it as an Email where people send you a few links to check. How can we code things so that the url’s when clicked open in a new window (to not crash the app)?
–> Should we do a regex on the text file?
–> Is there a higher level API/Call that we can make so that by default URL’s open in a new window (this would be more efficient)
Best Practice: Open URL stored in text file
Good morning everyone,
I was wondering what would be the best practice to handle this scenario. We bring a text file into our app that contains some urls. Think of it as an Email where people send you a few links to check. How can we code things so that the url’s when clicked open in a new window (to not crash the app)?
–> Should we do a regex on the text file?
–> Is there a higher level API/Call that we can make so that by default URL’s open in a new window (this would be more efficient)
Merci,
Gregory
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio