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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T02:39:50+00:00 2026-05-25T02:39:50+00:00

How exactly does one go about such a simple thing in this beautifully over-complicated

  • 0

How exactly does one go about such a simple thing in this beautifully over-complicated framework?

Yes I’ve read the documentation on Data Storage for Android, about 54.5 times. But I can not find anyplace where the documentation describes how you should go about placing files on the external storage at compile time.

Here’s what I want to do: I want to include a couple of (big) (10-20mb) audio files in my application. Naturally, I do not want these to be stored on the internal storage, because they’re just too big. So placing them in res/raw is not an option (because, if I understand correctly, things in res/raw will be placed in the internal storage of the phone, correct?)

The documentation only states that “if you want to store static files at compile time, use res/raw”. Now if Android is smart enough to place those files on the external storage all by itself then I’m forever greatful.. But somehow I doubt that. All help is appreciated 🙂
(Sorry if it seems like I have an attitude, I’ve just spent way too much time on something so simple)

Thanks again 🙂

UPDATE: I ended up downloading the files from the application instead of including them at install-time. Thanks for the help guys!

I hit a problem while trying to download through a url, spent a lot of time trying to get it to work, and in the end the problem was because I hadn’t declared the correct permission in the android manifest file! So to anyone who’s looking to download stuff in their apps, do not forget to set the permissions in the android manifest, here are the permissions I needed:

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

Place these above the start of the tag

  • 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-05-25T02:39:50+00:00Added an answer on May 25, 2026 at 2:39 am

    If your large files are in the APK, they’ll be stored wherever the APK gets stored – this can be internal or external, and it seems that this is not what you want. The most likely option for you seems to be to place the files on a web site and during the first run of your application, it must notice that the files do not exist and retrieve them post-installation.

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

Sidebar

Related Questions

What exactly does execve() do? I've tried looking at the documentation (http://linux.die.net/man/2/execve) but given
I was wondering how exactly does TCP implement in-order delivery. lets say this is
Somehow I must've missed the proper documentation for something as simple as this. Searching
Perhaps I am missing something but how does one go about retrieving the xml
I wish I knew what exactly does each item in this list, how it
How exactly does adding a random number to the end of an AJAX server
What exactly does SignedCookieJar do? And what is the difference from that and using
What exactly does putting extern C into C++ code do? For example: extern C
What exactly does a mobile need to be able to run JavaFX? Can it
What exactly does a finally block in exception handling perform?

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.