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)
/** * Determines the Name of a Resource, * by passing the R.xyz.class and * the resourceID of the class to it. * @param aClass : like R.drawable.class * @param resourceID : like R.drawable.icon * @throws IllegalArgumentException if field is not found. * @throws NullPointerException if aClass-Parameter is null. *

* Example-Call:
* String resName = getResourceNameFromClassByID(R.drawable.class, R.drawable.icon);
* Then resName would be 'icon'.*/ public String getResourceNameFromClassByID(Class aClass, int resourceID) throws IllegalArgumentException{ /* Get all Fields from the class passed. */ Field[] drawableFields = aClass.getFields(); /* Loop through all Fields. */ for(Field f : drawableFields){ try { /* All fields within the subclasses of R * are Integers, so we need no type-check here. */ /* Compare to the resourceID we are searching. */ if (resourceID == f.getInt(null)) return f.getName(); // Return the name. } catch (Exception e) { e.printStackTrace(); } } /* Throw Exception if nothing was found*/ throw new IllegalArgumentException(); }