Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 73: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 74: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 75: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 76: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 77: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 78: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
// Necessary Imports: import java.lang.reflect.Field; // End of imports /** * Retrieve all IDs of the Resource-Classes * (like R.drawable.class) you pass to this function. * @param aClass : Class from R.XXX, like:
* * @return array of all IDs of the R.xyz.class passed to this function. * @throws IllegalArgumentException on bad class passed. *

* Example-Call:
* int[] allDrawableIDs = getAllResourceIDs(R.drawable.class);
* or
* int[] allStringIDs = getAllResourceIDs(R.string.class); */ private int[] getAllResourceIDs(Class aClass) throws IllegalArgumentException{ /* Get all Fields from the class passed. */ Field[] IDFields = aClass.getFields(); /* int-Array capable of storing all ids. */ int[] IDs = new int[IDFields.length]; try { /* Loop through all Fields and store id to array. */ for(int i = 0; i < IDFields.length; i++){ /* All fields within the subclasses of R * are Integers, so we need no type-check here. */ // pass 'null' because class is static IDs[i] = IDFields[i].getInt(null); } } catch (Exception e) { /* Exception will only occur on bad class submitted. */ throw new IllegalArgumentException(); } return IDs; }