سؤال

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