I want to store an array of strings internal in android but I want to do that in a separate class, not inactivity. How can I do that? And then retrieve it?
thanks
how I want to work whit it.I have 2 methods addFoo(String s){} and String[] GetAllFoo(){}
Inactivity I need to add some strings and get the whole array
Looks like this thread explains how you should solve your problem
Android Sharepreferences and array