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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T12:36:46+00:00 2026-05-22T12:36:46+00:00

I was able to download this form to my sdcard (from a given URL):

  • 0

I was able to download this form to my sdcard (from a given URL):
enter image description here

My app can access this form via the android web view. My question is, how to save it to a text file after a user filled data to the form? I want to save in the text file the data inputted by the user, for instance:

Address: User address here
City: User City
Province: User Province here
Zip: 4342343
Phone: 4534534534
What is your biggest regret in your life? None.

will be saved to the text file…
I’m kinda new to java and android dev.

  • 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-22T12:36:47+00:00Added an answer on May 22, 2026 at 12:36 pm

    If you want to store the data locally, you should implement this form as a widget-based Activity rather than using a WebView.

    If these values should be processed by a server, submit it like any other HTML form and let the server pick the values from the HTTP POST request.

    EDIT

    It is possible to attach a WebViewClient to the WebView, to allow methods in the WebView‘s Activity to be called from JavaScript. See sample code.

    Your HTML file would need to contain JavaScript that runs when the “Submit” button is clicked, collects the contents of the form and then passes it to the WebViewClient.

    (There might be an even easier way, see: Android Calling JavaScript functions in WebView)

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

Sidebar

Related Questions

For one of the user is not able to download application from Android Play
Hi, I'm not able to find DroidEx.jar anywhere. Can anyone help me download this
Not able to download artifacts from central maven repository. <mirrors> <!-- mirror | Specifies
I want to be able to download a URL in C++. Something as simple
I want to be able to restrict access of a download only when someone
I'd like to be able to invoke a file download from rails using link
I am trying to download a file given a URL. However, the file is
I have a web site which I download 2-3 MB of raw data from
I'm working on the app which should download some data form server (done) and
I'm trying to download http://www.downway1.com/dota/eng/DotA%20Allstars%20v6.67.w3x this file. But it's not able to download. It's

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.