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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T00:10:17+00:00 2026-05-20T00:10:17+00:00

I want to add x Files to a folder resources in Eclipse Now I

  • 0

I want to add x Files to a folder resources in Eclipse

Now I want to get a List with the unknown number and names of Files in the specified Folder like:

File directory = new File("resources/");

String[] dirArray = directory.list();

Where do I put the Files in Eclipse and where are they once my app is started?
I can get the directory Info for / but that’s about it.

Thanks in advance!
Taber

  • 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-20T00:10:17+00:00Added an answer on May 20, 2026 at 12:10 am

    I don’t think you can add resources to an app after you create it. You need to store them using other methods. For example using externalStorage, or the hidden storage available where the app was installed.

    Edit: The Data storage developer doc is located here. It gives you a great explanation of how you might go about storing your data. Since you are using images, some methods won’t be appropriate for you.

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

Sidebar

Related Questions

I have a set of .php files in a folder, I want to add
I want to access all the files in a folder to add to a
I want to add list of mp3 files to iTunes via a applescript. The
I have a list of files of which I want to add a line
I want to setup symlinks and add some lines to system configuration files, I
i want to add file(photo) to fileupload control in the c#(code behind) thanks
I want to add dll file into my project. But i don't know where
I want to add an XML file, containing sensitive data, to my application. I
I want to add a external third party jar file in the inbuilt android
I want to add two columns to a file with ~10,000 columns. I want

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.