Android Market的应用程序链接应用程序、链接、Android、Market

2023-09-06 22:14:09 作者:你存在我深深地脑海里

我想写这将启动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.