Storing a 2D Array in Android
Hello!
Im currently working with a project at school where i'm scraping some html into a 2D array (String[][] arr = new String[250][3];). But if i were to scrape everytime i start the app i would take about 2 minutes before the user could start using it.
So my question is:
Is there any way i could store this information in a File or somthing? ive looked at multiple examples on the net serializing objects etc, or using the .putString() function. but none of these methods seems to fit my needs.
Anyone know how i would proceed storing a array? it can be in any format, as long as it get stored and can be loaded up again at start..
Thank you!
Driiper :(party):
Re: Storing a 2D Array in Android
Why would serialising the array be a problem?
Re: Storing a 2D Array in Android
Quote:
Originally Posted by
Tolls
Why would serialising the array be a problem?
it's probably not a problem at all, just not sure on how i would do it :/
Pretty new to serializing overall.
Re: Storing a 2D Array in Android