0
我有一個mediafire的下載鏈接。如何從Mediafire獲取直接鏈接
http://www.mediafire.com/?5tn6rebctezdqlt
我試過使用這個。
http://download949.mediafire.com/bh0f7pom39ig/5tn6rebctezdqlt/MCPEIndir+1.1.apk
但沒有任何改變。我如何在我的應用程序中使用直接鏈接?這是我的警報對話框按鈕。我想使用更新鏈接。
AlertDialog alertDialog = new AlertDialog.Builder(
MainActivity.this).create();
alertDialog.setTitle("Yeni Sürüm Bulundu");
alertDialog.setCancelable(false);
alertDialog.setMessage("Lütfen yeni sürümü indirin.");
alertDialog.setIcon(R.drawable.ic_launcher);
alertDialog.setButton("Indir", new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int which) {
Intent i = new Intent(Intent.ACTION_VIEW,
Uri.parse(http://download949.mediafire.com/bh0f7pom39ig/5tn6rebctezdqlt/MCPEIndir+1.1.apk));
startActivity(i);
}
});
alertDialog.show();
}
請幫我
這夠了嗎?只是升級?升級後,我應該做另外一件事情來獲得直接鏈接嗎?最後一個問題,Pro是否足夠? – Ataberk
我相信,目前我正在使用mediafire升級帳戶。在通過webview或asynctask調用url之後下載。 –
檢查專業功能 - 「直接鏈接到文件」。足夠親。 –