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

  • Home
  • SEARCH
  • 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 7177001
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T16:37:19+00:00 2026-05-28T16:37:19+00:00

I am starting a sample Android application and one of the things I need

  • 0

I am starting a sample Android application and one of the things I need to have are two files stored with the application at install time. At runtime the app should be able to read from and write to those files.

It doesn’t seem that much of a task but I’ve read through various instructions (incl developer.android.com, O’Reilly Learning Android and some similar questions here) and never got the final clue that lead to answer my question.

The files are small enough (100kb) to allow being installed with the .apk file which as far as I understood leads to being stored at data/data/packagename. In order to put the files there during install the simple solution I found was adding the files to the res/raw folder in my Eclipse project. I did so but wasn’t able to find the files when I tested the app with the emulator and DDMS.

I am sure there is a major piece of tutorial or information I missed, if so please whack it right into my face. Otherwise I’d appreciate any help you can offer.

  • 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-28T16:37:20+00:00Added an answer on May 28, 2026 at 4:37 pm

    Try this tutorial. It shows how to get InputStream from any file, that a stored in raw folder.

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

Sidebar

Related Questions

I'm just starting with android development and have written an application to show details
First things, first, I'm just starting with Android Application Development and would like to
I have an Android project where I need to build a client app to
Can anybody share the sample code to how to launch android application upon starting/booting
I'm a .NET developer starting to dig into an android application. One thing that
Probably a really simple one this - I'm starting out with C# and need
I'm using eclipse, and I have two android projects which have different topics. And
I have a couple of simple tests, like assertNotNull(mActivity); (I'm reading M.D.Torres Android Application
I'm just starting to dive into some basic Android development and have been experimenting
I'm trying to run one of the Android sample apps in Eclipse. I've been

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.