Tech Barkateraza

Computer most important shortcuts

Computer most important shortcuts

 

 

Windows Key Shortcuts
Ctrl a to z Shortcuts
Function Key Shortcuts
Other Shortcuts

👉Windows Key Shortcuts

 

Windows + M 👉 Minimize all open window
Windows + L 👉 Lock Computer Screen
Windows + R 👉 Open Run command
Windows + U 👉 Open Ease of Access Center
Windows + E 👉 Open File Explorer ( My Computer )
Windows + F 👉 Open Search Box
Windows + Up Arrow 👉 Maximize window
Windows + Down Arrow 👉 Minimize window
Windows + Left Arrow 👉 Switch left side window
Windows + Right Arrow 👉 Switch right side window
Windows + Shift + M 👉 Maximize Window
Windows + Tab 👉 Open Recently Use Application
Windows + Shift + S 👉 Take a screen shot in windows 11
Windows + S 👉 Screen shot in windows 7
Windows + (+) 👉 Zoom in
Windows + (-) 👉 Zoom out
Windows + Esc 👉 Exit Magnifier
Windows + F1 👉 Open Windows help center
Windows + 1,2,3,4…etc 👉 Open Task Bar Program

Ctrl A to Z Shortcuts Keys

 

Ctrl + A 👉 Select all
Ctrl + B 👉 Bold
Ctrl + C 👉 Copy
Ctrl + D 👉 Font Dialog Box
Ctrl + E 👉 Center
Ctrl + F 👉 Find
Ctrl + G 👉 Go to
Ctrl + H 👉 Replace
Ctrl + I 👉 Italic
Ctrl + J 👉 Justify
Ctrl + K 👉 Hyperlink
Ctrl + L 👉 Left Align
Ctrl + M 👉 Paragraph Indent
Ctrl + N 👉 New File
Ctrl + O 👉 Open File
Ctrl + P 👉 Print File
Ctrl + Q 👉 Invers Indent
Ctrl + R 👉 Right Align
Ctrl + S 👉 Save
Ctrl + T 👉 Hanging Indent
Ctrl + U 👉 Underline
Ctrl + V 👉 Paste
Ctrl + W 👉 Close/ Resize & Skew
Ctrl + X 👉 Cut
Ctrl + Y 👉 Redo
Ctrl + Z 👉 Undo

Function Keys Shortcuts

F1 👉 Help Center
F2 👉 File Rename
F3 👉 Open Search Box
Alt + F4 👉 Shut Down/ Close window
F5 👉 Refresh / Reload
F6 👉 Save file in MS Dos
F7 👉 Spelling & Grammar Checking
F8 👉 Boot in Windows Installation
F9 👉 इस का विंडोज में इस्तेमाल नहीं होता
F10 👉 Highlight Menu Bar
F11 👉 Full Screen
F12 👉 Save as

Computer Other Shortcuts Keys

Shift + Delete 👉 Delete file permanently
Alt + Tab 👉 Switch Apps
Home Key 👉 Move to the beginning of a topic
End Key 👉 Move to the end of a topic
Delete key 👉 Delete any Objects
Insert key 👉 Insert text same place
Ctrl + F4 👉 Close the Active Document
Ctrl + 1 👉 Single Space Line
Ctrl + 2 👉 Double Space line
Ctrl + 5 👉 1.5 Space line
Ctrl + Shift + 1,2,3….👉 Increase Desktop Icon

 

 

Ctrl A to Z Shortcuts Keys

Ctrl A to Z Shortcuts Keys

Ctrl + A        👉        Select all
Ctrl + B        👉        Bold
Ctrl + C        👉        Copy
Ctrl + D        👉        Font Dialog Box
Ctrl + E        👉        Center
Ctrl + F        👉        Find
Ctrl + G        👉        Go to
Ctrl + H        👉        Replace
Ctrl + I         👉        Italic
Ctrl + J         👉        Justify
Ctrl + K        👉        Hyperlink
Ctrl + L        👉        Left Align
Ctrl + M       👉        Paragraph Indent
Ctrl + N        👉        New File
Ctrl + O        👉        Open File
Ctrl + P        👉        Print File
Ctrl + Q        👉        Invers Indent
Ctrl + R        👉        Right Align
Ctrl + S        👉        Save
Ctrl + T        👉        Hanging Indent
Ctrl + U        👉        Underline
Ctrl + V        👉        Paste
Ctrl + W       👉        Close/ Resize & Skew
Ctrl + X        👉        Cut
Ctrl + Y        👉        Redo
Ctrl + Z        👉        Undo

Mx Player EAC3 Audio Format Not Supported | 100% Fix Problem Solve ✔

Mx Player EAC3 Audio Format Not Supported | 100% Fix Problem Solve ✔

 

Why does this problem occur?
MX Player doesn’t support the EAC3 audio format by default. To fix this, you need to install a custom codec.

Steps to Fix the Problem:

  1. Download the Codec
  2. Open Google Chrome or any browser.
  3. Search for “MX Player Custom Codec Download”.
  4. Find a reliable website to download the AIO Codec (All-in-One Codec).
  5. Download the codec file and save it on your phone. (You may also find the link in the video description if you’re following a guide).

2. Apply the Codec in MX Player

  1. After downloading the codec file, open MX Player.
  2. Go to Settings.
  3. Select Decoder options.
  4. Find Custom Codec option and apply the downloaded codec file.
    Restart MX Player.
  5. Now, when you play the movie, the sound should work properly, and the EAC3 audio issue will be fixed.

If you still face any problems, you can comment for further help. If this solution works for you, please like the video and share it!

 

LINK 1

LINK 2

Formula to Get Country Flags in Google Sheets

I have created a formula to insert country flags in Google Sheets’s cells. For this I’ve used IMAGE, IMPORTXML and SUBSTITUTE functions. In this formula we’re taking flag images from Wikipedia.

You can paste below formula in your Google Sheets:

=IMAGE(“https:”&IMPORTXML(“https://en.wikipedia.org/wiki/Gallery_of_sovereign_state_flags”,”//img/@src[contains(.,'”&SUBSTITUTE(A2,” “,”_”)&”‘ )]”))

Change A2 with the cell address in which you are typing country name. You need to type first letter of country name in capital letter in order this to work.

I have explained this formula in my below YouTube video. You can watch this video to understand how it works:

How to Multiply Columns in Excel

How to Multiply Columns in Excel

 

 

Stellar Converter for MBOX Review, Migrate Google Takeout,, Apple Mail mailboxes to Outlook

 

 

Transcript

 

 

Hello friends welcome back to my channel
tech for device today in this video I
will review Stell converter for
Mbox so guys if you want to convert and
migrate your Google takeout data to
Outlook
PhD so this software is perfect
solution easy to use and it will
supports more than 17 email clients like
Thunderbird Apple Mail Google take out
and many
more click on free download I will give
Link in
description so copy and paste on any
browser
or search Stell converter for Mbox on
any
browser there is the two version
corporate and
technician so it will provide a free
trial version it will Show preview of
emails and if you are happy to use this
software so you can buy it just click on
buy
now as we can see two version now here
compare both version and see the
features for both
version click on buy now and fill
billing
details now let’s see see how to use
this
software so click on my description link
or copy and paste on any browser then
click on free
download once this downloading process
complete double click on this setup
file it will ask permissions so click on
yes
click on
next accept the agreement next
next leave as a default and click on
next and here click on
install click on
finish now it will redirect this
official Stell companies page and here
you will see the guide how to use uh
this uh Stellar converter for Mbox
tool also you can watch this demo
video and here is the complete user
guide
so once you successfully installed this
software to your PC or
laptop open it click here and search
staler and click here Ester
converter now here guys you need to
select email client and
mailbox so to select email client click
on this drop down here you will see
these all options to select your email
client like Thunderbird Apple Mail
Mozilla
mail Google take out so in my case I
need to migrate my Google takeout
data to PhD Outlook so just click here
Google take
out now
here you need to select your mailbox
click here if you know the location
where you saved your mailbox data and if
you don’t know so click on find
file and here you need to find out that
particular
folder so in my case I have that one in
this document
folder and select it then click on
okay so we can see find process complete
one files were found click on okay
now select it
and just you need to click on
convert so you need to select an inbox
file if you have multiple files so
select any particular file by clicking
this
checkbox then click on
convert now wait for a few seconds till
this process will be complete
so we can see scanning complete
successfully so guys as we can see this
software is very fast and easy to use
it’s
converted a large number of emails in
just few
seconds so if you’re happy with this
result just you need
now click on this home button and click
on Save converted
file here guys you need to activate your
copy of software to save this converted
mailbox so if you’re using trial version
you will see this uh activation dialog
box so purchase this
software you can purchase by clicking
here by now
it will redirect you to official page or
once you click on by online click
here and also guys once you click on
this uh Activation so same it will
redirect you to this uh official
purchase page here again compare both
versions uh feature
so in my opinion this software is really
perfect solution for everyone who wants
to migrate their Google takeout and
other email clients to PSD Outlook
data click on buy now and complete
billing data so fill this billing data
you will get your acation key and also
you will see this option here once you
click on buy now so you can buy from
here so once you successfully purchase
you will get activation
key again click on Saved converted file
click on
activate and enter your activation key
which you got by mail once you
successfully
purchase then then
activate so we can see activation
complete firstly we need
to close
Outlook now here you need to select
option save or export so you can save as
PhD and there are another options once
you click on other format
so as MSG
EML so as you required in my case I want
to convert it into PhD select it then
click on next and guys if you have
latest version of Stellar so you will
get this Advanced filter option once you
click on it so you will see some more
options you can enable or disable auto
spit PhD files to enable check this box
also you can filter your emails as date
range so just you have to select your
start any particular date and here
select end
date and apply and also here you can
exclude any particular ID like for
example I want to exclude this
particular
ID then click on add to list then apply
now select the path where you want to
sve converted email
files like in
documents to create a new folder any
particular plus just click on make new
folder then select it then click on
okay and save
it so now we can see selected item
converted and saved successfully now
just click on
okay and now open out
look now here click on file
then account
settings again click on account
settings now here we can see we have
some profiles so we need to add so click
add and here select your converted file
list now select
folder and click on close
now you can check all files converted
emails list
here so this is a software very useful
easy to use
and here if you will review some more
options so in the file you have the two
option to select M client and also you
can save your convered file and you can
exit from
here
same buttons and settings in file and
Home in the view you can switch to
reading pen so you can read your mails
easily and also you can check the log
report if you need to save your log
report so click on Save log give a name
and save it here
you will get the
tools and directly you can update and
you can check the update and latest
version for the software from here so
click on update
wizard as we can see in my case it’s up
to date if it’s out of that so it will
get the update option so just you need
to click on update and in the latest
version you have this uh calendar
view once you click on so you can view
as a calendar week month or
day and also you can find any specific
date and you will find these options
also here you can select mail
calendar and here the contact folder
same here the option to activate this
software and in the help you can get the
support via some topics you can support
via
email and creating the
ticket so raising a ticket so if you
have any Su problems so just click on
raise a
ticket so Link in description and in my
opinion this software is useful about 30
years we can see the people are testing
on this
software and million users are happy
with using this software
and so many partners and award so as
price of
$99 as a technician and in just $39 for
corporate is the beneficial software
thanks for watching guys if you have any
query
or problems so comment I will try to
reply
it please share like And subscribe this
channel

How To Show Last Updated Date in WordPress

How To Show Last Updated Date in WordPress

This post is all about showing the last update date or last modified date in your post, and this technique will work in any theme, including GeneratePress Premium.

Php Codes to Show Updated or modified date in Post

Copy the below code and paste it into your function.php file.




// By Tech Pro Advice
add_filter( 'generate_post_date_output', function( $output, $time_string ) {
    $time_string = '<time class="entry-date published" datetime="%1$s" itemprop="datePublished">Published on: %2$s</time>';

    if ( get_the_date() !== get_the_modified_date() ) {
        $time_string = '<time class="entry-date updated-date" datetime="%3$s" itemprop="dateModified">Last Updated on: %4$s</time>';
    }

    $time_string = sprintf( $time_string,
        esc_attr( get_the_date( 'c' ) ),
        esc_html( get_the_date() ),
        esc_attr( get_the_modified_date( 'c' ) ),
        esc_html( get_the_modified_date() )
    );

    return sprintf( '<span class="posted-on">%s</span> ',
        $time_string
    );
}, 10, 2 );

Let me know if you have any doubts. Use the comment section it’s free!

 

 

How To Add A Reading Progress Bar In WordPress Without Plugin

How To Add A Reading Progress Bar In WordPress Without Plugin

Let me know if you have just made and WordPress website and you want to add a reading meter, or you can say reading progress bar in a WordPress post this video is going to help you a lot because I have shared the way to add a reading progress bar or you can say horizontal progress bar in WordPress page or post so user can estimate the reading time

Contents In The Article  hide 
1 HTML, CSS, and JavaScript Code
2 You Can Watch this video for more clarity.

HTML, CSS, and JavaScript Code

Copy and Paste this code to the element Section according to my YouTube video.

<style>
#site-navigation{
  margin-top:10px!important;
}

.TechProAdvice-reading-meter {
  position: fixed;
  top: 0!important;
  z-index: 1111;
  width: 100%;
  background-color: #f1f1f1;
}

.TechProAdvice-progress {
  width: 100%;
  height: 10px;  z-index: 1111;
  background: #ccc;
}

.progress-bar {
  height: 10px;
  background-color:tomato;
  width: 0%;
}
</style>

<div class="TechProAdvice-reading-meter">
  <div class="TechProAdvice-progress">
    <div class="progress-bar" id="myBar"></div>
  </div>  
</div>

<script> 
window.onscroll = function() {myFunction()};
function myFunction() {
  var winScroll = document.body.scrollTop || document.documentElement.scrollTop;
  var height = document.documentElement.scrollHeight - document.documentElement.clientHeight;
  var scrolled = (winScroll / height) * 100;
  document.getElementById("myBar").style.width = scrolled + "%";
}
</script>

I hope This Article and my video help you to create a Reading Progress Bar In WordPress Post or Reading Meter.

You Can Watch this video for more clarity.

Let me know if you are facing any issues regarding the same.

Intel HD Graphics Control Panel Missing

➢Intel HD Graphics Control Panel Missing | Intel Graphics Missing From Desktop Right Click | 2021|

Missing Intel HD Control Panel

 

In this video, I will show how to fix the Intel HD graphics missing Problem.

 

Download Link

▶Intel HD Control Panel◀

Link
CLICK HERE TO DOWNLOAD

 

HOW TO DOWNLOAD THE FILE

CLICK ON CLICK HERE TO DOWNLOAD TEXT (NOT THE DOWNLOAD BUTTON)

 

VIDEO TUTORIAL

 

 

 

 

 

How to Convert any Website into Professional Android App

 

How to Convert any Website into Professional Android App

 

 

Convert your Website into Professional Android App Using Android Studio. Please don’t forget to Like, Share, Comment and Subscribe to our Techno Vedant Channel for more videos.

1. WebView Android App Code:

Activity_Main.xml

<WebView
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:id="@+id/webView"
    android:layout_alignParentTop="true"
    android:layout_alignParentLeft="true"
    android:layout_alignParentStart="true"
    android:layout_alignParentBottom="true"
    android:layout_alignParentRight="true"
    android:layout_alignParentEnd="true"
    tools:ignore="MissingConstraints" />

MainActivity.java

import android.os.Bundle;
import android.webkit.WebView;
import android.webkit.WebViewClient;

import androidx.appcompat.app.AppCompatActivity;

public class MainActivity extends AppCompatActivity {

    String websiteURL = "https://techproadvice.blogspot.com/"; // sets web url
    private WebView webview;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        //Webview stuff
        webview = findViewById(R.id.webView);
        webview.getSettings().setJavaScriptEnabled(true);
        webview.getSettings().setDomStorageEnabled(true);
        webview.setOverScrollMode(WebView.OVER_SCROLL_NEVER);
        webview.loadUrl(websiteURL);
        webview.setWebViewClient(new WebViewClientDemo());

    }

    private class WebViewClientDemo extends WebViewClient {
        @Override
        //Keep webview in app when clicking links
        public boolean shouldOverrideUrlLoading(WebView view, String url) {
            view.loadUrl(url);
            return true;
        }
    }

}

AndroidManifest.xml 

<uses-permission android:name="android.permission.INTERNET" />

 


2. Internet Connection Error:

AndroidManifest.xml

<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>

MainActivity.java

import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.os.Bundle;
import android.util.Log;
import android.webkit.WebView;
import android.webkit.WebViewClient;

import androidx.appcompat.app.AppCompatActivity;

public class MainActivity extends AppCompatActivity {

    String websiteURL = "https://webtools.barkateraza.in/"; // sets web url
    private WebView webview;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        if( ! CheckNetwork.isInternetAvailable(this)) //returns true if internet available
        {
            //if there is no internet do this
            setContentView(R.layout.activity_main);
            //Toast.makeText(this,"No Internet Connection, Chris",Toast.LENGTH_LONG).show();

            new AlertDialog.Builder(this) //alert the person knowing they are about to close
                    .setTitle("No internet connection available")
                    .setMessage("Please Check you're Mobile data or Wifi network.")
                    .setPositiveButton("Ok", new DialogInterface.OnClickListener() {
                        @Override
                        public void onClick(DialogInterface dialog, int which) {
                            finish();
                        }
                    })
                    //.setNegativeButton("No", null)
                    .show();

        }
        else
        {
            //Webview stuff
            webview = findViewById(R.id.webView);
            webview.getSettings().setJavaScriptEnabled(true);
            webview.getSettings().setDomStorageEnabled(true);
            webview.setOverScrollMode(WebView.OVER_SCROLL_NEVER);
            webview.loadUrl(websiteURL);
            webview.setWebViewClient(new WebViewClientDemo());

        }
    }


    private class WebViewClientDemo extends WebViewClient {
        @Override
        //Keep webview in app when clicking links
        public boolean shouldOverrideUrlLoading(WebView view, String url) {
            view.loadUrl(url);
            return true;
        }
    }


}

class CheckNetwork {

    private static final String TAG = CheckNetwork.class.getSimpleName();

    public static boolean isInternetAvailable(Context context)
    {
        NetworkInfo info = (NetworkInfo) ((ConnectivityManager)
                context.getSystemService(Context.CONNECTIVITY_SERVICE)).getActiveNetworkInfo();

        if (info == null)
        {
            Log.d(TAG,"no internet connection");
            return false;
        }
        else
        {
            if(info.isConnected())
            {
                Log.d(TAG," internet connection available...");
                return true;
            }
            else
            {
                Log.d(TAG," internet connection");
                return true;
            }

        }
    }
}

3. Back & Exit Feature:

MainActivity.java

//set back button functionality
@Override
public void onBackPressed() { //if user presses the back button do this
    if (webview.isFocused() && webview.canGoBack()) { //check if in webview and the user can go back
        webview.goBack(); //go back in webview
    } else { //do this if the webview cannot go back any further

        new AlertDialog.Builder(this) //alert the person knowing they are about to close
                .setTitle("EXIT")
                .setMessage("Are you sure. You want to close this app?")
                .setPositiveButton("Yes", new DialogInterface.OnClickListener() {
                    @Override
                    public void onClick(DialogInterface dialog, int which) {
                        finish();
                    }
                })
                .setNegativeButton("No", null)
                .show();
    }
}

 


4. Swipe Down to Refresh:

activity_main.xml

<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
    android:id="@+id/swipeContainer"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <WebView
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:id="@+id/webView"
        android:layout_alignParentTop="true"
        android:layout_alignParentLeft="true"
        android:layout_alignParentStart="true"
        android:layout_alignParentBottom="true"
        android:layout_alignParentRight="true"
        android:layout_alignParentEnd="true"
        tools:ignore="MissingConstraints" />

</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>

MainActivity.java

SwipeRefreshLayout mySwipeRefreshLayout;
//Swipe to refresh functionality
mySwipeRefreshLayout = (SwipeRefreshLayout)this.findViewById(R.id.swipeContainer);

mySwipeRefreshLayout.setOnRefreshListener(
        new SwipeRefreshLayout.OnRefreshListener() {
            @Override
            public void onRefresh() {
                webview.reload();
            }
        }
);
private class WebViewClientDemo extends WebViewClient {
    @Override
    //Keep webview in app when clicking links
    public boolean shouldOverrideUrlLoading(WebView view, String url) {
        view.loadUrl(url);
        return true;
    }
    @Override
    public void onPageFinished(WebView view, String url) {
        super.onPageFinished(view, url);
        mySwipeRefreshLayout.setRefreshing(false);
    }
}

5. Screen Rotation:

AndroidManifest.xml

android:screenOrientation="portrait">


6. Splash Screen:

SplashActivity.java

  import androidx.appcompat.app.AppCompatActivity;


    import android.content.Intent;

    import android.os.Bundle;

    import android.view.Window;

    import android.view.WindowManager;


    public class SplashActivity extends AppCompatActivity {


        @Override

        protected void onCreate(Bundle savedInstanceState) {

            super.onCreate(savedInstanceState);


            Window window = getWindow() ;


            window.addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);

            setContentView(R.layout.activity_splash);




            Thread splashTread = new Thread(){


                @Override

                public void run() {

                    try {

                        sleep(3000);

                        startActivity(new Intent(getApplicationContext(),MainActivity.class));

                        finish();

                    } catch (InterruptedException e) {

                        e.printStackTrace();

                    }


                    super.run();

                }

            };


            splashTread.start();





        }


    }

activity_splash

<?xml version="1.0" encoding="utf-8"?>

    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"

        xmlns:app="http://schemas.android.com/apk/res-auto"

        xmlns:tools="http://schemas.android.com/tools"

        android:layout_width="match_parent"

        android:layout_height="match_parent"

        android:orientation="vertical"

        tools:context=".SplashActivity">


        <ImageView

            android:layout_width="match_parent"

            android:layout_height="300dp"

            android:src="@drawable/logo"

            android:scaleType="centerCrop"

            android:padding="50dp"

            android:layout_marginTop="220dp"/>

        <ProgressBar

            android:layout_width="220dp"

            android:layout_height="10dp"

            android:layout_gravity="center_horizontal"

            style="?android:attr/progressBarStyleHorizontal"

            android:max="100"

            android:indeterminate="true"

            android:progress="0"

            android:layout_marginTop="100dp"


            />



    </LinearLayout> 

AndroidManifest.xml

 <activity
            android:name=".MainActivity"
            android:exported="false" />
        <activity
            android:name=".SplashActivity"
            android:exported="true"
            android:screenOrientation="portrait">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

 


7. Enable Download Button:

MainActivity.Java

if(Build.VERSION.SDK_INT>= Build.VERSION_CODES.M){
            if(checkSelfPermission(Manifest.permission.WRITE_EXTERNAL_STORAGE) == PackageManager.PERMISSION_DENIED){

                Log.d("permission","permission denied to WRITE_EXTERNAL_STORAGE - requesting it");
                String[] permissions = {Manifest.permission.WRITE_EXTERNAL_STORAGE};
                requestPermissions(permissions,1);
            }


        }

//handle downloading

webview.setDownloadListener(new DownloadListener() {
            @Override
            public void onDownloadStart(String url, String userAgent, String contentDisposition, String mimeType, long contentLength) {

                DownloadManager.Request request = new DownloadManager.Request(Uri.parse(url));
                request.setMimeType(mimeType);
                String cookies = CookieManager.getInstance().getCookie(url);
                request.addRequestHeader("cookie",cookies);
                request.addRequestHeader("User-Agent",userAgent);
                request.setDescription("Downloading file....");
                request.setTitle(URLUtil.guessFileName(url,contentDisposition,mimeType));
                request.allowScanningByMediaScanner();
                request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);
                request.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOWNLOADS,URLUtil.guessFileName(url, contentDisposition, mimeType));
                DownloadManager dm = (DownloadManager) getSystemService(DOWNLOAD_SERVICE);
                dm.enqueue(request);
                Toast.makeText(getApplicationContext(),"Downloading File",Toast.LENGTH_SHORT).show();


            }
        });

AndroidMainfest.xml

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>