如何在应用程序中连接Android市场?

Sub*_*rat 1 android google-play

如何在我的Android应用程序中连接Android市场?

Sai*_*mon 5

我猜你想推出Android市场应用并指向市场上的某个应用程序.

Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("market://details?id=com.test.TestApp"));
startActivity(intent);
Run Code Online (Sandbox Code Playgroud)

将"com.test.TestApp"替换为要指向的应用程序的包名称.