public String [ ] getLocalizedResourceArray ( String namespace , String resourceId ) throws Exception { Class r = Class . forName ( namespace + "$string" ) ; Field f = r . getField ( resourceId ) ; return getCurrentActivity ( ) . getResources ( ) . getStringArray ( f . getInt ( f ) ) ; }
Returns a string array for a specified string - array resourceId in the specified namespace