【发布时间】:2017-08-31 18:06:58
【问题描述】:
您好,我正在尝试使用我的应用提供的字符串自动填充 Google Play 音乐上的搜索栏。我目前打算打开 Google Play 音乐,但我无法找到合适的参数来填充 Google Play 音乐上的搜索栏。 这是我的代码
Intent intent = getApplicationContext().getPackageManager()
.getLaunchIntentForPackage("com.google.android.music");
startActivity(intent);
有人知道正确的意图吗?提前致谢
【问题讨论】:
-
你确定有这种可能吗?很少有活动真正接受这样的参数。
-
值得一试,我可以在 Google Play Store 应用程序中填满搜索栏。 @GabeSechan