开发者

Android market app Link

开发者 https://www.devze.com 2023-01-25 01:05 出处:网络
I want to write an app which launches android market. (The activity should only开发者_如何转开发 one activity)

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.


To send an SMS with a link to an app on the market place, the simple approach is to use bit.ly for a URL Shortener.

When the browser on the phone resolved the URL it will prompt if they want to open it up in the market place. This approach while not perfect works for my apps

0

精彩评论

暂无评论...
验证码 换一张
取 消