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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T21:21:43+00:00 2026-06-17T21:21:43+00:00

Is there a way to save a file from the Java side so that

  • 0

Is there a way to save a file from the Java side so that it is accessible via a web request (AJAX, img/script src, link href, etc)?

I can write files via openFileOutput, is that directory accessible via the JS app?

I know I can write files to external media and access those via the File api, but that’s not what I’m looking for (though will have to revert to this if necessary).

The usage is writing images to a cache via a plugin and just loading those images by a normal img src, though would like to use this for other things.

  • 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-17T21:21:45+00:00Added an answer on June 17, 2026 at 9:21 pm

    Yes, PhoneGap apps have access to this directory. The path to that directory would be:

    file:///data/data/{package name}/{file name}
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a way to use Zoho's file converter from Java to convert files?
Is there a way to save the AOF file on Amazon S3 instead of
Is there a way to make a macro to save a file with the
Is there a way to upload a file, save it to a Stream, this
Is there any way to save complete web-page using WebDriver? Currently I do getPageSource()
Is there a way to save a static password in a way that it's
Is there a way to save a configuration so that a hook may work
Is there a way to programmatically download a single file from a remote Mercurial
Is there a way how to programmaticly download the file from the server (user
I want to know if there is way to call javascript from java on

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.