I am new. I am trying to write a code in Android Studio - a program to download file using provided URL link. Please help! Thanks!!!
            Asked
            
        
        
            Active
            
        
            Viewed 2.0k times
        
    -5
            
            
        - 
                    1What is your question? – M D Oct 15 '15 at 07:48
- 
                    please provide a detailed, specified question for your problem. E.g how to download file on android from an provided url? – Ali Karaca Aug 06 '16 at 19:03
1 Answers
1
            
            
        To start with , you can look into AsyncTask. Refer this link
Do check the following :
- user has an internet connection available 
- Make sure you have the right permissions (INTERNET and WRITE_EXTERNAL_STORAGE); also ACCESS_NETWORK_STATE if you want to check internet availability. 
- Make sure the directory were you are going to download files exist and has write permissions. 
- Use AsyncTask to download file. 
For downloading file refer this thread.Its pretty detailed.
Hope this helps
- 
                    Thanks! Really appreciate your help! Will look into these info. Regards! – EV Android Oct 16 '15 at 02:53
 
     
    