Storing user's information in android app

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller

Post Reply
Posts: 3
Joined: Sat Dec 08, 2018 2:59 pm

Storing user's information in android app

Post by adrianyong » Fri Jan 11, 2019 8:14 am

If I want to store the username, password, email, phone num, gender, & birthdate to be used inside an Android application, what is the best way & how can I do it?
As Im still a beginner, i will like to have a guide to do it in details or a simple way of answer.
Am actually using this storing method for creating an android app for the registration part of an app.
Thxx :)

Posts: 450
Joined: Thu Sep 11, 2014 1:49 pm
Location: The Netherlands

Re: Storing user's information in android app

Post by mrcoollion » Fri Jan 11, 2019 8:38 am

Hello Adrian,

There are several options.
You can use a flat file
See: ... put-output

or you can store is in an array and save the array as a file. This is my personal favorite because it makes it easy to place and get the data from the file.
See: ... e-it-again

If you want to make it complex you can use a SQLite database.
see: ... e-database

Because you want you data in the file to be safe you can opt to encrypt the data by encrypting the file that contains it. You need to decrypt the file before you can use the file content.
For encryption and decryption of a file see:

Hope to have been of some help here.



Posts: 11497
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany

Re: Storing user's information in android app

Post by Klaus » Fri Jan 11, 2019 10:02 am

Hi all,

I moved this thread to the "Beginner" section, since this "feature" is already build-in (Hint, Hint!) 8)



Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”