Note that there are some explanatory texts on larger screens.

plurals
  1. POHow can I save form data to a database on the sdcard?
    primarykey
    data
    text
    <p>I have a "Customer Information" form in my application. I need the data filled in on this form to be saved into a "Transaction Record" file saved on the SD card. This will be a master list of transactions this app has completed. How can I save this data to a growing record?</p> <p>Below is an example of the form.</p> <pre><code>Name: Sue License: D1234567890 Address: 742 Evergreen Terrace State: XY Phone: 111-222-3344 </code></pre> <p>I need to save this in some kind of growing database...</p> <pre><code>| transaction | name | license | address | state | phone --------------------------------------------------------------------------------------- | 4322 | joe | D4657373888 | 2200 sudderthe road |WZ | 9543939124 | 4323 | kim | D0987655432 | 1st elbow street |KM | 5551234444 | 4324 | sue | D1234567890 | 742 evergreen terrace |XY | 1112223344 </code></pre> <p>This database will be accessed and edited by a few different areas of the application. So once I get this figured out I can accomplish a lot for the overall app.</p> <p>Eventually I have to get the app to upload this transaction record to our website...I take on that hurdle when it comes...</p> <p>I am using this code in the "Next" buttons onClick :</p> <pre><code>String custname = name.getText().toString(); String custlicense = license.getText().toString(); String custstate = state.getText().toString(); String custaddress = address.getText().toString(); String custcity = city.getText().toString(); String custzip = zip.getText().toString(); String custphone = phone.getText().toString(); String custemail = email.getText().toString(); String custdriver = driver.getText().toString(); </code></pre> <p>So I guess I just need to figure out how to save those variables to some kind of database.</p> <p>(I kind of use this place to help me figure out what it is i actually need to do...so as im writing this im starting to answer my own question. :P)</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload