I am trying to create an Android dictionary-like application and get slow performance on retrieving the data. Currently, each dictionary entry is stored in a text file (inside Android assets), each file is named as number, so that I can use index to locate, open and read the file’s content (simply read out a single line of String). When using ListView to render the output data and reading the file’s content inside getView() method, it takes about 3 second to retrieve 10 entries. I just wonder if there are another approaches (using SQLLite, ???) for retrieving and rendering these entries faster. Any recommendations are appreciated.
I am trying to create an Android dictionary-like application and get slow performance on
Share
I would suggest you to use
SQLiteAdvantages
Encryptusing
AESor similar algorithm it, then it will become moresecure!)
ListViewYou can see a complete article here