Saving text data in android app as numerous listviews
-
31-05-2021 - |
質問
I want to save some text data entered by the user as listviews..but still have no idea how to do that..please help!
解決
well, couple of ways to do that.
- Save data as raw text into a file http://developer.android.com/reference/java/io/FileWriter.html
- Create data objects and serialize them into a binary file.
- Store data into database (might be the best option, depends on what you are trying to do).
http://developer.android.com/guide/topics/data/data-storage.html
can you explain more what your application does, then there might be a accurate solution to your confusion. Also try posting some code, that'll convince people that you have done some work and stuck into unknown territory.
所属していません StackOverflow