I’m working on application that is a variation of David Wolber’s demo on the Meet My Classmates app. The data that I’m using includes websites, email address and phone numbers. The data resides in a Google Sheets environment. When a user looks at the list, he’ll see a company logo, the name of the contact and the company name. When clicking on that, the user is taken to a detail page…
On the detail page, you’ll find phone numbers, email addresses and website information. I’d like that data to be clickable. So if you click the phone number, it opens up your phone’s dial pad and lets you make a call. I’d like the same sort of thing for the email addresses and website links… in other works, making them clickable.
I’ve looked through the forum but I don’t see any info on how to make this work. Any suggestions? Is it even possible? Any info would be much appreciated.
First, I want to thank you all for the information. The combination from @catsarisky and @muneer was especially valuable and I’ve got most of the page working as intended.
Second, I do need to say that I wasn’t as clear as I probably should have been in my original posting.
In my list I’m showing a picture, the name of the person and then the name of their company. When you click on the list, you’re taken to a detail page that provides more information including phone numbers and web addresses. I was able to use a click block for phone, cell phone and email address labels in combination with a share block to get the behavior I want. Click on a label and launch the dial pad or an email message.
What I’m still missing is how to navigate to a website. The share block doesn’t have that option. Can someone point me in the right direction here? I want to take a label and link the contents of that label to the actual website. I know that I need to use a click block for the label, but I’m not sure what other components to use. I know I can use a webviewer to open the site in my application but I’d really prefer having the link open in the users default browser.