0

アプリを介して、Google Play ストアから Facebook ウォールへのアプリ リンクを共有しようとしています。しかし、リンクがウォールに投稿されると、間違ったアイコンが表示されます。

リンクをクリックすると、正しい場所にリダイレクトされます。

String message = "play.google.com/store/apps/details?id="+ mItem.getPackageName();
Intent share = new Intent(Intent.ACTION_SEND);
share.setType("text/plain");
share.putExtra(Intent.EXTRA_TEXT, message);
startActivity(Intent.createChooser(share, "Share "+mItem.getAppName()+" with your friends"));
4

2 に答える 2

2

私は答えを見つけました:

それ以外の

文字列メッセージ = "play.google.com/store/apps/details?id="+ mItem.getPackageName();

私は以下を使用する必要があります

文字列 msg = " https://market.android.com/search?q=pname :"+ mItem.getPackageName();

于 2013-06-26T06:14:53.523 に答える