开发者

How to open an application from another application in android?

How can I launch an application from my app. For eg:if there is link in my app and when I click on that link it should open anothe开发者_运维技巧r app.


Use this.

private void playVideo(){
    startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("vnd.youtube:" + videoId)));
    lastMonoSrc=5;
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜