문제

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?

도움이 되었습니까?

해결책

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...

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top