Collect variables from in an array
<p>I want to collect the global ids variables from(R.id) class in an array , how can I do this ?</p>

<pre><code>public static final class id {
        public static final int cb_adroite=0x7f0d0058;
        public static final int cb_apple=0x7f0d0055;
        public static final int cb_banana=0x7f0d0057;
        public static final int cb_pear=0x7f0d0056;
     }
</code></pre>