2016-05-13 64 views

回答

0

您可以制定意圖。這是基本的,希望幫助

Intent i = new Intent(Intent.ACTION_VIEW); 
             i.setData(Uri.parse(ApplicationConstant.APP_PLAYSTORE_URL)); 
             startActivity(i); 
0

您可以使用下面的代碼

替換「com.example.android」與您要打開的應用程序包名稱

Intent intent = new Intent(Intent.ACTION_VIEW); 
intent.setData(Uri.parse("market://details?id=com.example.android")); 
startActivity(intent); 
相關問題