Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I am making an inventory system. I need to make backup of database file which is ms access database file. I need to make backup frequently so that data could be preserved. Please give me some information on how will I make backup and also guide me to where to store it as backup file.
Thanks in anticipation.
Backing up an Access databse is just making a copy of its .mdb file (and I suggest you store more than one copy - for example 10 last copies). Usual filesystem functions should work. As to where store the backups... it's up to you. How would we know?
Click Microsoft office button -> Manage-> Back Up Database -> Enter backup database name in File Dialog -> Save
http://databases.about.com/od/tutorials/ht/backup_access.htm
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I am creating a game app where you need the ability to be able to create profiles for other players and store them on your phone. I have been looking around for help, but I can't seem to find any tutorial or help for this. Does anyone know which aspect of java I need to research and learn about? I have seen that it might be to do with App-specific files but I'm not sure if that is the right thing.
You can store user information in files (XML / JSON format). You can use the database too - Android supports SQLite (SQLlite database is stored as single file). Android creates files in private folder, other applications cannot access them.
More informations about files:
https://developer.android.com/training/data-storage
Example of usage of SQLite:
https://developer.android.com/training/data-storage/sqlite
Remember not to store user sensitive data in plaintext.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I want to create an application.
My app is a book and I created a SQLite database for my data as "mybook.db" that is 3.5 MB in size.
I tested my app and all activity works good!
Now I want to publish it on the Play store.
I used In App Billing for selling my content to premium users, but I realized that my database is available on "./data/data/myapp/database"
and also in the asset folder of apk package, and anyone can copy and use it! :(
Now what I can do to save my data?
is it possible to convert sqlite to android class?
is it possible to encode data?
How I can save relation between may data?
Please help me...
----------- Edit ------------
i don't want use SQLCipher !
is there any way to use another data structure for saving data?
You could encrypt the data before saving to database and then decrypt when reading it back in. Here is a SO question/answer on how to do it.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I have this array
String[][] someArrayOfData={{"there","is"},{"alot","of data here"}};
I want to be able to save this array so I can load and access it the next time I run the program.
I dont mind having to use just a String[] as well. I have tried to write it to a notepad file but that is just a major irritation, is it possible to store variables externally to avoid the hassle of writing to multiple notepad files or using delineators?
There are multiple possibilities. In all cases this is called persistence.
Store to file
Store to file
Store to database
Java DB tutorial
Send it somewhere
Simple REST web service and client
In principle 3 is not persistence, but it is a way to get the data out of the volatile memory.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am creating a program that searches a folder and catalogs all the files it finds in a database. I know how to create a localhost database (or one hosted on a web) and connect to that. But that would require anyone who I give this app to, to have set up their own database.
I would like to be able to have a specific database created for only this application, that lives in the same root folder with the application and can be moved from computer to computer (preferably MySQL). Is this possible?
Turns out what I need is an Embedded database (Apache Derby, SQLite). Thanks guys in the comments!
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am attempting to build a database that will allow a user to upload their music to be accessed by someone else/third party. How would I create it so that the music can be uploaded to a database but providing a path for it to be accessed from where it is stored?
As in A Band upload “Song” and it is then streamed by A Fan.
If it can't upload to a database I need to upload it to a server.
We are building the back end in Java and the front end in HTML.
We are also using Glassfish and Netbeans for writing the code.
You can store files in a BLOB field in a database for example. Another possibility would be to store them directly on the file system, but it has its problems (such as the lack of metadata).
Then you'll need to figure how you want to map each file, for example http://myserver.com/Artist/Album/Songname or http://myserver.com/listen?uniqueid=743.
File upload servlets are available all over the web, so that shouldn't be a problem. The rest is up to your programming skills (this might be too big of a project for you).
Then you'll just need to connect those things together, and that's the part where you start to program (or hit the Google hard).