String Storage and Retrieval in Android
Posted
by dweebsonduty
on Stack Overflow
See other posts from Stack Overflow
or by dweebsonduty
Published on 2010-05-29T00:44:02Z
Indexed on
2010/05/29
0:52 UTC
Read the original article
Hit count: 205
android
|data-structures
I have a program that has items with 3 attributes.
Name(String) : Count(String) : Amount(String)
Currently I am writing the database when someone is trying to access a section then reading from the database. The writing is taking too long.
So my question is how can I perhaps create a nested array where I can say if name = carrot then print carrot['count'] and carrot['amount'].
I am very new to Java so some sample code would be great. Or any other suggestions that you may have as far as tackling this issue.
© Stack Overflow or respective owner