This time I want to get an array-list element from strings.xml and convert it to an array (String[], List or whatever can later be used to read the elements or the total size). I am trying with List<String> MathFormulas = Arrays.asList(getResources().getStringArray(R.id.StringArray)); but the application crashes, so this must be the wrong way of doing it. Some help? Thanks!
-
04-23 17:10:30.101: E/AndroidRuntime(1516): Caused by: android.content.res.Resources$NotFoundException: String array resource ID #0x7f08000fali– ali2012-04-23 17:39:46 +00:00Commented Apr 23, 2012 at 17:39
-
2Please add an update to your question instead of posting it as a comment.Philipp Reichart– Philipp Reichart2012-04-23 17:40:44 +00:00Commented Apr 23, 2012 at 17:40
Add a comment
|