How can I tell whether a given device has the ability to make phone calls?
For example, my Galaxy Tablet cannot initiate call, its not a phone. I want to detect that before doing a call to isIntentAvailable(context, Intent.ACTION_DIAL)
. I've tried checking the isIntentAvailable
for this, but that doesn't seem to be the way to go.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…