我嘗試在我的應用程序添加「排列此應用程序」按鈕安卓:無活動來處理意圖
Uri uri = Uri.parse("market://details?id=" + context.getPackageName());
Intent goToMarket = new Intent(Intent.ACTION_VIEW, uri);
goToMarket.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
context.startActivity(goToMarket);
然後我得到錯誤「的Android版本:無活動處理意向」
BTW :我使用SurfaceView我不知道這是否是重要
你想給一個評價這個應用程序? – Piyush