質問

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