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 1114255
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T02:58:49+00:00 2026-05-17T02:58:49+00:00

I am creating an Android application which will have some embedded music inside of

  • 0

I am creating an Android application which will have some embedded music inside of it ( ~ 80 MB ). I was planning on putting it in the res/raw folder.

Since android stores that all in it’s internal memory, is this way too large? What are my options? I have come up with the following:

  1. Copy resources out of internal storage and onto the SD card when application first starts. Afterwards remove from internal storage (is this possible?)
  2. Download music from the web when the application first starts.

I would really prefer not to have to go with option 2 since I want the app to be entirely offline and the static music is not going to change (except between releases).

Any other ideas?

  • 1 1 Answer
  • 3 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-05-17T02:58:50+00:00Added an answer on May 17, 2026 at 2:58 am

    Number 1 is not a valid option, an application package (.apk) with the music in the raw will weight around 80Mb. An Android user will not download an application that is 80Mb size (if there is enough memory free to install it).

    You should use option 2. Downloading the data in background and storing in the sd card as cache. So the next time your app start you don’t need to download it again.

    BTW: Use the function android.os.Environment.getExternalStorageDirectory() to get a directory in the sdcard.

    Best,

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

Sidebar

Related Questions

I'm creating an android application in which i will need to store data using
I am creating an Android application for a customer which will be pre-installed and
I'm creating an android application which should parse a Json from a file or
I am creating an android application in which I am using table layout in
I am creating an android application using Java. I have a boolean variable called
I am creating a windows application which needs to send some sms to mobile
I have been given the tasks of speccing a mobile application, which will need
I'm planning on creating an app which will utilise Phonegap, however the app is
I am creating an application that will have multiple images on the screen, these
I am creating an android application in sdk2.1. i have put 3 different images

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.