Question

My road safety app has an emergency numbers section wherein I have laid out a horizontal arrangement with a button and a list picker for Police, Fire, Traffic etc.

This is how it is intended to look like. My question is

Can the call button be dynamically updated to make calls to different numbers using the MakePhoneCall method?

Was it helpful?

Solution

Yes, of course, just set the phone number before doing the call...

PhoneCall1.PhoneNumber = 1234567890
PhoneCall1.MakePhoneCall

However you might have another problem, see this thread. But this might be a solution for you...

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top