Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9220325
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T03:19:13+00:00 2026-06-18T03:19:13+00:00

I have Application play some mp3 files from the internet and I want to

  • 0

I have Application play some mp3 files from the internet
and I want to add “Download Button” to download any mp3 file from the internet
I want to download from the browser ,,, not from Application ,,, but if I want to call the browser such as :


startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(“xxxx.xxxx.xxxx.mp3”)));


the browser going to play this mp3 file 🙁

I think I can add thing after the link to download directly ,,,, any one can help me ?

Note : if you have a code to download from the App ,,, tell me about it also 🙂
I’m new in android world 😛 and I want a simple code to can understand it
thank you all 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T03:19:14+00:00Added an answer on June 18, 2026 at 3:19 am

    You would be better off using the DownloadManager.
    You can see example code by Lars Vogel here

    The relevant bit:

    DownloadManager dm = (DownloadManager) getSystemService(DOWNLOAD_SERVICE);
            Request request = new Request(
                    Uri.parse("http://www.vogella.de/img/lars/LarsVogelArticle7.png"));
            enqueue = dm.enqueue(request);
    

    Note that DownloadManager is available on API version 9 (Android 2.3, Gingerbread) and upwards.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application that needs to play some specifics audios(mp3) periodically. Let me
I have an application that will record and play audio files. Some of the
I have created iphone application to play some video files. I kept all the
I am creating a small fun application to play some mp3 files into a
I want my AVAudioPlayer to play some mp3 files. It plays some of them
I have created a play application and have some models. One of them contains
I have recently launched my application into the Google Play store but unfortunately some
I have an application thats main goal is to play a specific video file.
I have some files, sound files (.wav and .mp3) and text files (.rtf), in
I have an application that creates a temporary mp3-file and puts it in a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.