android 跳轉(zhuǎn)進市場的實現(xiàn)代碼
更新時間:2013年06月15日 10:57:40 作者:
本篇文章是對android中跳轉(zhuǎn)進市場的實現(xiàn)代碼進行了詳細的分析介紹,需要的朋友參考下
跳轉(zhuǎn)進市場的代碼
Intent
intent = new Intent(Intent.ACTION_VIEW);
2 intent.setData(Uri.parse("market://details?id=" +
getPackageName()));
3 startActivity(intent);
跳轉(zhuǎn)進市場搜索的代碼
Intent
intent = new Intent(Intent.ACTION_VIEW);
2 intent.setData(Uri.parse("market://search?q=pub:Your
Publisher Name"));
3 startActivity(intent);
復制代碼 代碼如下:
Intent
intent = new Intent(Intent.ACTION_VIEW);
2 intent.setData(Uri.parse("market://details?id=" +
getPackageName()));
3 startActivity(intent);
跳轉(zhuǎn)進市場搜索的代碼
復制代碼 代碼如下:
Intent
intent = new Intent(Intent.ACTION_VIEW);
2 intent.setData(Uri.parse("market://search?q=pub:Your
Publisher Name"));
3 startActivity(intent);
您可能感興趣的文章:
- android打開應用所在的市場頁面進行評分操作的方法
- Android中應用界面主題Theme使用方法和頁面定時跳轉(zhuǎn)應用
- android中選中菜單的顯示跳轉(zhuǎn)和隱式跳轉(zhuǎn)的實例介紹
- Android 實現(xiàn)閃屏頁和右上角的倒計時跳轉(zhuǎn)實例代碼
- 詳解Android App卸載后跳轉(zhuǎn)到指定的反饋頁面的方法
- Android啟動頁面定時跳轉(zhuǎn)的三種方法
- Android跳轉(zhuǎn)到通訊錄獲取用戶名稱和手機號碼的實現(xiàn)思路
- Android 實現(xiàn)兩個Activity跳轉(zhuǎn)實例
- Android跳轉(zhuǎn)到系統(tǒng)聯(lián)系人及撥號或短信界面
- Android應用自動跳轉(zhuǎn)到應用市場詳情頁面的方法
相關(guān)文章
Android實現(xiàn)加載狀態(tài)視圖切換效果
這篇文章主要為大家詳細介紹了Android實現(xiàn)加載狀態(tài)視圖切換效果的相關(guān)資料,文中示例代碼介紹的非常詳細,具有一定的參考價值,感興趣的小伙伴們可以參考一下2017-07-07
Android 如何實現(xiàn)動態(tài)申請權(quán)限
這篇文章主要介紹了Android 如何實現(xiàn)動態(tài)申請權(quán)限。具有很好的參考價值,希望對大家有所幫助。一起跟隨小編過來看看吧2020-03-03
Flutter 滾動監(jiān)聽及實戰(zhàn)appBar滾動漸變的實現(xiàn)
這篇文章主要介紹了Flutter 滾動監(jiān)聽及實戰(zhàn)appBar滾動漸變,文中通過示例代碼介紹的非常詳細,對大家的學習或者工作具有一定的參考學習價值,需要的朋友們下面隨著小編來一起學習學習吧2019-09-09
Android App開發(fā)中將View或Drawable轉(zhuǎn)為Bitmap的方法
這篇文章主要介紹了Android App開發(fā)中將View或Drawable轉(zhuǎn)為Bitmap的方法,其中View轉(zhuǎn)換時作者特別提到了getDrawingCache=null問題的解決方法,需要的朋友可以參考下2016-03-03
項目發(fā)布Debug和Release版的區(qū)別詳解
這篇文章主要為大家詳細介紹了項目發(fā)布Debug和Release版的區(qū)別,文中示例代碼介紹的非常詳細,具有一定的參考價值,感興趣的小伙伴們可以參考一下2020-10-10

