Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何从我的应用程序启动应用程序。例如:如果我的应用程序中有链接,当我单击该链接时,它应该打开另一个应用程序。
用这个。
private void playVideo(){ startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("vnd.youtube:" + videoId))); lastMonoSrc=5; }