我想写这将启动Android Market中的应用程序。(活动应该只有一个活动)所以PLZ请参考我在Android Market链接或任何建议。
解决方案 开放的URI = Uri.parse(市场://搜Q =栏codeS);意向意图=新意图(Intent.ACTION_VIEW,URI);startActivity(意向);
这个例子code将推出市场,搜索栏codeS。
I want to write an app which launches android market. (The activity should only one activity) so plz refer me the android market link or any suggestion.
解决方案Uri uri = Uri.parse("market://search?q=barcodes");
Intent intent = new Intent (Intent.ACTION_VIEW, uri);
startActivity(intent);
This example code will launch the market and search for barcodes.