android 跳轉(zhuǎn)進(jìn)市場的實(shí)現(xiàn)代碼
更新時間:2013年06月15日 10:57:40 作者:
本篇文章是對android中跳轉(zhuǎn)進(jìn)市場的實(shí)現(xiàn)代碼進(jìn)行了詳細(xì)的分析介紹,需要的朋友參考下
跳轉(zhuǎn)進(jìn)市場的代碼
Intent
intent = new Intent(Intent.ACTION_VIEW);
2 intent.setData(Uri.parse("market://details?id=" +
getPackageName()));
3 startActivity(intent);
跳轉(zhuǎn)進(jìn)市場搜索的代碼
Intent
intent = new Intent(Intent.ACTION_VIEW);
2 intent.setData(Uri.parse("market://search?q=pub:Your
Publisher Name"));
3 startActivity(intent);
復(fù)制代碼 代碼如下:
Intent
intent = new Intent(Intent.ACTION_VIEW);
2 intent.setData(Uri.parse("market://details?id=" +
getPackageName()));
3 startActivity(intent);
跳轉(zhuǎn)進(jìn)市場搜索的代碼
復(fù)制代碼 代碼如下:
Intent
intent = new Intent(Intent.ACTION_VIEW);
2 intent.setData(Uri.parse("market://search?q=pub:Your
Publisher Name"));
3 startActivity(intent);
您可能感興趣的文章:
- android打開應(yīng)用所在的市場頁面進(jìn)行評分操作的方法
- Android中應(yīng)用界面主題Theme使用方法和頁面定時跳轉(zhuǎn)應(yīng)用
- android中選中菜單的顯示跳轉(zhuǎn)和隱式跳轉(zhuǎn)的實(shí)例介紹
- Android 實(shí)現(xiàn)閃屏頁和右上角的倒計(jì)時跳轉(zhuǎn)實(shí)例代碼
- 詳解Android App卸載后跳轉(zhuǎn)到指定的反饋頁面的方法
- Android啟動頁面定時跳轉(zhuǎn)的三種方法
- Android跳轉(zhuǎn)到通訊錄獲取用戶名稱和手機(jī)號碼的實(shí)現(xiàn)思路
- Android 實(shí)現(xiàn)兩個Activity跳轉(zhuǎn)實(shí)例
- Android跳轉(zhuǎn)到系統(tǒng)聯(lián)系人及撥號或短信界面
- Android應(yīng)用自動跳轉(zhuǎn)到應(yīng)用市場詳情頁面的方法
相關(guān)文章
Android webveiw 出現(xiàn)棧錯誤解決辦法
這篇文章主要介紹了Android webveiw 出現(xiàn)棧錯誤解決辦法的相關(guān)資料,出現(xiàn)java.lang.UnsupportedOperationException: For security reasons, WebView is not allowed in privileged processes,這里提供解決辦法,需要的朋友可以參考下2017-08-08Android RecyclerView實(shí)現(xiàn)下拉刷新和上拉加載
這篇文章主要介紹了Android RecyclerView實(shí)現(xiàn)下拉刷新和上拉加載的相關(guān)資料,文中示例代碼介紹的非常詳細(xì),具有一定的參考價值,感興趣的小伙伴們可以參考一下2016-05-05務(wù)必掌握的Android十六進(jìn)制狀態(tài)管理最佳實(shí)踐
這篇文章主要為大家介紹了務(wù)必掌握的Android十六進(jìn)制狀態(tài)管理最佳實(shí)踐,有需要的朋友可以借鑒參考下,希望能夠有所幫助,祝大家多多進(jìn)步,早日升職加薪2022-09-09Android實(shí)現(xiàn)藍(lán)牙客戶端與服務(wù)器端通信示例
這篇文章主要介紹了Android實(shí)現(xiàn)藍(lán)牙客戶端與服務(wù)器端通信示例,具有一定的參考價值,感興趣的小伙伴們可以參考一下。2017-01-01Android中Fragmen首選項(xiàng)使用自定義的ListPreference的方法
Android中Fragmen的首選項(xiàng)可以使用自定義的ListPreference,這樣Fragment的PreferenceFragment就可以更方便地保存配置信息,需要的朋友可以參考下2016-05-05Android Studio自動排版的兩種實(shí)現(xiàn)方式
這篇文章主要介紹了Android Studio自動排版的兩種實(shí)現(xiàn)方式,具有很好的參考價值,希望對大家有所幫助。一起跟隨小編過來看看吧2020-03-03Android應(yīng)用中使用ListView來分頁顯示刷新的內(nèi)容
這篇文章主要介紹了Android應(yīng)用中使用ListView來分頁顯示刷新的內(nèi)容的方法,展示了一個點(diǎn)擊按鈕進(jìn)行刷新的實(shí)例以及下拉刷新分頁顯示的要點(diǎn)解析,需要的朋友可以參考下2016-04-04