Friday, January 3, 2014

Reference a String Array from a Resource File


Use the following code to reference a string array created in a resource file:

String[] some_array = getResources().getStringArray(R.array.your_string_array)

Refer to :  http://stackoverflow.com/a/4161366

No comments:

Post a Comment