show skype as option when dialing from android application

拥有回忆 提交于 2020-01-07 05:46:05

问题


I want to show skype in the dialing option list as this image when dialing from my application. Where I need to change?

Sorry if the question is too naive.


回答1:


I'm not familiar with the Skype application, but I assume it is taking advantage of Android's Intent system: http://developer.android.com/guide/topics/intents/intents-filters.html

Have you tried something like:

Intent intent = new Intent(Intent.ACTION_CALL);
intent.setData(Uri.parse("tel:+123456789"));
startActivity(intent);


来源:https://stackoverflow.com/questions/6318035/show-skype-as-option-when-dialing-from-android-application

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!