java - Which file format should I use for storing short[] -
i have long short[]
, multidimensional, want store in file in android app. @ first tried store these arrays in java class, returned "code large" error.
therefore have find new file format store these arrays in (pre compile), values can stored short
s save space.
which file format recommend, , how go reading it, application?
1) if it's repeated data - use sqlite http://developer.android.com/training/basics/data-storage/databases.html
2) if still prefer file use dataoutputstream http://developer.android.com/reference/java/io/dataoutputstream.html
3) can serialize array , save file how serialize object , save file in android?
Comments
Post a Comment