user5267486
user5267486

Reputation:

How To Get Direct Link From Mediafire

I have a download link from mediafire.

http://www.mediafire.com/?5tn6rebctezdqlt

And I tried use this.

http://download949.mediafire.com/bh0f7pom39ig/5tn6rebctezdqlt/MCPEIndir+1.1.apk

But nothing changed. How can I use direct link in my app? This is my alert dialog button. And I wanna use update link.

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();     
    }

Upvotes: 0

Views: 17091

Answers (2)

Gnyasha
Gnyasha

Reputation: 694

You can go on the file you need the direct link created then right click choose share then on the bottom left, click more sharing options you will see the direct link option. I thought this might help someone if your account is not yet upgraded.

Upvotes: 0

Leonar Aung
Leonar Aung

Reputation: 187

Upgrade your mediafire account to get direct download links. https://www.mediafire.com/upgrade

Upvotes: 3

Related Questions