On Sun, Aug 28, 2011 at 7:41 AM, LiTTle <[email protected]> wrote: > I am working in a project which is going to be at the android market. > I want to have good reviews and no uninstalls from the users. My > application has 17 categories. Each category has subcategories( from 5 > to 42 subcategory items). I used xml array file. The R file is updated > and I found this: > -each entry gets a hexadecimal number. > -first hexadecimal number is the variable which is first in > alphabetical order. > > So I decided to create a 'for' block to access every R variable, by > increasing the hexadecimal number. Is it possible this or R file > creates another variables during the runtime?
DO NOT DO THIS. EVER. You have no control over the actual R numbers. They will change on each build. You should be largely ignoring the contents of R.java. Whatever problem you think you are solving this way can be better solved in some other fashion. > For example instead of R.array.var1 I will use "0x7f040015". I repeat, for emphasis, DO NOT DO THIS. EVER. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training...At Your Office: http://commonsware.com/training -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

